mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00
Merge pull request #2285 from MaxKrummenacher/master
Some checks are pending
Update LICENSE file / update-license (push) Waiting to run
Some checks are pending
Update LICENSE file / update-license (push) Waiting to run
gst-examples: import from oe-core and downgrade to 1.24.7
This commit is contained in:
commit
dadfdbca18
1
LICENSE
1
LICENSE
|
@ -129,6 +129,7 @@ LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-o
|
|||
LICENSE:libswscale = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPL-2.0-or-later', 'LGPL-2.1-or-later', d)}"
|
||||
LICENSE_FLAGS = "commercial"
|
||||
./recipes-multimedia/gstreamer/gst-devtools_1.22.5.imx.bb: LICENSE = "LGPL-2.1-or-later"
|
||||
./recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb: LICENSE = "LGPL-2.0-or-later"
|
||||
./recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.0.imx.bb: LICENSE_FLAGS = "commercial"
|
||||
LICENSE = "LGPL-2.1-or-later"
|
||||
./recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.7.imx.bb: LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later"
|
||||
|
|
|
@ -538,12 +538,14 @@ PREFERRED_VERSION_gstreamer1.0-plugins-good:mx9-nxp-bsp ??= "1.24.7.imx"
|
|||
|
||||
# GStreamer copied recipes
|
||||
PREFERRED_VERSION_gst-devtools:mx8-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gst-examples:mx8-nxp-bsp ??= "1.24.7.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-python:mx8-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-vaapi:mx8-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gst-devtools:mx9-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gst-examples:mx9-nxp-bsp ??= "1.24.7.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-libav:mx9-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx9-nxp-bsp ??= "1.24.0.imx"
|
||||
PREFERRED_VERSION_gstreamer1.0-python:mx9-nxp-bsp ??= "1.24.0.imx"
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
From 7924016fce2d0b435891a335cdae52fc939c7e3b Mon Sep 17 00:00:00 2001
|
||||
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
Date: Thu, 17 Aug 2017 11:07:02 +0300
|
||||
Subject: [PATCH] Make player examples installable
|
||||
|
||||
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
Upstream-Status: Denied [Upstream considers these code examples, for now a least]
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=777827
|
||||
|
||||
---
|
||||
playback/player/gst-play/meson.build | 1 +
|
||||
playback/player/gtk/meson.build | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
Index: gst-examples/playback/player/gst-play/meson.build
|
||||
===================================================================
|
||||
--- gst-examples.orig/playback/player/gst-play/meson.build
|
||||
+++ gst-examples/playback/player/gst-play/meson.build
|
||||
@@ -2,5 +2,6 @@ executable('gst-play',
|
||||
['gst-play.c',
|
||||
'gst-play-kb.c',
|
||||
'gst-play-kb.h'],
|
||||
+ install: true,
|
||||
dependencies : [gst_dep, dependency('gstreamer-play-1.0'), m_dep])
|
||||
|
||||
Index: gst-examples/playback/player/gtk/meson.build
|
||||
===================================================================
|
||||
--- gst-examples.orig/playback/player/gtk/meson.build
|
||||
+++ gst-examples/playback/player/gtk/meson.build
|
||||
@@ -20,5 +20,6 @@ if gtk_dep.found()
|
||||
'gtk-video-renderer.h',
|
||||
'gtk-video-renderer.c'],
|
||||
c_args : extra_c_args,
|
||||
+ install: true,
|
||||
dependencies : [gst_dep, gsttag_dep, gstplay_dep, gtk_dep, x11_dep])
|
||||
endif
|
10
recipes-multimedia/gstreamer/gst-examples/gst-player.desktop
Normal file
10
recipes-multimedia/gstreamer/gst-examples/gst-player.desktop
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Name=Media Player
|
||||
Comment=Basic media player
|
||||
Icon=video-player
|
||||
TryExec=gtk-play
|
||||
Exec=gtk-play
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GTK;AudioVideo;
|
38
recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb
Normal file
38
recipes-multimedia/gstreamer/gst-examples_1.24.7.imx.bb
Normal file
|
@ -0,0 +1,38 @@
|
|||
# This builds an older version which is compatible with the gstreamer NXP fork 1.24.7.imx,
|
||||
# thus the version is appended with '.imx'
|
||||
|
||||
SUMMARY = "GStreamer examples (including gtk-play, gst-play)"
|
||||
DESCRIPTION = "GStreamer example applications."
|
||||
HOMEPAGE = "https://gitlab.freedesktop.org/gstreamer/gst-examples"
|
||||
BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues"
|
||||
LICENSE = "LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9"
|
||||
|
||||
DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 json-glib glib-2.0-native"
|
||||
|
||||
SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.24 \
|
||||
file://0001-Make-player-examples-installable.patch \
|
||||
file://gst-player.desktop \
|
||||
"
|
||||
|
||||
SRCREV = "0f1e984e41ce8d6d0758265d35e8b10d5815fde2"
|
||||
|
||||
S = "${WORKDIR}/git/subprojects/gst-examples"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
do_install:append() {
|
||||
install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback"
|
||||
RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \
|
||||
gstreamer1.0-plugins-good-meta \
|
||||
gstreamer1.0-plugins-bad-meta \
|
||||
${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \
|
||||
${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"
|
||||
RPROVIDES:${PN} += "gst-player gst-player-bin"
|
Loading…
Reference in New Issue
Block a user