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)} \ |
| 14 | orc cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib \ |
| 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" |
| 25 | PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,udev" |
| 26 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" |
| 27 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" |
| 28 | PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" |
| 29 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" |
| 30 | PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" |
| 31 | PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" |
| 32 | PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" |
| 33 | PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" |
| 34 | |
| 35 | # the 1394 plugins require both libraw1394 and libiec61883 |
| 36 | # the former is included in meta-oe, the latter isn't |
| 37 | # -> disabled |
| 38 | |
| 39 | EXTRA_OECONF += " \ |
| 40 | --enable-oss \ |
| 41 | --enable-gst_v4l2 \ |
| 42 | --without-libv4l2 \ |
| 43 | --disable-directsound \ |
| 44 | --disable-waveform \ |
| 45 | --disable-oss4 \ |
| 46 | --disable-sunaudio \ |
| 47 | --disable-osx_audio \ |
| 48 | --disable-osx_video \ |
| 49 | --disable-aalib \ |
| 50 | --disable-libcaca \ |
| 51 | --disable-libdv \ |
| 52 | --disable-shout2 \ |
| 53 | --disable-examples \ |
| 54 | --disable-dv1394 \ |
| 55 | " |
| 56 | |
| 57 | FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" |