!11 [sync] PR-6: fix build error for loongarch64

From: @openeuler-sync-bot 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
This commit is contained in:
openeuler-ci-bot 2024-04-11 01:54:19 +00:00 committed by Gitee
commit 4d2e54bacd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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