]>
Commit | Line | Data |
---|---|---|
86f7e98f | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
86f7e98f SS |
4 | ############################################################################### |
5 | ||
74423daa | 6 | name = directfb |
8bc9695a SS |
7 | version = %{ver_major}.%{ver_minor} |
8 | release = 1 | |
74423daa | 9 | thisapp = DirectFB-%{version} |
86f7e98f | 10 | |
8bc9695a SS |
11 | ver_major = 1.5 |
12 | ver_minor = 3 | |
13 | ||
802ea3af MT |
14 | groups = System/Graphics |
15 | url = http://www.directfb.org/ | |
16 | license = LGPLv2+ | |
17 | summary = Graphics abstraction library for the Linux Framebuffer Device. | |
86f7e98f | 18 | |
802ea3af | 19 | description |
8bc9695a SS |
20 | DirectFB is a thin library that provides hardware graphics acceleration, |
21 | input device handling and abstraction, integrated windowing system with | |
22 | support for translucent windows and multiple display layers on top of the | |
86f7e98f | 23 | Linux Framebuffer Device. |
802ea3af MT |
24 | end |
25 | ||
8bc9695a | 26 | source_dl = http://www.directfb.org/download/DirectFBGL/DirectFB-%{ver_major}/ |
802ea3af MT |
27 | |
28 | build | |
29 | requires | |
30 | freetype-devel | |
74423daa | 31 | libjpeg-devel |
802ea3af MT |
32 | libVNCServer-devel |
33 | perl | |
34 | sysfsutils-devel | |
35 | zlib-devel | |
36 | end | |
37 | ||
8bc9695a SS |
38 | LDFLAGS += \ |
39 | -Wl,-z,relro \ | |
40 | -Wl,-z,noexecstack | |
41 | ||
802ea3af MT |
42 | configure_options += \ |
43 | --disable-x11 \ | |
44 | --enable-sdl \ | |
45 | --enable-video4linux2 \ | |
802ea3af MT |
46 | --enable-zlib \ |
47 | --with-dither-rgb16=advanced \ | |
48 | --disable-mmx \ | |
49 | --disable-sse | |
50 | end | |
51 | ||
52 | packages | |
53 | package %{name} | |
74423daa | 54 | |
802ea3af MT |
55 | package %{name}-devel |
56 | template DEVEL | |
57 | end | |
1f9bc2f0 MT |
58 | |
59 | package %{name}-debuginfo | |
60 | template DEBUGINFO | |
61 | end | |
802ea3af | 62 | end |