mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marian Cichy <m.cichy@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Marian Cichy <m.cichy@pengutronix.de>
Subject: [ptxdist] [PATCH 3/3] gst-bayer2rgb-neon: add package
Date: Tue, 12 May 2020 18:32:40 +0200	[thread overview]
Message-ID: <20200512163240.7797-3-m.cichy@pengutronix.de> (raw)
In-Reply-To: <20200512163240.7797-1-m.cichy@pengutronix.de>

---
 patches/gst-bayer2rgb-neon-0.3/autogen.sh |  1 +
 rules/gst-bayer2rgb-neon.in               | 10 ++++
 rules/gst-bayer2rgb-neon.make             | 56 +++++++++++++++++++++++
 3 files changed, 67 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/patches/gst-bayer2rgb-neon-0.3/autogen.sh b/patches/gst-bayer2rgb-neon-0.3/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /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 000000000..653a65b53
--- /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.
diff --git a/rules/gst-bayer2rgb-neon.make b/rules/gst-bayer2rgb-neon.make
new file mode 100644
index 000000000..fcb518f23
--- /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
+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

      parent reply	other threads:[~2020-05-12 16:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 16:32 [ptxdist] [PATCH 1/3] host-gengetopt: " Marian Cichy
2020-05-12 16:32 ` [ptxdist] [PATCH 2/3] bayer2rgb3: " Marian Cichy
2020-05-12 17:42   ` Lucas Stach
2020-05-29  9:01     ` Michael Olbrich
2020-05-12 16:32 ` Marian Cichy [this message]

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=20200512163240.7797-3-m.cichy@pengutronix.de \
    --to=m.cichy@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