Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require gstreamer1.0-plugins.inc |
| 2 | |
| 3 | LICENSE = "GPLv2+ & LGPLv2.1+" |
| 4 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | DEPENDS += "gstreamer1.0-plugins-base libcap zlib bzip2" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | |
| 7 | inherit gettext |
| 8 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | PACKAGECONFIG ??= " \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 10 | ${GSTREAMER_ORC} \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 12 | cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib v4l2 \ |
| 13 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | |
| 15 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 16 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 18 | PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" |
| 20 | PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 21 | PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" |
| 23 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" |
| 24 | PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 25 | PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 26 | PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" |
| 28 | PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" |
| 29 | PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 30 | PACKAGECONFIG[v4l2] = "--enable-gst_v4l2 --enable-v4l2-probe,--disable-gst_v4l2" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" |
| 32 | PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 33 | PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | |
| 35 | EXTRA_OECONF += " \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 36 | --enable-bz2 \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 37 | --enable-oss \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 38 | --enable-zlib \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 39 | --disable-aalib \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 40 | --disable-aalibtest \ |
| 41 | --disable-directsound \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 42 | --disable-libcaca \ |
| 43 | --disable-libdv \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 44 | --disable-oss4 \ |
| 45 | --disable-osx_audio \ |
| 46 | --disable-osx_video \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 47 | --disable-shout2 \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 48 | --disable-sunaudio \ |
| 49 | --disable-waveform \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 50 | " |
| 51 | |
| 52 | FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" |