diff options
| -rw-r--r-- | LICENSE | 1 | ||||
| -rw-r--r-- | conf/machine/include/imx-base.inc | 2 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch | 37 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gst-examples/gst-player.desktop | 10 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb | 38 |
5 files changed, 88 insertions, 0 deletions
| @@ -129,6 +129,7 @@ LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-o | |||
| 129 | LICENSE:libswscale = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" | 129 | LICENSE:libswscale = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}" |
| 130 | LICENSE_FLAGS = "commercial" | 130 | LICENSE_FLAGS = "commercial" |
| 131 | ./recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb: LICENSE = "LGPL-2.1-or-later" | 131 | ./recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb: LICENSE = "LGPL-2.1-or-later" |
| 132 | ./recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb: LICENSE = "LGPL-2.0-or-later" | ||
| 132 | ./recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.0.imx.bb: LICENSE_FLAGS = "commercial" | 133 | ./recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.0.imx.bb: LICENSE_FLAGS = "commercial" |
| 133 | LICENSE = "LGPL-2.1-or-later" | 134 | LICENSE = "LGPL-2.1-or-later" |
| 134 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb: LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | 135 | ./recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb: LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" |
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 3df72769a..44361c5c6 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -538,12 +538,14 @@ PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.24.7.imx" | |||
| 538 | 538 | ||
| 539 | # GStreamer copied recipes | 539 | # GStreamer copied recipes |
| 540 | PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.24.0.imx" | 540 | PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.24.0.imx" |
| 541 | PREFERRED_VERSION_gst-examples:mx8-nxp-bsp ??= "1.24.7.imx" | ||
| 541 | PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.24.0.imx" | 542 | PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.24.0.imx" |
| 542 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.24.0.imx" | 543 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.24.0.imx" |
| 543 | PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.24.0.imx" | 544 | PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.24.0.imx" |
| 544 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.24.0.imx" | 545 | PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.24.0.imx" |
| 545 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.24.0.imx" | 546 | PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.24.0.imx" |
| 546 | PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.24.0.imx" | 547 | PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.24.0.imx" |
| 548 | PREFERRED_VERSION_gst-examples:mx9-nxp-bsp ??= "1.24.7.imx" | ||
| 547 | PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.24.0.imx" | 549 | PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.24.0.imx" |
| 548 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.24.0.imx" | 550 | PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.24.0.imx" |
| 549 | PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.24.0.imx" | 551 | PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.24.0.imx" |
diff --git a/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch b/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch new file mode 100644 index 000000000..828c87dc9 --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From 7924016fce2d0b435891a335cdae52fc939c7e3b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
| 3 | Date: Thu, 17 Aug 2017 11:07:02 +0300 | ||
| 4 | Subject: [PATCH] Make player examples installable | ||
| 5 | |||
| 6 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
| 7 | Upstream-Status: Denied [Upstream considers these code examples, for now a least] | ||
| 8 | |||
| 9 | https://bugzilla.gnome.org/show_bug.cgi?id=777827 | ||
| 10 | |||
| 11 | --- | ||
| 12 | playback/player/gst-play/meson.build | 1 + | ||
| 13 | playback/player/gtk/meson.build | 1 + | ||
| 14 | 2 files changed, 2 insertions(+) | ||
| 15 | |||
| 16 | Index: gst-examples/playback/player/gst-play/meson.build | ||
| 17 | =================================================================== | ||
| 18 | --- gst-examples.orig/playback/player/gst-play/meson.build | ||
| 19 | +++ gst-examples/playback/player/gst-play/meson.build | ||
| 20 | @@ -2,5 +2,6 @@ executable('gst-play', | ||
| 21 | ['gst-play.c', | ||
| 22 | 'gst-play-kb.c', | ||
| 23 | 'gst-play-kb.h'], | ||
| 24 | + install: true, | ||
| 25 | dependencies : [gst_dep, dependency('gstreamer-play-1.0'), m_dep]) | ||
| 26 | |||
| 27 | Index: gst-examples/playback/player/gtk/meson.build | ||
| 28 | =================================================================== | ||
| 29 | --- gst-examples.orig/playback/player/gtk/meson.build | ||
| 30 | +++ gst-examples/playback/player/gtk/meson.build | ||
| 31 | @@ -20,5 +20,6 @@ if gtk_dep.found() | ||
| 32 | 'gtk-video-renderer.h', | ||
| 33 | 'gtk-video-renderer.c'], | ||
| 34 | c_args : extra_c_args, | ||
| 35 | + install: true, | ||
| 36 | dependencies : [gst_dep, gsttag_dep, gstplay_dep, gtk_dep, x11_dep]) | ||
| 37 | endif | ||
diff --git a/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop b/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop new file mode 100644 index 000000000..d165e5d91 --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-examples/gst-player.desktop | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=Media Player | ||
| 3 | Comment=Basic media player | ||
| 4 | Icon=video-player | ||
| 5 | TryExec=gtk-play | ||
| 6 | Exec=gtk-play | ||
| 7 | StartupNotify=true | ||
| 8 | Terminal=false | ||
| 9 | Type=Application | ||
| 10 | Categories=GTK;AudioVideo; | ||
diff --git a/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb new file mode 100644 index 000000000..3830846b3 --- /dev/null +++ b/recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | # This builds an older version which is compatible with the gstreamer NXP fork 1.24.7.imx, | ||
| 2 | # thus the version is appended with '.imx' | ||
| 3 | |||
| 4 | SUMMARY = "GStreamer examples (including gtk-play, gst-play)" | ||
| 5 | DESCRIPTION = "GStreamer example applications." | ||
| 6 | HOMEPAGE = "https://gitlab.freedesktop.org/gstreamer/gst-examples" | ||
| 7 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues" | ||
| 8 | LICENSE = "LGPL-2.0-or-later" | ||
| 9 | LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" | ||
| 10 | |||
| 11 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 json-glib glib-2.0-native" | ||
| 12 | |||
| 13 | SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.24 \ | ||
| 14 | file://0001-Make-player-examples-installable.patch \ | ||
| 15 | file://gst-player.desktop \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRCREV = "0f1e984e41ce8d6d0758265d35e8b10d5815fde2" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git/subprojects/gst-examples" | ||
| 21 | |||
| 22 | inherit meson pkgconfig features_check | ||
| 23 | |||
| 24 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | ||
| 25 | |||
| 26 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
| 27 | |||
| 28 | do_install:append() { | ||
| 29 | install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop | ||
| 30 | } | ||
| 31 | |||
| 32 | RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback" | ||
| 33 | RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \ | ||
| 34 | gstreamer1.0-plugins-good-meta \ | ||
| 35 | gstreamer1.0-plugins-bad-meta \ | ||
| 36 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \ | ||
| 37 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}" | ||
| 38 | RPROVIDES:${PN} += "gst-player gst-player-bin" | ||
