]>
Commit | Line | Data |
---|---|---|
461f48a7 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
461f48a7 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = SDL |
27a15be3 | 7 | version = 1.2.15 |
802ea3af | 8 | release = 1 |
461f48a7 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.libsdl.org/ | |
12 | license = LGPLv2+ | |
13 | summary = A cross-platform multimedia library. | |
461f48a7 | 14 | |
802ea3af MT |
15 | description |
16 | Simple DirectMedia Layer (SDL) is a cross-platform multimedia library | |
17 | designed to provide fast access to the graphics frame buffer and audio | |
461f48a7 | 18 | device. |
802ea3af MT |
19 | end |
20 | ||
21 | source_dl = http://www.libsdl.org/release/ | |
22 | ||
23 | build | |
24 | requires | |
802ea3af | 25 | libusb-compat-devel |
27a15be3 MT |
26 | libX11-devel |
27 | libXext-devel | |
28 | libXrandr-devel | |
29 | libXrender-devel | |
30 | mesa-devel | |
802ea3af | 31 | end |
27a15be3 MT |
32 | |
33 | if "%{DISTRO_PLATFORM}" == "x86" | |
34 | requires += nasm | |
35 | end | |
36 | ||
37 | configure_options += \ | |
38 | --disable-video-svga \ | |
39 | --disable-video-ggi \ | |
40 | --disable-video-aalib \ | |
41 | --disable-video-ps3 \ | |
42 | --enable-sdl-dlopen | |
802ea3af MT |
43 | end |
44 | ||
45 | packages | |
46 | package %{name} | |
1f9bc2f0 | 47 | |
802ea3af MT |
48 | package %{name}-devel |
49 | template DEVEL | |
27a15be3 MT |
50 | |
51 | requires | |
52 | libX11-devel | |
53 | libXext-devel | |
54 | libXrandr-devel | |
55 | libXrender-devel | |
56 | mesa-devel | |
57 | SDL = %{thisver} | |
58 | end | |
802ea3af | 59 | end |
1f9bc2f0 MT |
60 | |
61 | package %{name}-debuginfo | |
62 | template DEBUGINFO | |
63 | end | |
802ea3af | 64 | end |