]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Revert "SDL: Remove package"
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Oct 2016 17:37:38 +0000 (18:37 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 18 Oct 2016 20:46:23 +0000 (21:46 +0100)
Actually needed by at least QEMU

This reverts commit 52e192db7770de6a941681cf4059f06184976e62.

SDL/SDL.nm [new file with mode: 0644]

diff --git a/SDL/SDL.nm b/SDL/SDL.nm
new file mode 100644 (file)
index 0000000..21fd515
--- /dev/null
@@ -0,0 +1,64 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = SDL
+version    = 1.2.15
+release    = 1
+
+groups     = System/Libraries
+url        = http://www.libsdl.org/
+license    = LGPLv2+
+summary    = A cross-platform multimedia library.
+
+description
+       Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
+       designed to provide fast access to the graphics frame buffer and audio
+       device.
+end
+
+source_dl  = http://www.libsdl.org/release/
+
+build
+       requires
+               libusb-compat-devel
+               libX11-devel
+               libXext-devel
+               libXrandr-devel
+               libXrender-devel
+               mesa-devel
+       end
+
+       if "%{DISTRO_PLATFORM}" == "x86"
+               requires += nasm
+       end
+
+       configure_options += \
+               --disable-video-svga \
+               --disable-video-ggi \
+               --disable-video-aalib \
+               --disable-video-ps3 \
+               --enable-sdl-dlopen
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+
+               requires
+                       libX11-devel
+                       libXext-devel
+                       libXrandr-devel
+                       libXrender-devel
+                       mesa-devel
+                       SDL = %{thisver}
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end