SHA256
1
0
forked from pool/gegl

Accepting request 722945 from home:StefanBruens:branches:graphics

Port to SDL2

OBS-URL: https://build.opensuse.org/request/show/722945
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=78
This commit is contained in:
2019-08-14 12:09:06 +00:00
committed by Git OBS Bridge
parent e2895a444b
commit 1fa7a2756e
5 changed files with 588 additions and 1 deletions

View File

@@ -27,11 +27,18 @@ Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.bz
Source99: baselibs.conf
# PATCH-FIX-OPENSUSE -- install bundled documentation even if enscript is not installed
Patch0: fix_doc_installation.patch
# PATCH-FIX-UPSTREAM -- glgo#GNOME/gegl!184 1/3
Patch1: 0001-Extend-configure-checks-with-checks-for-SDL2.patch
# PATCH-FIX-UPSTREAM -- glgo#GNOME/gegl!184 2/3
Patch2: 0002-Port-sdl-display-to-SDL2.patch
# PATCH-FIX-UPSTREAM -- glgo#GNOME/gegl!184 3/3
Patch3: 0003-Port-sdl-draw-example-to-SDL2.patch
BuildRequires: ImageMagick
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: autoconf
BuildRequires: gcc-c++
BuildRequires: gobject-introspection-devel >= 1.32.0
BuildRequires: libSDL2-devel
BuildRequires: libjpeg-devel
BuildRequires: libspiro-devel
BuildRequires: libstdc++-devel
@@ -144,6 +151,7 @@ input and output.
%autosetup -p1
%build
./autogen.sh
%configure \
--disable-static \
%{nil}