blob: 614ef8d7406f1d9da4632e8e6d7c7a7bbf6b6955 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001require gstreamer1.0-plugins-common.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
4 file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068"
5
6LICENSE = "GPLv2+ & LGPLv2.1+ & LGPLv2+"
7LICENSE_FLAGS = "commercial"
8
9SRC_URI = " \
10 https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \
11 "
Andrew Geissler6ce62a22020-11-30 19:58:47 -060012SRC_URI[sha256sum] = "18cd6cb829eb9611ca63cbcbf46aca0f0de1dd28b2df18caa2834326a75ff725"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14S = "${WORKDIR}/gst-plugins-ugly-${PV}"
15
16DEPENDS += "gstreamer1.0-plugins-base"
17
18GST_PLUGIN_SET_HAS_EXAMPLES = "0"
19
20PACKAGECONFIG ??= " \
21 ${GSTREAMER_ORC} \
22 a52dec mpeg2dec \
23"
24
25PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52"
26PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr"
27PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr"
28PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio"
29PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
30PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
31PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
32
33EXTRA_OEMESON += " \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060034 -Ddoc=disabled \
Andrew Geissler82c905d2020-04-13 13:39:40 -050035 -Dsidplay=disabled \
36"
37
38FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
39FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"