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] = "7758b7decfd20c00cae5700822bcbbf03f98c723e33e17634db2e07ca1da60bf" 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 a52dec mpeg2dec \ 29" 30 31PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr" 32PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr" 33PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" 34PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" 35PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" 36PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" 37PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" 38 39GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" 40 41EXTRA_OEMESON += " \ 42 -Ddoc=disabled \ 43 -Dsidplay=disabled \ 44" 45 46FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" 47FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" 48