]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-ugly: Transition to meson based builds
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Wed, 26 Feb 2020 13:35:50 +0000 (13:35 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 3 Mar 2020 21:26:17 +0000 (18:26 -0300)
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 <andrey.zhizhikin@leica-geosystems.com>
recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb

index 7e6fcaae79b49c1ac98f5a19ae52e21741f4f0a8..2a1cc3fdc64324b544e685394cdf61b3814486a2 100644 (file)
@@ -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"