Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | require gstreamer1.0-plugins-common.inc |
| 2 | |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 3 | DESCRIPTION = "'Ugly GStreamer plugins" |
| 4 | HOMEPAGE = "https://gstreamer.freedesktop.org/" |
| 5 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" |
| 6 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
| 8 | file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068" |
| 9 | |
| 10 | LICENSE = "GPLv2+ & LGPLv2.1+ & LGPLv2+" |
| 11 | LICENSE_FLAGS = "commercial" |
| 12 | |
| 13 | SRC_URI = " \ |
| 14 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ |
| 15 | " |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame^] | 16 | SRC_URI[sha256sum] = "218df0ce0d31e8ca9cdeb01a3b0c573172cc9c21bb3d41811c7820145623d13c" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | |
| 18 | S = "${WORKDIR}/gst-plugins-ugly-${PV}" |
| 19 | |
| 20 | DEPENDS += "gstreamer1.0-plugins-base" |
| 21 | |
| 22 | GST_PLUGIN_SET_HAS_EXAMPLES = "0" |
| 23 | |
| 24 | PACKAGECONFIG ??= " \ |
| 25 | ${GSTREAMER_ORC} \ |
| 26 | a52dec mpeg2dec \ |
| 27 | " |
| 28 | |
| 29 | PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" |
| 30 | PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr" |
| 31 | PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr" |
| 32 | PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" |
| 33 | PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" |
| 34 | PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" |
| 35 | PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" |
| 36 | |
| 37 | EXTRA_OEMESON += " \ |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 38 | -Ddoc=disabled \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | -Dsidplay=disabled \ |
| 40 | " |
| 41 | |
| 42 | FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" |
| 43 | FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" |