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