From 3da0f1b64dae97bab201872c26c6bb81e22628da Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Wed, 26 Feb 2020 13:35:50 +0000 Subject: gstreamer1.0-plugins-ugly: Transition to meson based builds Following modifications were done: - Remove reference to autotools/M4 related patch: [0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch] - Convert all packageconfigs from using autotools syntax to meson - Replace EXTRA_OECONF with EXTRA_OEMESON - gettext handling now part of gstreamer1.0-plugins-common.inc. - Align fork recipe to match upstream from oe-core Signed-off-by: Andrey Zhizhikin --- .../gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb index 7e6fcaae..2a1cc3fd 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb @@ -8,32 +8,31 @@ LICENSE_FLAGS = "commercial" SRC_URI = " \ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " SRC_URI[md5sum] = "1ec343c58d4b17d682f7befa8453c11c" SRC_URI[sha256sum] = "e30964c5f031c32289e0b25e176c3c95a5737f2052dfc81d0f7427ef0233a4c2" S = "${WORKDIR}/gst-plugins-ugly-${PV}" -DEPENDS += "gstreamer1.0-plugins-base libid3tag" +DEPENDS += "gstreamer1.0-plugins-base" -inherit gettext +GST_PLUGIN_SET_HAS_EXAMPLES = "0" PACKAGECONFIG ??= " \ ${GSTREAMER_ORC} \ a52dec mpeg2dec \ " -PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52" -PACKAGECONFIG[amrnb] = "--enable-amrnb,--disable-amrnb,opencore-amr" -PACKAGECONFIG[amrwb] = "--enable-amrwb,--disable-amrwb,opencore-amr" -PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio" -PACKAGECONFIG[dvdread] = "--enable-dvdread,--disable-dvdread,libdvdread" -PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec" -PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264" +PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" +PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr" +PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr" +PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" +PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" +PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" +PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" -EXTRA_OECONF += " \ - --disable-sidplay \ +EXTRA_OEMESON += " \ + -Dsidplay=disabled \ " FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" -- cgit v1.2.3-54-g00ecf