Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | require gstreamer1.0-plugins.inc |
| 2 | |
| 3 | SRC_URI = " \ |
| 4 | http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ |
| 5 | file://0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch \ |
| 6 | file://avoid-including-sys-poll.h-directly.patch \ |
| 7 | file://ensure-valid-sentinel-for-gst_structure_get.patch \ |
| 8 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ |
| 9 | " |
| 10 | |
Brad Bishop | a5c52ff | 2018-11-23 10:55:50 +1300 | [diff] [blame^] | 11 | SRC_URI[md5sum] = "6e3b247097366cf2639f22abfece7113" |
| 12 | SRC_URI[sha256sum] = "5f8b553260cb0aac56890053d8511db1528d53cae10f0287cfce2cb2acc70979" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | |
| 14 | S = "${WORKDIR}/gst-plugins-good-${PV}" |
| 15 | |
| 16 | LICENSE = "GPLv2+ & LGPLv2.1+" |
| 17 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
| 18 | file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ |
| 19 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" |
| 20 | |
| 21 | DEPENDS += "gstreamer1.0-plugins-base libcap" |
| 22 | RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" |
| 23 | RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" |
| 24 | |
| 25 | inherit gettext |
| 26 | |
| 27 | PACKAGECONFIG ??= " \ |
| 28 | ${GSTREAMER_ORC} \ |
| 29 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ |
| 30 | bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 zlib \ |
| 31 | " |
| 32 | |
| 33 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" |
| 34 | |
| 35 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" |
| 36 | PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" |
| 37 | PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394" |
| 38 | PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" |
| 39 | PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" |
| 40 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" |
| 41 | PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" |
| 42 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" |
| 43 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" |
| 44 | PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" |
| 45 | PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" |
| 46 | PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils" |
| 47 | PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" |
| 48 | PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" |
| 49 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" |
| 50 | PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" |
| 51 | PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" |
| 52 | PACKAGECONFIG[v4l2] = "--enable-gst_v4l2 --enable-v4l2-probe,--disable-gst_v4l2" |
| 53 | PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" |
| 54 | PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" |
| 55 | PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}" |
| 56 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" |
| 57 | |
| 58 | # qt5 support is disabled, because it is not present in OE core, and requires more work than |
| 59 | # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths). |
| 60 | # This is better done in a separate qt5 layer (which then should add a "qt5" packageconfig |
| 61 | # in a gstreamer1.0-plugins-good bbappend). |
| 62 | |
| 63 | EXTRA_OECONF += " \ |
| 64 | --enable-oss \ |
| 65 | --disable-aalib \ |
| 66 | --disable-aalibtest \ |
| 67 | --disable-directsound \ |
| 68 | --disable-libcaca \ |
| 69 | --disable-libdv \ |
| 70 | --disable-oss4 \ |
| 71 | --disable-osx_audio \ |
| 72 | --disable-osx_video \ |
| 73 | --disable-qt \ |
| 74 | --disable-shout2 \ |
| 75 | --disable-twolame \ |
| 76 | --disable-waveform \ |
| 77 | " |
| 78 | |
| 79 | FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" |