diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-18 19:12:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:24 +0000 |
commit | 0edabfddee84ec746e41cf2afb14a1595e06b615 (patch) | |
tree | d5ddf253ed9f4a6ed33ef99d7ca10771cf124cfa /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | |
parent | 81cd227af3bc1ca124004f497b7f91b31c07a79d (diff) | |
download | poky-0edabfddee84ec746e41cf2afb14a1595e06b615.tar.gz |
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
(From OE-Core rev: 255bfcbcf15e8044f1ff3a5594fbce31be6a2df1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 9 |
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" | |||
7 | 7 | ||
8 | inherit autotools pkgconfig upstream-version-is-even | 8 | inherit autotools pkgconfig upstream-version-is-even |
9 | 9 | ||
10 | GSTREAMER_1_0_DEBUG ?= "--disable-debug" | ||
11 | EXTRA_OECONF = "--disable-valgrind ${GSTREAMER_1_0_DEBUG} --disable-examples " | ||
12 | |||
13 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | 10 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" |
14 | 11 | ||
15 | LIBV = "1.0" | 12 | LIBV = "1.0" |
16 | require gst-plugins-package.inc | 13 | require gst-plugins-package.inc |
17 | 14 | ||
15 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" | ||
18 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native" | 16 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native" |
17 | PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind" | ||
19 | 18 | ||
20 | export ORCC = "${STAGING_DIR_NATIVE}${bindir}/orcc" | 19 | export ORCC = "${STAGING_DIR_NATIVE}${bindir}/orcc" |
21 | 20 | ||
21 | EXTRA_OECONF = " \ | ||
22 | --disable-examples \ | ||
23 | " | ||
24 | |||
22 | PACKAGES_DYNAMIC = "^${PN}-.*" | 25 | PACKAGES_DYNAMIC = "^${PN}-.*" |
23 | 26 | ||
24 | # apply gstreamer hack after Makefile.in.in in source is replaced by our version from | 27 | # apply gstreamer hack after Makefile.in.in in source is replaced by our version from |