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