From e4543820fc1231d5c0e5f60d9629d9906a0cd70a Mon Sep 17 00:00:00 2001 From: Jingyun Hua Date: Tue, 10 Jan 2023 17:03:04 +0800 Subject: [PATCH] fix build error for loongarch64 Signed-off-by: Jingyun Hua (cherry picked from commit 23cb223a3ac0fe9d69868c1d29a139e25e7586c9) --- gdk-pixbuf-xlib.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gdk-pixbuf-xlib.spec b/gdk-pixbuf-xlib.spec index a9fe571..cad83e1 100644 --- a/gdk-pixbuf-xlib.spec +++ b/gdk-pixbuf-xlib.spec @@ -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 - 2.40.2-2 +- fix build error for loongarch64 + * Wed Feb 09 2022 liweigang - 2.40.2-1 - init package -- Gitee