From a71fd03f1c2dbe8215fa3f5ffa1d3d3309da272d165fc73af3f46b9c5d4462ee Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Tue, 20 Feb 2024 11:52:03 +0000 Subject: [PATCH] Accepting request 1147766 from home:alarrosa:branches:graphics - Replace BuildRequires libSDL2-devel with pkgconfig(sdl2) which fixes building in SLE where both libSDL2-devel and a newer SDL2-devel packages are available. OBS-URL: https://build.opensuse.org/request/show/1147766 OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=146 --- gegl.changes | 7 +++++++ gegl.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gegl.changes b/gegl.changes index 5730941..d297e6c 100644 --- a/gegl.changes +++ b/gegl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 20 10:19:01 UTC 2024 - Antonio Larrosa + +- Replace BuildRequires libSDL2-devel with pkgconfig(sdl2) which + fixes building in SLE where both libSDL2-devel and a newer + SDL2-devel packages are available. + ------------------------------------------------------------------- Mon Jun 26 14:21:34 UTC 2023 - Muhammad Akbar Yanuar Mantari diff --git a/gegl.spec b/gegl.spec index e63a349..84b0d51 100644 --- a/gegl.spec +++ b/gegl.spec @@ -1,7 +1,7 @@ # # spec file for package gegl # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,7 +40,6 @@ BuildRequires: asciidoc BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel >= 1.32.0 BuildRequires: gtk-doc -BuildRequires: libSDL2-devel BuildRequires: libjpeg-devel BuildRequires: libspiro-devel BuildRequires: libstdc++-devel @@ -82,6 +81,7 @@ BuildRequires: pkgconfig(pango) >= 1.38.0 BuildRequires: pkgconfig(pangocairo) >= 1.38.0 BuildRequires: pkgconfig(poppler-glib) >= 0.71.0 BuildRequires: pkgconfig(pygobject-3.0) +BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(vapigen) >= 0.20.0 # since version 0.3.5, we no longer provide an orig-addon package, as ffmpeg/libav # exists in Tumbleweed and we use it to build