blob: 4621bf89435c3d6e0c368742e6ab599b1e3a6400 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001require gstreamer1.0-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2.1+"
4
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005DEPENDS += "gstreamer1.0-plugins-base libcap zlib bzip2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
7inherit gettext
8
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009PACKAGECONFIG ??= " \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010 ${GSTREAMER_ORC} \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011 ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050012 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
13 cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib v4l2 \
14"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
16X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050019PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac"
21PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050022PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
24PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
25PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050026PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,libv4l2"
27PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4"
29PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex"
30PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031PACKAGECONFIG[v4l2] = "--enable-gst_v4l2,--disable-gst_v4l2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx"
33PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050034PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050035
36EXTRA_OECONF += " \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050037 --enable-bz2 \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050038 --enable-oss \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050039 --enable-zlib \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040 --disable-aalib \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050041 --disable-aalibtest \
42 --disable-directsound \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050043 --disable-libcaca \
44 --disable-libdv \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050045 --disable-oss4 \
46 --disable-osx_audio \
47 --disable-osx_video \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050048 --disable-shout2 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050049 --disable-sunaudio \
50 --disable-waveform \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050051"
52
53FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"