--- 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. 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.ci...@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.ci...@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-requ...@pengutronix.de