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