1require gstreamer1.0-plugins-common.inc 2require gstreamer1.0-plugins-license.inc 3 4SUMMARY = "'Ugly GStreamer plugins" 5HOMEPAGE = "https://gstreamer.freedesktop.org/" 6BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" 7 8LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ 9 " 10 11LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" 12LICENSE_FLAGS = "commercial" 13 14SRC_URI = " \ 15 https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ 16 " 17 18SRC_URI[sha256sum] = "4c951341c4c648630b6fe1234ec113d81dd2d248529bf2b5478e0ad077c80ed3" 19 20S = "${WORKDIR}/gst-plugins-ugly-${PV}" 21 22DEPENDS += "gstreamer1.0-plugins-base" 23 24GST_PLUGIN_SET_HAS_EXAMPLES = "0" 25 26PACKAGECONFIG ??= " \ 27 ${GSTREAMER_ORC} \ 28" 29 30PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" 31PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" 32PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" 33PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" 34PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" 35 36GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" 37 38EXTRA_OEMESON += " \ 39 -Ddoc=disabled \ 40 -Dsidplay=disabled \ 41" 42 43FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" 44FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" 45