gdk-pixbuf-xlib/gdk-pixbuf-xlib.spec
Jingyun Hua b7f56cbb9b fix build error for loongarch64
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
(cherry picked from commit 23cb223a3ac0fe9d69868c1d29a139e25e7586c9)
2024-04-11 09:38:53 +08:00

51 lines
1.4 KiB
RPMSpec

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 <huajingyun@loongson.cn> - 2.40.2-2
- fix build error for loongarch64
* Wed Feb 09 2022 liweigang <liweiganga@uniontech.com> - 2.40.2-1
- init package