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-libav.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-libav.inc')
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc | 34 |
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 @@ | |||
| 1 | DESCRIPTION = "Libav-based GStreamer 1.x plugin" | ||
| 2 | SECTION = "multimedia" | ||
| 3 | LICENSE = "GPLv2+ & LGPLv2+ & ( (GPLv2+ & LGPLv2.1+) | (GPLv3+ & LGPLv3+) )" | ||
| 4 | LICENSE_FLAGS = "commercial" | ||
| 5 | HOMEPAGE = "http://www.gstreamer.net/" | ||
| 6 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2" | ||
| 7 | |||
| 8 | inherit autotools pkgconfig | ||
| 9 | |||
| 10 | PR = "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. | ||
| 16 | PACKAGECONFIG ??= " " | ||
| 17 | PACKAGECONFIG[libav] = "--with-system-libav,,libav" | ||
| 18 | PACKAGECONFIG[lgpl] = "--enable-lgpl,," | ||
| 19 | PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native" | ||
| 20 | |||
| 21 | |||
| 22 | GSTREAMER_1_0_DEBUG ?= "--disable-debug" | ||
| 23 | |||
| 24 | LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure" | ||
| 25 | LIBAV_EXTRA_CONFIGURE_COMMON = \ | ||
| 26 | '${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"' | ||
| 27 | |||
| 28 | EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}" | ||
| 29 | |||
| 30 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
| 31 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
| 32 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" | ||
| 33 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
| 34 | |||
