Switch to the meson build system

This commit is contained in:
Kalev Lember 2019-02-01 15:36:54 +01:00
parent 8a7b03167c
commit 11d23cfa8f

View File

@ -11,13 +11,12 @@ License: LGPLv2+
BuildRequires: glib2-devel
BuildRequires: gtk3-devel
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pango-devel
BuildRequires: startup-notification-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libXres-devel
BuildRequires: gettext
BuildRequires: libtool, automake, autoconf
BuildRequires: gnome-common
Requires: startup-notification
@ -38,20 +37,14 @@ developing applications that use %{name}.
%prep
%setup -q -n %{source_name}-%{version}
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-static \
--enable-gtk-doc \
--enable-introspection=yes \
--enable-startup-notification
%{make_build}
%build
%meson -Dgtk_doc=true
%meson_build
%install
%{make_install}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%meson_install
%find_lang %{source_name}-3.0 --with-gnome --all-name
@ -78,6 +71,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
* Fri Feb 01 2019 Kalev Lember <klember@redhat.com> - 3.31.4-1
- Update to 3.31.4
- Switch to the meson build system
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild