Summary: An image loading and scaling library - cross MinGW32 version
Summary(pl.UTF-8): Biblioteka ładująca i skalująca obrazki - wersja skrośna MinGW32
Name: crossmingw32-gdk-pixbuf2
-Version: 2.30.4
+Version: 2.36.4
Release: 1
License: LGPL v2+
Group: Development/Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.30/gdk-pixbuf-%{version}.tar.xz
-# Source0-md5: f20c0a5aa827332869c85c47d88394ce
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.36/gdk-pixbuf-%{version}.tar.xz
+# Source0-md5: aef5fe5888b9f578573e331501d08f85
Patch0: gdk-pixbuf2-png-nodep.patch
Patch1: gdk-pixbuf2-gdip.patch
-URL: http://developer.gnome.org/gdk-pixbuf/
+URL: https://developer.gnome.org/gdk-pixbuf/
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
BuildRequires: crossmingw32-gcc
BuildRequires: crossmingw32-glib2 >= 2.37.6
BuildRequires: crossmingw32-jasper
BuildRequires: crossmingw32-libpng
-BuildRequires: gettext-devel >= 0.17
-BuildRequires: gtk-doc >= 1.11
+BuildRequires: gettext-tools >= 0.19
+BuildRequires: gtk-doc >= 1.20
BuildRequires: libtool >= 2:2.2.6
BuildRequires: pkgconfig >= 1:0.15
+BuildRequires: sed >= 4.0
BuildRequires: tar >= 1:1.22
BuildRequires: xz
%if %{without gdiplus}
%patch0 -p1
%patch1 -p1
+# disable thumbnailer (unwanted, generates files using built library/binary)
+%{__sed} -i -e '/^SUBDIRS/s/ thumbnailer / /' Makefile.am
+
%build
%{__gettextize}
%{__libtoolize}
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_dlldir}
-mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
+%{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
%if 0%{!?debug:1}
%{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll \
%defattr(644,root,root,755)
%{_libdir}/libgdk_pixbuf-2.0.dll.a
%{_libdir}/libgdk_pixbuf-2.0.la
-%{_libdir}/gdk_pixbuf-2.0.def
%{_includedir}/gdk-pixbuf-2.0
%{_pkgconfigdir}/gdk-pixbuf-2.0.pc