diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2013-05-31 21:15:58 +0200 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-06-10 14:51:25 -0700 |
commit | e200e61529fa5a78354cde67442e90ace4b3857c (patch) | |
tree | 2b4536538e967922c09bab80be5c960713fc8023 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc | |
parent | b4f208f418d18f2a4e78a56bebacef481061d917 (diff) | |
download | openembedded-core-e200e61529fa5a78354cde67442e90ace4b3857c.tar.gz openembedded-core-e200e61529fa5a78354cde67442e90ace4b3857c.tar.bz2 openembedded-core-e200e61529fa5a78354cde67442e90ace4b3857c.zip |
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.
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.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 | 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 @@ +require gstreamer1.0-plugins.inc + +LICENSE = "GPLv2+ & LGPLv2+" + +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}" +DEPENDS += "freetype liboil util-linux" + +PR = "r1" + +inherit gettext + + +PACKAGECONFIG ??= " \ + ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ + ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ + ivorbis ogg theora vorbis \ + " + +X11DEPENDS = "virtual/libx11 libsm libxrender" +X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" +X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" +PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor" +PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg" +PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" +PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" +PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" + + +# cdparanoia and libvisual do not seem to exist anywhere in OE +EXTRA_OECONF += " \ + --disable-freetypetest \ + --disable-oggtest \ + --disable-vorbistest \ + --disable-cdparanoia \ + --disable-libvisual \ + ${GSTREAMER_1_0_ORC} \ +" + +FILES_${PN} += "${datadir}/gst-plugins-base" + |