From: Michael Tremer Date: Sun, 16 Oct 2016 17:37:38 +0000 (+0100) Subject: Revert "SDL: Remove package" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453fba0bb33eb000ec283999672113418a96eca7;p=ipfire-3.x.git Revert "SDL: Remove package" Actually needed by at least QEMU This reverts commit 52e192db7770de6a941681cf4059f06184976e62. --- diff --git a/SDL/SDL.nm b/SDL/SDL.nm new file mode 100644 index 000000000..21fd5155f --- /dev/null +++ b/SDL/SDL.nm @@ -0,0 +1,64 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +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