diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc new file mode 100644 index 0000000000..972ff18160 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | |||
@@ -0,0 +1,40 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2+" | ||
4 | |||
5 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}" | ||
6 | DEPENDS += "freetype liboil util-linux" | ||
7 | |||
8 | inherit gettext | ||
9 | |||
10 | PACKAGES_DYNAMIC =+ "^libgst.*" | ||
11 | |||
12 | PACKAGECONFIG ??= " \ | ||
13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
14 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ | ||
15 | orc ivorbis ogg theora vorbis \ | ||
16 | " | ||
17 | |||
18 | X11DEPENDS = "virtual/libx11 libsm libxrender" | ||
19 | X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" | ||
20 | X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" | ||
21 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
22 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
23 | PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor" | ||
24 | PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg" | ||
25 | PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" | ||
26 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" | ||
27 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" | ||
28 | |||
29 | |||
30 | # cdparanoia and libvisual do not seem to exist anywhere in OE | ||
31 | EXTRA_OECONF += " \ | ||
32 | --disable-freetypetest \ | ||
33 | --disable-cdparanoia \ | ||
34 | --disable-libvisual \ | ||
35 | ${GSTREAMER_1_0_ORC} \ | ||
36 | " | ||
37 | |||
38 | FILES_${PN} += "${datadir}/gst-plugins-base" | ||
39 | |||
40 | CACHED_CONFIGUREVARS_append_i586 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no" | ||