diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2013-05-31 21:15:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:37:59 +0100 |
commit | c7ebd7e527a77ab40e280824f77241db9b3b710b (patch) | |
tree | 9db3c1204328adb47dd96eb618e522981921a561 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | |
parent | 96b144a25598090b1e58eb5e33f216b5bfef7595 (diff) | |
download | poky-c7ebd7e527a77ab40e280824f77241db9b3b710b.tar.gz |
gstreamer: added GStreamer 1.0 recipes
Originally from the https://github.com/dv1/meta-gstreamer1.0 repository,
the patches were copied with only one change:
gstreamer1.0-plugins-package.inc was removed, since gst-plugins-package.inc
is identical except for the LIBV variable.
(From OE-Core rev: e200e61529fa5a78354cde67442e90ace4b3857c)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | |||