diff --git a/xreader.spec b/xreader.spec index 858c6dd..743f437 100644 --- a/xreader.spec +++ b/xreader.spec @@ -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 '/.*.*/d' \ @@ -138,7 +140,7 @@ export LDFLAGS="-Wl,--as-needed %{__global_ldflags}" %changelog * Sat Jun 29 2019 Leigh Scott - 2.2.0-1 -- Update to 2.0.0 release +- Update to 2.2.0 release * Sun Feb 03 2019 Fedora Release Engineering - 2.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild