Switch to meson

This commit is contained in:
Leigh Scott 2019-06-29 20:27:13 +01:00
parent d19223c37a
commit f393735098
1 changed files with 13 additions and 11 deletions

View File

@ -11,7 +11,7 @@ URL: https://github.com/linuxmint/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: gnome-common
BuildRequires: meson
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: itstool
@ -72,19 +72,21 @@ NOCONFIGURE=1 %{_bindir}/gnome-autogen.sh
%build
export LDFLAGS="-Wl,--as-needed %{__global_ldflags}"
%configure \
--disable-silent-rules \
--disable-static \
--enable-gtk-doc \
--enable-introspection \
--enable-pixbuf
%meson \
-Ddeprecated_warnings=false \
-Ddjvu=true \
-Ddvi=true \
-Dt1lib=true \
-Dpixbuf=true \
-Dcomics=true \
-Dintrospection=true \
-Dhelp_files=true
%make_build
%meson_build
%install
%make_install
%meson_install
%{_bindir}/find %{buildroot} -type f -name '*.a' -print -delete
%{_bindir}/find %{buildroot} -type f -name '*.la' -print -delete
%{__sed} -i -e '/.*<project_group>.*/d' \
@ -138,7 +140,7 @@ export LDFLAGS="-Wl,--as-needed %{__global_ldflags}"
%changelog
* Sat Jun 29 2019 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-1
- Update to 2.0.0 release
- Update to 2.2.0 release
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild