summaryrefslogtreecommitdiff
path: root/recipes-multimedia/phytec-gstreamer-examples/phytec-gstreamer-examples-imx8m_1.2.bb
diff options
context:
space:
mode:
authorJanine Hagemann <j.hagemann@phytec.de>2019-11-27 09:12:13 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-11-28 17:47:12 +0100
commit8543105031ec7fbe1f03228a7fd7d85151c8e9af (patch)
treec1d6cd99c6099ff8c9e8075228f2c852a957e821 /recipes-multimedia/phytec-gstreamer-examples/phytec-gstreamer-examples-imx8m_1.2.bb
parentacf3c07b352d17b77b3fbd4169bb1f8453b20c37 (diff)
downloadmeta-yogurt-8543105031ec7fbe1f03228a7fd7d85151c8e9af.tar.bz2
meta-yogurt-8543105031ec7fbe1f03228a7fd7d85151c8e9af.zip
recipes-multimedia: Update phytec-gstreamer-examples-imx8m
Signed-off-by: Janine Hagemann <j.hagemann@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Diffstat (limited to 'recipes-multimedia/phytec-gstreamer-examples/phytec-gstreamer-examples-imx8m_1.2.bb')
-rw-r--r--recipes-multimedia/phytec-gstreamer-examples/phytec-gstreamer-examples-imx8m_1.2.bb67
1 files changed, 67 insertions, 0 deletions
diff --git a/recipes-multimedia/phytec-gstreamer-examples/phytec-gstreamer-examples-imx8m_1.2.bb b/recipes-multimedia/phytec-gstreamer-examples/phytec-gstreamer-examples-imx8m_1.2.bb
new file mode 100644
index 0000000..3bceca9
--- /dev/null
+++ b/recipes-multimedia/phytec-gstreamer-examples/phytec-gstreamer-examples-imx8m_1.2.bb
@@ -0,0 +1,67 @@
+DESCRIPTION = "Phytec Gstreamer examples"
+HOMEPAGE = "http://www.phytec.de"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SECTION = "multimedia"
+
+PR = "r0"
+
+# Archive created via
+# $ unzip gstreamer_examples.zip
+# $ mv gstreamer_examples phytec-gstreamer-examples-imx8m-2.0
+# $ cp phytec-gstreamer-examples-imx8m-1.0/COPYING.MIT phytec-gstreamer-examples-imx8m-2.0/
+# $ find phytec-gstreamer-examples-imx8m-2.0/ -exec "touch" "{}" ";"
+# $ find phytec-gstreamer-examples-imx8m-2.0/ -name "*.sh" -exec "chmod" "+x" "{}" ";"
+# $ tar --owner=root --group=root -czf phytec-gstreamer-examples-imx8m-2.0.tar.gz \
+# phytec-gstreamer-examples-imx8m-2.0/
+
+SRC_URI = "ftp://ftp.phytec.de/pub/Software/Linux/Applications/${PN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "3528a68977faa58ec4d71bd428c0b5d2"
+SRC_URI[sha256sum] = "4178d7cf605d3de492cd0cdc1ef26c867c37632bb7bb17f0b72c559ea866667e"
+
+GSTREAMER_EXAMPLES_DIR = "${datadir}/phytec-gstreamer-examples"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+do_install() {
+ DESTDIR="${D}${GSTREAMER_EXAMPLES_DIR}"
+
+ for directory in `find -type d`; do
+ if [ ${directory} != "./patches" ]; then
+ install -d ${DESTDIR}/${directory}
+ fi
+ done
+
+ for text in `find -name '*.txt'`; do
+ install -m 0644 ${text} ${DESTDIR}/${text}
+ done
+
+ for scripts in `find -name '*.sh'`; do
+ install -m 0755 ${scripts} ${DESTDIR}/${scripts}
+ done
+
+ # Create link in home folder for old documentation
+ install -d ${D}/home/root
+ ln -s ${GSTREAMER_EXAMPLES_DIR} ${D}/home/root/gstreamer_examples
+}
+
+FILES_${PN} += " \
+ /home/root/ \
+ ${GSTREAMER_EXAMPLES_DIR} \
+"
+
+RDEPENDS_${PN} += " \
+ bash \
+ gst-plugin-i2c \
+ media-ctl \
+ v4l-utils \
+ gstreamer1.0 \
+ gstreamer1.0-plugins-good-multifile \
+ gstreamer1.0-plugins-good-video4linux2 \
+ gstreamer1.0-plugins-bad-fbdevsink \
+ gstreamer1.0-plugins-bad-bayer \
+ gstreamer1.0-plugins-good-jpeg \
+ gstreamer1.0-plugin-bayer2rgb-neon \
+"