blob: 817dffe8391e3a8e9260d8a9ce68c369209ab334 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001require gstreamer1.0-plugins-common.inc
2
Andrew Geissler90fd73c2021-03-05 15:25:55 -06003DESCRIPTION = "'Ugly GStreamer plugins"
4HOMEPAGE = "https://gstreamer.freedesktop.org/"
5BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues"
6
Andrew Geissler82c905d2020-04-13 13:39:40 -05007LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
8 file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068"
9
10LICENSE = "GPLv2+ & LGPLv2.1+ & LGPLv2+"
11LICENSE_FLAGS = "commercial"
12
13SRC_URI = " \
14 https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \
15 "
Andrew Geissler95ac1b82021-03-31 14:34:31 -050016SRC_URI[sha256sum] = "218df0ce0d31e8ca9cdeb01a3b0c573172cc9c21bb3d41811c7820145623d13c"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017
18S = "${WORKDIR}/gst-plugins-ugly-${PV}"
19
20DEPENDS += "gstreamer1.0-plugins-base"
21
22GST_PLUGIN_SET_HAS_EXAMPLES = "0"
23
24PACKAGECONFIG ??= " \
25 ${GSTREAMER_ORC} \
26 a52dec mpeg2dec \
27"
28
29PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52"
30PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr"
31PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr"
32PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio"
33PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
34PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
35PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
36
37EXTRA_OEMESON += " \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060038 -Ddoc=disabled \
Andrew Geissler82c905d2020-04-13 13:39:40 -050039 -Dsidplay=disabled \
40"
41
Patrick Williams213cb262021-08-07 19:21:33 -050042FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
43FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"