diff mbox series

[meta-xfce,v2,4/6] xfce4-clipman-plugin: Use meson for building this recipe

Message ID 20250712172646.3899204-4-raj.khem@gmail.com
State New
Headers show
Series [meta-xfce,v2,1/6] classed/xfce: Make download tarball extention type configurable | expand

Commit Message

Khem Raj July 12, 2025, 5:26 p.m. UTC
autotools is still supported upstream but meson is preferred starting
with 1.7 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../clipman/xfce4-clipman-plugin_1.7.0.bb            | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.7.0.bb b/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.7.0.bb
index c2e2f32d5c..2f007e11c3 100644
--- a/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.7.0.bb
+++ b/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.7.0.bb
@@ -8,14 +8,16 @@  inherit xfce-panel-plugin
 
 DEPENDS += "xfconf xorgproto libxtst glib-2.0-native"
 
+XFCEBASEBUILDCLASS = "meson"
 XFCE_COMPRESS_TYPE = "xz"
 SRC_URI[sha256sum] = "903302c3070a951d44ee17a84fa3cf21d36c6787678af8fbfc79e469fd00cb46"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
-PACKAGECONFIG[qrencode] = "--enable-libqrencode,--disable-libqrencode,qrencode"
-PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native wayland"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
+                   ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} \
+"
 
-EXTRA_OECONF += "WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
-				 GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources"
+PACKAGECONFIG[ptest] = "-Dtests=true,-Dtests=false,"
+PACKAGECONFIG[qrencode] = "-Dqrencode=enabled,-Dqrencode=disabled,qrencode"
+PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland"
 
 FILES:${PN} += "${datadir}/metainfo"