blob: edaafe842ff573f3237562844d6300d100327957 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001require gstreamer1.0-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2.1+"
4
5# libid3tag
6DEPENDS += "gstreamer1.0-plugins-base zlib bzip2 libcap"
7
8inherit gettext
9
10
11PACKAGECONFIG ??= " \
12 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
13 ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050014 orc cairo flac gdk-pixbuf jpeg libpng soup speex taglib v4l2\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015 "
16
17X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
18X11ENABLEOPTS = "--enable-x --enable-xshm"
19X11DISABLEOPTS = "--disable-x --disable-xshm"
20PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
21PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
22PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo"
23PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac"
24PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050025PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev"
26PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,libv4l2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
28PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
29PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
30PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4"
31PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex"
32PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
33PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx"
34PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050035PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libraw1394 libiec61883 libavc1394"
36PACKAGECONFIG[v4l2] = "--enable-gst_v4l2,--disable-gst_v4l2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037
38EXTRA_OECONF += " \
39 --enable-oss \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040 --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 Williamsc124f4f2015-09-15 14:41:29 -050051"
52
53FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"