Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | require gstreamer1.0-plugins.inc |
| 2 | |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
| 4 | file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068" |
| 5 | |
| 6 | LICENSE = "GPLv2+ & LGPLv2.1+ & LGPLv2+" |
| 7 | LICENSE_FLAGS = "commercial" |
| 8 | |
| 9 | SRC_URI = " \ |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 10 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 11 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ |
| 12 | " |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 13 | SRC_URI[md5sum] = "668795903cb4971fba9aa89abdea8369" |
| 14 | SRC_URI[sha256sum] = "4bf913b2ca5195ac3b53b5e3ade2dc7c45d2258507552ddc850c5fa425968a1d" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/gst-plugins-ugly-${PV}" |
| 17 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 18 | DEPENDS += "gstreamer1.0-plugins-base" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | |
| 20 | inherit gettext |
| 21 | |
| 22 | PACKAGECONFIG ??= " \ |
| 23 | ${GSTREAMER_ORC} \ |
| 24 | a52dec mpeg2dec \ |
| 25 | " |
| 26 | |
| 27 | PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52" |
| 28 | PACKAGECONFIG[amrnb] = "--enable-amrnb,--disable-amrnb,opencore-amr" |
| 29 | PACKAGECONFIG[amrwb] = "--enable-amrwb,--disable-amrwb,opencore-amr" |
| 30 | PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio" |
| 31 | PACKAGECONFIG[dvdread] = "--enable-dvdread,--disable-dvdread,libdvdread" |
| 32 | PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec" |
| 33 | PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264" |
| 34 | |
| 35 | EXTRA_OECONF += " \ |
| 36 | --disable-sidplay \ |
| 37 | " |
| 38 | |
| 39 | FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" |
| 40 | FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" |