Name: gdk-pixbuf-xlib Version: 2.40.2 Release: 2 Summary: GdkPixbuf-Xlib contains the deprecated API for integrating GdkPixbuf with Xlib data types. License: LGPLv2+ URL: http://www.gtk.org Source0: https://gitlab.gnome.org/Archive/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gettext gtk-doc pkgconfig(gio-2.0) >= 2.48.0 libpng-devel libjpeg-devel libtiff-devel shared-mime-info BuildRequires: meson pkgconfig(x11) pkgconfig(gobject-introspection-1.0) >= 0.9.3 gobject-introspection-devel libxslt gdb %ifarch loongarch64 BuildRequires: pkgconfig(gdk-pixbuf-2.0) %endif Requires: glib2 >= 2.48.0 shared-mime-info %description gdk is written in C but has been designed from the ground up to support a wide range of languages. It provide a complete set of widgets,and suitable for projects ranging from small one-off tools to complete application suites. %prep %autosetup %build %meson %global _smp_mflags -j1 %meson_build %install %meson_install %files %defattr(-,root,root) %license COPYING %{_libdir}/libgdk_pixbuf* %{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf-xlib %{_libdir}/pkgconfig/gdk-pixbuf-*.pc %changelog * Tue Jan 10 2023 huajingyun - 2.40.2-2 - fix build error for loongarch64 * Wed Feb 09 2022 liweigang - 2.40.2-1 - init package