2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Libav-based GStreamer 1.x plugin"
|
2016-01-19 01:32:02 +00:00
|
|
|
HOMEPAGE = "http://gstreamer.freedesktop.org/"
|
2013-05-31 19:15:58 +00:00
|
|
|
SECTION = "multimedia"
|
2016-01-19 01:32:02 +00:00
|
|
|
|
2013-05-31 19:15:58 +00:00
|
|
|
LICENSE = "GPLv2+ & LGPLv2+ & ( (GPLv2+ & LGPLv2.1+) | (GPLv3+ & LGPLv3+) )"
|
|
|
|
LICENSE_FLAGS = "commercial"
|
2016-01-19 01:32:02 +00:00
|
|
|
|
2015-11-05 16:20:00 +00:00
|
|
|
DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base zlib bzip2 xz"
|
2013-05-31 19:15:58 +00:00
|
|
|
|
2015-11-11 14:32:16 +00:00
|
|
|
inherit autotools pkgconfig upstream-version-is-even
|
2013-05-31 19:15:58 +00:00
|
|
|
|
|
|
|
# CAUTION: Using the system libav is not recommended. Since the libav API is changing all the time,
|
|
|
|
# compilation errors (and other, more subtle bugs) can happen. It is usually better to rely on the
|
|
|
|
# libav copy included in the gst-libav package.
|
2016-01-19 01:32:02 +00:00
|
|
|
PACKAGECONFIG ??= "orc yasm"
|
2013-05-31 19:15:58 +00:00
|
|
|
|
2016-01-19 01:32:02 +00:00
|
|
|
PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl,"
|
|
|
|
PACKAGECONFIG[libav] = "--with-system-libav,,libav"
|
|
|
|
PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
|
|
|
|
PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native"
|
2013-05-31 19:15:58 +00:00
|
|
|
|
|
|
|
GSTREAMER_1_0_DEBUG ?= "--disable-debug"
|
|
|
|
|
|
|
|
LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure"
|
|
|
|
LIBAV_EXTRA_CONFIGURE_COMMON = \
|
|
|
|
'${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"'
|
|
|
|
|
|
|
|
EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}"
|
|
|
|
|
|
|
|
FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
|
|
|
|
FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
|
|
|
|
FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
|