mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2 3/3] gst-bayer2rgb-neon: add package
Date: Tue, 2 Jun 2020 15:24:05 +0200	[thread overview]
Message-ID: <20200602132405.GM31789@pengutronix.de> (raw)
In-Reply-To: <20200601094941.22590-3-m.cichy@pengutronix.de>

On Mon, Jun 01, 2020 at 11:49:41AM +0200, Marian Cichy wrote:
> ---
>  configs/ptxconfig                         |  1 +
>  patches/gst-bayer2rgb-neon-0.3/autogen.sh |  1 +
>  rules/gst-bayer2rgb-neon.in               | 10 ++++
>  rules/gst-bayer2rgb-neon.make             | 56 +++++++++++++++++++++++
>  4 files changed, 68 insertions(+)
>  create mode 120000 patches/gst-bayer2rgb-neon-0.3/autogen.sh
>  create mode 100644 rules/gst-bayer2rgb-neon.in
>  create mode 100644 rules/gst-bayer2rgb-neon.make
> 
> diff --git a/configs/ptxconfig b/configs/ptxconfig
> index 16db79a0..d1e896ca 100644
> --- a/configs/ptxconfig
> +++ b/configs/ptxconfig

...

> @@ -13,6 +13,7 @@ PTXCONF_FIRMWARE_IMX=y
>  # PTXCONF_FIRMWARE_IMX_VPU_IMX6DL is not set
>  PTXCONF_FIRMWARE_IMX_VPU_IMX6Q=y
>  PTXCONF_FIX_SYSTEMD=y
> +# PTXCONF_GST_BAYER2RGB_NEON is not set
>  PTXCONF_MTD_HANDLING=y
>  PTXCONF_MTD_HANDLING_UDEV_RULES=y
>  PTXCONF_MTD_HANDLING_MTDDATA_ATTACH_CREATE_MOUNT=y
> diff --git a/patches/gst-bayer2rgb-neon-0.3/autogen.sh b/patches/gst-bayer2rgb-neon-0.3/autogen.sh
> new file mode 120000
> index 00000000..9f8a4cb7
> --- /dev/null
> +++ b/patches/gst-bayer2rgb-neon-0.3/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file
> diff --git a/rules/gst-bayer2rgb-neon.in b/rules/gst-bayer2rgb-neon.in
> new file mode 100644
> index 00000000..653a65b5
> --- /dev/null
> +++ b/rules/gst-bayer2rgb-neon.in
> @@ -0,0 +1,10 @@
> +## SECTION=multimedia_gstreamer1
> +
> +config GST_BAYER2RGB_NEON
> +	tristate
> +	prompt "gst-bayer2rgb-neon"
> +	select BAYER2RGB3
> +	select GSTREAMER1
> +	select GST_PLUGINS_BASE1
> +	help
> +	  Inofficial Gstreamer-plugin that utilizes NEON-extension to convert video/x-bayer to RGB.

Break this line.

Michael

> diff --git a/rules/gst-bayer2rgb-neon.make b/rules/gst-bayer2rgb-neon.make
> new file mode 100644
> index 00000000..eea13ca7
> --- /dev/null
> +++ b/rules/gst-bayer2rgb-neon.make
> @@ -0,0 +1,56 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Marian Cichy <m.cichy@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_GST_BAYER2RGB_NEON) += gst-bayer2rgb-neon
> +
> +#
> +# Paths and names
> +#
> +GST_BAYER2RGB_NEON_VERSION	:= 0.3
> +GST_BAYER2RGB_NEON_MD5		:= 73f05f8504e29c03d6b1164ee37b4fb9
> +GST_BAYER2RGB_NEON		:= gst-bayer2rgb-neon-$(GST_BAYER2RGB_NEON_VERSION)
> +GST_BAYER2RGB_NEON_SUFFIX	:= tar.bz2
> +GST_BAYER2RGB_NEON_URL		:= https://git.phytec.de/gst-bayer2rgb-neon/snapshot/$(GST_BAYER2RGB_NEON).$(GST_BAYER2RGB_NEON_SUFFIX)
> +GST_BAYER2RGB_NEON_SOURCE	:= $(SRCDIR)/$(GST_BAYER2RGB_NEON).$(GST_BAYER2RGB_NEON_SUFFIX)
> +GST_BAYER2RGB_NEON_DIR		:= $(BUILDDIR)/$(GST_BAYER2RGB_NEON)
> +GST_BAYER2RGB_NEON_LICENSE	:= GPL-3.0-only
> +GST_BAYER2RGB_NEON_LICENSE_FILES:= file://COPYING;md5sum=d32239bcb673463ab874e80d47fae504
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +GST_BAYER2RGB_NEON_CONF_ENV	:= $(CROSS_ENV)
> +
> +GST_BAYER2RGB_NEON_CONF_TOOL	:= autoconf
> +GST_BAYER2RGB_NEON_CONF_OPT	:= \
> +	$(CROSS_AUTOCONF_USR) \
> +	--with-plugindir=/usr/lib/gstreamer-1.0
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/gst-bayer2rgb-neon.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, gst-bayer2rgb-neon)
> +	@$(call install_fixup, gst-bayer2rgb-neon,PRIORITY,optional)
> +	@$(call install_fixup, gst-bayer2rgb-neon,SECTION,base)
> +	@$(call install_fixup, gst-bayer2rgb-neon,AUTHOR,"Marian Cichy <m.cichy@pengutronix.de>")
> +	@$(call install_fixup, gst-bayer2rgb-neon,DESCRIPTION,missing)
> +
> +	@$(call install_lib, gst-bayer2rgb-neon, 0, 0, 644, gstreamer-1.0/gstbayer2rgbneon)
> +	@$(call install_finish, gst-bayer2rgb-neon)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2020-06-02 13:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01  9:49 [ptxdist] [PATCH v2 1/3] host-gengetopt: " Marian Cichy
2020-06-01  9:49 ` [ptxdist] [PATCH v2 2/3] bayer2rgb3: " Marian Cichy
2020-06-02 13:22   ` Michael Olbrich
2020-06-01  9:49 ` [ptxdist] [PATCH v2 3/3] gst-bayer2rgb-neon: " Marian Cichy
2020-06-02 13:24   ` Michael Olbrich [this message]
2020-06-02 13:18 ` [ptxdist] [PATCH v2 1/3] host-gengetopt: " Michael Olbrich
2020-06-03  8:30   ` Marian Cichy
2020-06-03 15:19     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200602132405.GM31789@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox