Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | SUMMARY = "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 | # 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. |
| 13 | PACKAGECONFIG ??= " orc yasm " |
| 14 | PACKAGECONFIG[libav] = "--with-system-libav,,libav" |
| 15 | PACKAGECONFIG[lgpl] = "--enable-lgpl,," |
| 16 | PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native" |
| 17 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc" |
| 18 | |
| 19 | |
| 20 | GSTREAMER_1_0_DEBUG ?= "--disable-debug" |
| 21 | |
| 22 | LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure" |
| 23 | LIBAV_EXTRA_CONFIGURE_COMMON = \ |
| 24 | '${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"' |
| 25 | |
| 26 | EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}" |
| 27 | |
| 28 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" |
| 29 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" |
| 30 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" |
| 31 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" |
| 32 | |