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