blob: 708ad7a15c8904cc0690964f2c94ddadb3158f7e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001require gstreamer1.0-plugins.inc
2
3LICENSE = "GPLv2+ & LGPLv2.1+ & LGPLv2+"
4LICENSE_FLAGS = "commercial"
5
6DEPENDS += "gstreamer1.0-plugins-base libid3tag"
7
8inherit gettext
9
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010PACKAGECONFIG ??= " \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011 ${GSTREAMER_ORC} \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060012 a52dec lame mpg123 mpeg2dec \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050013"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014
15PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050016PACKAGECONFIG[amrnb] = "--enable-amrnb,--disable-amrnb,opencore-amr"
17PACKAGECONFIG[amrwb] = "--enable-amrwb,--disable-amrwb,opencore-amr"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio"
19PACKAGECONFIG[dvdread] = "--enable-dvdread,--disable-dvdread,libdvdread"
20PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame"
21PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
22PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060023PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264"
25
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026EXTRA_OECONF += " \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027 --disable-sidplay \
28 --disable-twolame \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050029"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
32FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"