diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-25 12:02:15 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:06 +0000 |
commit | 55d4849e80df3caec88fcd251bc49ba355d1a99a (patch) | |
tree | a2ed9d812147d2fece874e8551a64a9f2467a72a /meta/recipes-multimedia | |
parent | 083c63dddf8715bc1ee18fce37f7e8c3132f49cf (diff) | |
download | poky-55d4849e80df3caec88fcd251bc49ba355d1a99a.tar.gz |
gstreamer1.0-plugins-XXX: control orc PACKAGECONFIG via GSTREAMER_ORC
Orc enables runtime JIT compilation of data processing routines from
Orc bytecode to SIMD instructions for various architectures (currently
SSE, MMX, MIPS, Altivec and NEON are supported).
https://cgit.freedesktop.org/gstreamer/orc/tree/README
Provide a convenient way to globally control the orc PACKAGECONFIG
option for all four gstreamer-1.0-plugins-XXX recipes.
(From OE-Core rev: da5bc7c637668d284e58f7b7af5abfde47120a03)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
5 files changed, 14 insertions, 4 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc index 6117e699d8..6a89fc9ac1 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | |||
@@ -13,11 +13,12 @@ PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', | |||
13 | # gtk is not in the PACKAGECONFIG variable by default until | 13 | # gtk is not in the PACKAGECONFIG variable by default until |
14 | # the transition to gtk+3 is finished | 14 | # the transition to gtk+3 is finished |
15 | PACKAGECONFIG ??= " \ | 15 | PACKAGECONFIG ??= " \ |
16 | ${GSTREAMER_ORC} \ | ||
16 | ${PACKAGECONFIG_GL} \ | 17 | ${PACKAGECONFIG_GL} \ |
17 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 18 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
18 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ | 19 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ |
19 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ | 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ |
20 | bz2 curl dash dtls hls neon orc rsvg sbc smoothstreaming sndfile uvch264 \ | 21 | bz2 curl dash dtls hls neon rsvg sbc smoothstreaming sndfile uvch264 \ |
21 | " | 22 | " |
22 | 23 | ||
23 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | 24 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc index cde0019a56..f75efeaa25 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | |||
@@ -7,9 +7,10 @@ DEPENDS += "iso-codes util-linux zlib" | |||
7 | PACKAGES_DYNAMIC =+ "^libgst.*" | 7 | PACKAGES_DYNAMIC =+ "^libgst.*" |
8 | 8 | ||
9 | PACKAGECONFIG ??= " \ | 9 | PACKAGECONFIG ??= " \ |
10 | ${GSTREAMER_ORC} \ | ||
10 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ | 11 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ |
11 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | 12 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
12 | gio-unix-2.0 ivorbis ogg orc pango theora vorbis \ | 13 | gio-unix-2.0 ivorbis ogg pango theora vorbis \ |
13 | " | 14 | " |
14 | 15 | ||
15 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" | 16 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc index 3f56d1def0..6b005aae7c 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good.inc | |||
@@ -5,9 +5,10 @@ LICENSE = "GPLv2+ & LGPLv2.1+" | |||
5 | DEPENDS += "gstreamer1.0-plugins-base libcap zlib bzip2" | 5 | DEPENDS += "gstreamer1.0-plugins-base libcap zlib bzip2" |
6 | 6 | ||
7 | PACKAGECONFIG ??= " \ | 7 | PACKAGECONFIG ??= " \ |
8 | ${GSTREAMER_ORC} \ | ||
8 | ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ | 9 | ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ |
9 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
10 | cairo flac gdk-pixbuf gudev jpeg libpng orc soup speex taglib v4l2 \ | 11 | cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib v4l2 \ |
11 | " | 12 | " |
12 | 13 | ||
13 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" | 14 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc index 839ff8a21b..38e358f8ac 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc | |||
@@ -6,7 +6,8 @@ LICENSE_FLAGS = "commercial" | |||
6 | DEPENDS += "gstreamer1.0-plugins-base libid3tag" | 6 | DEPENDS += "gstreamer1.0-plugins-base libid3tag" |
7 | 7 | ||
8 | PACKAGECONFIG ??= " \ | 8 | PACKAGECONFIG ??= " \ |
9 | a52dec lame mad mpeg2dec orc \ | 9 | ${GSTREAMER_ORC} \ |
10 | a52dec lame mad mpeg2dec \ | ||
10 | " | 11 | " |
11 | 12 | ||
12 | PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52" | 13 | PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52" |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc index d2b3820901..18ed6cf266 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | |||
@@ -12,6 +12,12 @@ acpaths = "-I ${S}/common/m4 -I ${S}/m4" | |||
12 | LIBV = "1.0" | 12 | LIBV = "1.0" |
13 | require gst-plugins-package.inc | 13 | require gst-plugins-package.inc |
14 | 14 | ||
15 | # Orc enables runtime JIT compilation of data processing routines from Orc | ||
16 | # bytecode to SIMD instructions for various architectures (currently SSE, MMX, | ||
17 | # MIPS, Altivec and NEON are supported). | ||
18 | |||
19 | GSTREAMER_ORC ?= "orc" | ||
20 | |||
15 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" | 21 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" |
16 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native" | 22 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native" |
17 | PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind" | 23 | PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind" |