blob: 6e316de9f27ff9338cbf0fd7fd14f8039b51a49b [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)} \
14 orc cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib \
15 "
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"
25PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,udev"
26PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
27PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
28PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
29PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4"
30PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex"
31PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
32PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx"
33PACKAGECONFIG[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
39EXTRA_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
57FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"