arago.conf, packagegroup-*-gst, glsdk-example: simplify gstreamer dependencies
PATCH 1/1 arago.conf, packagegroup-*-gst, glsdk-example: simplify gstreamer dependencies
From: Denys Dmytriyenko <[email protected]>
Since gstreamer 0.10 is now completely gone, no need to support both 0.10 and 1.x
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/conf/distro/arago.conf | 5 ---- .../packagegroup-arago-gst-sdk-target.bb | 18 ++++----------- .../packagegroups/packagegroup-arago-gst.bb | 27 ++++++---------------- .../glsdk-example-apps/glsdk-example-apps.bb | 2 +- 4 files changed, 13 insertions(+), 39 deletions(-)
meta-arago-distro/conf/distro/arago.conf +0 -5
@@ -35,8 +35,6 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED = "bluez5" # Set additional distro features DISTRO_FEATURES += "pam wayland opengl" -# Set preferred gstreamer version (0.10 vs 1.0) -GST_PROVIDER ?= "1.0" # Set preferred Qt version QT_PROVIDER ?= "qt5"
@@ -48,9 +46,6 @@ PACKAGECONFIG_pn-weston = "egl kms launch libinput" PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb" PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples" -# Configure gstreamer dependency based on GST_PROVIDER -PACKAGECONFIG_pn-qtwebkit = "${@base_conditional('GST_PROVIDER', '0.10', 'gstreamer010', 'gstreamer', d)} qtlocation qtmultimedia qtsensors" - # Add gstreamer in package configuration to enable video PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +5 -13
@@ -1,20 +1,12 @@ DESCRIPTION = "Task to build and install header and libs in sdk" LICENSE = "MIT" -PR = "r12" +PR = "r13" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup -GST_010_DEPS = " \ - gstreamer-dev \ - gst-plugins-base-dev \ - gst-plugins-good-dev \ - gst-plugins-bad-dev \ - gst-ffmpeg-dev \ -" - -GST_1X_DEPS = " \ +GSTREAMER_DEPS = " \ gstreamer1.0-dev \ gstreamer1.0-plugins-base-dev \ gstreamer1.0-plugins-good-dev \
@@ -22,14 +14,14 @@ GST_1X_DEPS = " \ gstreamer1.0-libav-dev \ " -GST_1X_DEPS_append_dra7xx = " \ +GSTREAMER_DEPS_append_dra7xx = " \ gstreamer1.0-plugins-hevc-dev \ " -GST_1X_DEPS_append_keystone = " \ +GSTREAMER_DEPS_append_keystone = " \ gstreamer1.0-plugins-hevc-dev \ " RDEPENDS_${PN} = " \ - ${@base_conditional('GST_PROVIDER', '0.10', "${GST_010_DEPS}", "${GST_1X_DEPS}", d)} \ + ${GSTREAMER_DEPS} \ "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb +7 -20
@@ -1,23 +1,12 @@ DESCRIPTION = "Task to add gstreamer and gstreamer plugins" LICENSE = "MIT" -PR = "r15" +PR = "r16" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup -GST_010_DEPS = " \ - gstreamer \ - gst-plugins-base \ - gst-plugins-good \ - gst-plugins-bad \ - gst-plugins-base-meta \ - gst-plugins-good-meta \ - gst-plugins-bad-meta \ - gst-ffmpeg \ -" - -GST_1X_DEPS = " \ +GSTREAMER_DEPS = " \ gstreamer1.0 \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good \
@@ -28,21 +17,19 @@ GST_1X_DEPS = " \ gstreamer1.0-libav \ " -GST_1X_DEPS_append_dra7xx = " \ +GSTREAMER_DEPS_append_dra7xx = " \ gstreamer1.0-plugins-hevc \ " -GST_1X_DEPS_append_keystone = " \ +GSTREAMER_DEPS_append_keystone = " \ gstreamer1.0-plugins-hevc \ " -GST_PLUGINS_PREFIX = "${@base_conditional('GST_PROVIDER', '0.10', 'gst-plugins', 'gstreamer1.0-plugins', d)}" - GSTREAMER_ACCEL_MM = "" -GSTREAMER_ACCEL_MM_omap-a15 = "${@base_contains('MACHINE_FEATURES', 'mmip', "${GST_PLUGINS_PREFIX}-ducati", '', d)}" -GSTREAMER_ACCEL_MM_append_dra7xx = "${@base_contains('MACHINE_FEATURES', 'mmip', " ${GST_PLUGINS_PREFIX}-vpe", '', d)}" +GSTREAMER_ACCEL_MM_omap-a15 = "${@base_contains('MACHINE_FEATURES', 'mmip', "gstreamer1.0-plugins-ducati", '', d)}" +GSTREAMER_ACCEL_MM_append_dra7xx = "${@base_contains('MACHINE_FEATURES', 'mmip', " gstreamer1.0-plugins-vpe", '', d)}" RDEPENDS_${PN} = "\ - ${@base_conditional('GST_PROVIDER', '0.10', "${GST_010_DEPS}", "${GST_1X_DEPS}", d)} \ + ${GSTREAMER_DEPS} \ ${GSTREAMER_ACCEL_MM} \ "
meta-arago-extras/recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://git.ti.com/glsdk" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=10a9abb9c5bb19edd83a8cf66eef7148" -DEPENDS = "${@base_conditional('GST_PROVIDER', '0.10', 'gstreamer', 'gstreamer1.0', d)} libdrm ti-ipc" +DEPENDS = "gstreamer1.0 libdrm ti-ipc" COMPATIBLE_MACHINE = "dra7xx"
Signature · 1 line
2.2.0