Avoid using deprecated meson options

... and drop jasper-devel BR as the support is gone in gdk-pixbuf 2.42.
This commit is contained in:
Kalev Lember 2021-02-19 22:55:54 +01:00
parent 373bde41eb
commit b2b9544c02

View File

@ -2,7 +2,7 @@
Name: gdk-pixbuf2
Version: 2.42.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: An image loading library
License: LGPLv2+
@ -15,7 +15,6 @@ BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
BuildRequires: libpng-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: jasper-devel
BuildRequires: meson
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.3
# gdk-pixbuf does a configure time check which uses the GIO mime
@ -61,8 +60,9 @@ the functionality of the installed %{name} package.
%build
%meson -Dbuiltin_loaders=png \
-Ddocs=true \
-Djasper=true
-Dgtk_doc=true \
-Dman=true \
%{nil}
%global _smp_mflags -j1
%meson_build
@ -117,6 +117,9 @@ gdk-pixbuf-query-loaders-%{__isa_bits} --update-cache
%{_datadir}/installed-tests
%changelog
* Fri Feb 19 2021 Kalev Lember <klember@redhat.com> - 2.42.2-2
- Avoid using deprecated meson options
* Fri Feb 19 2021 Kalev Lember <klember@redhat.com> - 2.42.2-1
- Update to 2.42.2
- Split out gdk-pixbuf2-xlib to separate source package