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 | |
| 5 | # libid3tag |
| 6 | DEPENDS += "gstreamer1.0-plugins-base zlib bzip2 libcap" |
| 7 | |
| 8 | inherit gettext |
| 9 | |
| 10 | |
| 11 | PACKAGECONFIG ??= " \ |
| 12 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
| 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 14 | orc cairo flac gdk-pixbuf jpeg libpng soup speex taglib v4l2\ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | " |
| 16 | |
| 17 | X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" |
| 18 | X11ENABLEOPTS = "--enable-x --enable-xshm" |
| 19 | X11DISABLEOPTS = "--disable-x --disable-xshm" |
| 20 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" |
| 21 | PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" |
| 22 | PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" |
| 23 | PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" |
| 24 | PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 25 | PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" |
| 26 | PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,libv4l2" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" |
| 28 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" |
| 29 | PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" |
| 30 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" |
| 31 | PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" |
| 32 | PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" |
| 33 | PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" |
| 34 | PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 35 | PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libraw1394 libiec61883 libavc1394" |
| 36 | PACKAGECONFIG[v4l2] = "--enable-gst_v4l2,--disable-gst_v4l2" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 37 | |
| 38 | EXTRA_OECONF += " \ |
| 39 | --enable-oss \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 40 | --disable-directsound \ |
| 41 | --disable-waveform \ |
| 42 | --disable-oss4 \ |
| 43 | --disable-sunaudio \ |
| 44 | --disable-osx_audio \ |
| 45 | --disable-osx_video \ |
| 46 | --disable-aalib \ |
| 47 | --disable-libcaca \ |
| 48 | --disable-libdv \ |
| 49 | --disable-shout2 \ |
| 50 | --disable-examples \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 51 | " |
| 52 | |
| 53 | FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" |