blob: 84e6e95d36025e79c861babb2812309c414ce12e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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
10# CAUTION: Using the system libav is not recommended. Since the libav API is changing all the time,
11# compilation errors (and other, more subtle bugs) can happen. It is usually better to rely on the
12# libav copy included in the gst-libav package.
13PACKAGECONFIG ??= " orc yasm "
14PACKAGECONFIG[libav] = "--with-system-libav,,libav"
15PACKAGECONFIG[lgpl] = "--enable-lgpl,,"
16PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native"
17PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
18
19
20GSTREAMER_1_0_DEBUG ?= "--disable-debug"
21
22LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure"
23LIBAV_EXTRA_CONFIGURE_COMMON = \
24'${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"'
25
26EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}"
27
28FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
29FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
30FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
31FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
32