]>
Commit | Line | Data |
---|---|---|
453fba0b MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = SDL | |
7 | version = 1.2.15 | |
8 | release = 1 | |
9 | ||
10 | groups = System/Libraries | |
11 | url = http://www.libsdl.org/ | |
12 | license = LGPLv2+ | |
13 | summary = A cross-platform multimedia library. | |
14 | ||
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 | |
18 | device. | |
19 | end | |
20 | ||
21 | source_dl = http://www.libsdl.org/release/ | |
22 | ||
23 | build | |
24 | requires | |
25 | libusb-compat-devel | |
26 | libX11-devel | |
27 | libXext-devel | |
28 | libXrandr-devel | |
29 | libXrender-devel | |
30 | mesa-devel | |
31 | end | |
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 | |
43 | end | |
44 | ||
45 | packages | |
46 | package %{name} | |
47 | ||
48 | package %{name}-devel | |
49 | template DEVEL | |
50 | ||
51 | requires | |
52 | libX11-devel | |
53 | libXext-devel | |
54 | libXrandr-devel | |
55 | libXrender-devel | |
56 | mesa-devel | |
57 | SDL = %{thisver} | |
58 | end | |
59 | end | |
60 | ||
61 | package %{name}-debuginfo | |
62 | template DEBUGINFO | |
63 | end | |
64 | end |