Accepting request 1001236 from GNOME:Next

- Update to version 3.28.1:
  + Land several fixes to meson build definitions to align with
    autotools.
- Switch to meson build system:
  + Add meson BuiRequires.
  + Replace %configure/%make%make_install macros with meson
    equivalents %meson/%meson_build/%meson_install
  + Drop libtool BuildRequires and no longer call autogen.sh

OBS-URL: https://build.opensuse.org/request/show/1001236
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnomekbd?expand=0&rev=91
This commit is contained in:
Bjørn Lie 2022-09-05 10:45:54 +00:00 committed by Git OBS Bridge
parent 27b62d8d42
commit 8f6ed00b64
4 changed files with 20 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3057a443e4c26f91fe352dcd1154a56cdd51f1cfd7cb6ace300c3cc128659c9
size 155416

BIN
libgnomekbd-3.28.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Sep 5 09:11:54 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.28.1:
+ Land several fixes to meson build definitions to align with
autotools.
- Switch to meson build system:
+ Add meson BuiRequires.
+ Replace %configure/%make%make_install macros with meson
equivalents %meson/%meson_build/%meson_install
+ Drop libtool BuildRequires and no longer call autogen.sh
-------------------------------------------------------------------
Wed Aug 24 20:34:30 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -18,7 +18,7 @@
%define sover 8
Name: libgnomekbd
Version: 3.28.0
Version: 3.28.1
Release: 0
Summary: GNOME Keyboard Library
License: LGPL-2.1-or-later
@ -34,7 +34,7 @@ Patch1: libgnomekbd-set-default-indicator.patch
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gobject-introspection-1.0)
@ -95,16 +95,12 @@ applications that want to make use of libgnomekbd.
%autosetup -p1
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-static \
%{nil}
%make_build
%meson
%meson_build
%install
%make_install
%meson_install
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}/%{_prefix}