diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | 42 |
1 files changed, 42 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..b2c89952b2 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | |||
@@ -0,0 +1,42 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2+" | ||
4 | |||
5 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}" | ||
6 | DEPENDS += "freetype liboil util-linux" | ||
7 | |||
8 | PR = "r1" | ||
9 | |||
10 | inherit gettext | ||
11 | |||
12 | |||
13 | PACKAGECONFIG ??= " \ | ||
14 | ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
15 | ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ | ||
16 | ivorbis ogg theora vorbis \ | ||
17 | " | ||
18 | |||
19 | X11DEPENDS = "virtual/libx11 libsm libxrender" | ||
20 | X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" | ||
21 | X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" | ||
22 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
23 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
24 | PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor" | ||
25 | PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg" | ||
26 | PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" | ||
27 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" | ||
28 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" | ||
29 | |||
30 | |||
31 | # cdparanoia and libvisual do not seem to exist anywhere in OE | ||
32 | EXTRA_OECONF += " \ | ||
33 | --disable-freetypetest \ | ||
34 | --disable-oggtest \ | ||
35 | --disable-vorbistest \ | ||
36 | --disable-cdparanoia \ | ||
37 | --disable-libvisual \ | ||
38 | ${GSTREAMER_1_0_ORC} \ | ||
39 | " | ||
40 | |||
41 | FILES_${PN} += "${datadir}/gst-plugins-base" | ||
42 | |||