Switch to meson
This commit is contained in:
parent
d19223c37a
commit
f393735098
24
xreader.spec
24
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 '/.*<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
|
||||
|
|
Loading…
Reference in New Issue