summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-01-18 19:12:33 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:42 +0000
commit255bfcbcf15e8044f1ff3a5594fbce31be6a2df1 (patch)
treee87c59edbc9a5638a6b525b7d08dec6f5b5e8760
parent2dfe09c120881ae65e55ceee13ce319cd6225330 (diff)
downloadopenembedded-core-255bfcbcf15e8044f1ff3a5594fbce31be6a2df1.tar.gz
openembedded-core-255bfcbcf15e8044f1ff3a5594fbce31be6a2df1.tar.bz2
openembedded-core-255bfcbcf15e8044f1ff3a5594fbce31be6a2df1.zip
gstreamer1.0-plugins.inc: convert GSTREAMER_1_0_DEBUG to a PACKAGECONFIG
gstreamer1.0.inc has been updated to contol debug via a PACKAGECONFIG option, so apply the same change to gstreamer1.0-plugins.inc as well. Control valgrind support via a PACKAGECONFIG option too. http://git.openembedded.org/openembedded-core/commit/?id=81636555fa7f18407efc172c0d5b9f466b2d4014 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
index d8532ac62d..a552653d5f 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
@@ -7,18 +7,21 @@ DEPENDS = "gstreamer1.0 glib-2.0-native"
inherit autotools pkgconfig upstream-version-is-even
-GSTREAMER_1_0_DEBUG ?= "--disable-debug"
-EXTRA_OECONF = "--disable-valgrind ${GSTREAMER_1_0_DEBUG} --disable-examples "
-
acpaths = "-I ${S}/common/m4 -I ${S}/m4"
LIBV = "1.0"
require gst-plugins-package.inc
+PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native"
+PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind"
export ORCC = "${STAGING_DIR_NATIVE}${bindir}/orcc"
+EXTRA_OECONF = " \
+ --disable-examples \
+"
+
PACKAGES_DYNAMIC = "^${PN}-.*"
# apply gstreamer hack after Makefile.in.in in source is replaced by our version from