fix build error for loongarch64

Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
(cherry picked from commit 23cb223a3ac0fe9d69868c1d29a139e25e7586c9)
This commit is contained in:
Jingyun Hua 2023-01-10 17:03:04 +08:00 committed by openeuler-sync-bot
parent 8fdd711130
commit b7f56cbb9b

View File

@ -1,6 +1,6 @@
Name: gdk-pixbuf-xlib
Version: 2.40.2
Release: 1
Release: 2
Summary: GdkPixbuf-Xlib contains the deprecated API for integrating GdkPixbuf with Xlib data types.
License: LGPLv2+
@ -9,6 +9,9 @@ Source0: https://gitlab.gnome.org/Archive/%{name}/-/archive/%{version}/%{
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
@ -40,5 +43,8 @@ tools to complete application suites.
%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