blob: f2354648dfb19682e3691c26f6cda10e034ed8bc [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require gst-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
5 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=622921ffad8cb18ab906c56052788a3f \
6 file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
7 file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
8
9DEPENDS += "alsa-lib libogg libvorbis libtheora util-linux tremor glib-2.0-native"
10
11SRC_URI += "file://gst-plugins-base-tremor.patch \
12 file://configure.ac-fix-subparse-plugin.patch \
13 file://audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch \
Patrick Williamsddad1a12017-02-23 20:36:32 -060014 file://0001-aclocal.m4-don-t-do-crazy-things-to-GLIB_CFLAGS.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015"
16
17SRC_URI[md5sum] = "776c73883e567f67b9c4a2847d8d041a"
18SRC_URI[sha256sum] = "2cd3b0fa8e9b595db8f514ef7c2bdbcd639a0d63d154c00f8c9b609321f49976"
19
20PR = "r8"
21
22inherit gettext
23
24EXTRA_OECONF += "--disable-freetypetest"
25
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027
Patrick Williamsb48b7b42016-08-17 15:04:38 -050028PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
29PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango"
30PACKAGECONFIG[x11] = "--enable-x --enable-xvideo,--disable-x --disable-xvideo,virtual/libx11 libxv libsm libice"
31PACKAGECONFIG[cdparanoia] = "--enable-cdparanoia,--disable-cdparanoia,cdparanoia"
32
33do_configure_prepend() {
Patrick Williamsddad1a12017-02-23 20:36:32 -060034 # This m4 file contains nastiness which conflicts with libtool 2.2.2
35 rm -f ${S}/m4/lib-link.m4
Patrick Williamsb48b7b42016-08-17 15:04:38 -050036}
37
38FILES_${PN} += "${datadir}/${BPN}"
39
40CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
41
42# /usr/bin/gst-visualise-0.10 is a perl script.
43RDEPENDS_${PN}-apps += "perl"