summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2013-05-31 21:15:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-11 15:37:59 +0100
commitc7ebd7e527a77ab40e280824f77241db9b3b710b (patch)
tree9db3c1204328adb47dd96eb618e522981921a561 /meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
parent96b144a25598090b1e58eb5e33f216b5bfef7595 (diff)
downloadpoky-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-libav.inc')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
new file mode 100644
index 0000000000..c77a085736
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
@@ -0,0 +1,34 @@
1DESCRIPTION = "Libav-based GStreamer 1.x plugin"
2SECTION = "multimedia"
3LICENSE = "GPLv2+ & LGPLv2+ & ( (GPLv2+ & LGPLv2.1+) | (GPLv3+ & LGPLv3+) )"
4LICENSE_FLAGS = "commercial"
5HOMEPAGE = "http://www.gstreamer.net/"
6DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2"
7
8inherit autotools pkgconfig
9
10PR = "r1"
11
12
13# CAUTION: Using the system libav is not recommended. Since the libav API is changing all the time,
14# compilation errors (and other, more subtle bugs) can happen. It is usually better to rely on the
15# libav copy included in the gst-libav package.
16PACKAGECONFIG ??= " "
17PACKAGECONFIG[libav] = "--with-system-libav,,libav"
18PACKAGECONFIG[lgpl] = "--enable-lgpl,,"
19PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native"
20
21
22GSTREAMER_1_0_DEBUG ?= "--disable-debug"
23
24LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure"
25LIBAV_EXTRA_CONFIGURE_COMMON = \
26'${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"'
27
28EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}"
29
30FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
31FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
32FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
33FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
34