From 2a6b1db843992dc3cc30bedea168b5c5818c4f1c Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 4 Sep 2022 19:19:04 +0200 Subject: [PATCH] Switch to meson build system --- libgnomekbd.spec | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/libgnomekbd.spec b/libgnomekbd.spec index 66a63a7..75612b0 100644 --- a/libgnomekbd.spec +++ b/libgnomekbd.spec @@ -7,15 +7,13 @@ License: LGPLv2+ URL: http://gswitchit.sourceforge.net Source0: https://download.gnome.org/sources/libgnomekbd/3.28/libgnomekbd-%{version}.tar.xz -BuildRequires: autoconf automake libtool BuildRequires: gettext-devel BuildRequires: gtk3-devel >= 3.0.0 BuildRequires: cairo-devel BuildRequires: libxklavier-devel BuildRequires: desktop-file-utils -BuildRequires: chrpath BuildRequires: gobject-introspection-devel -BuildRequires: make +BuildRequires: meson %description The libgnomekbd package contains a GNOME library which manages @@ -37,18 +35,12 @@ developing applications that use libgnomekbd. %setup -q %build -NOCONFIGURE=1 ./autogen.sh -%configure --disable-static \ - --disable-compile-warnings \ - --enable-introspection -make %{?_smp_mflags} +%meson +%meson_build %install -%make_install -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' - -chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgnomekbdui.so.8.0.0 +%meson_install %find_lang %{name} @@ -81,6 +73,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-disp %changelog * Sun Sep 04 2022 Kalev Lember - 3.28.1-1 - Update to 3.28.1 +- Switch to meson build system * Fri Sep 02 2022 Kalev Lember - 3.28.0-1 - Update to 3.28.0