]>
Commit | Line | Data |
---|---|---|
29ea991e SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = gtk3 | |
7 | version = %{ver_major}.%{ver_minor} | |
aaf503b9 | 8 | ver_major = 3.20 |
bc95650d | 9 | ver_minor = 0 |
10d85c66 | 10 | release = 2 |
29ea991e SS |
11 | |
12 | groups = System/Libraries | |
13 | url = http://www.gtk.org | |
14 | license = LGPLv2+ | |
15 | summary = The GIMP Toolkit, a library for creating GUIs for X. | |
16 | ||
17 | description | |
18 | GTK+ is a multi-platform toolkit for creating graphical user | |
19 | interfaces. | |
20 | end | |
21 | ||
22 | thisapp = gtk+-%{version} | |
23 | ||
24 | source_dl = http://download.gnome.org/sources/gtk+/%{ver_major}/ | |
25 | sources = %{thisapp}.tar.xz | |
26 | ||
27 | build | |
28 | requires | |
bc95650d | 29 | atk-devel >= 2.7.5 |
29ea991e | 30 | at-spi2-atk-devel |
aaf503b9 AM |
31 | cairo-devel >= 1.14.0 |
32 | cairo-gobject-devel >= 1.14.0 | |
33 | fontconfig-devel | |
34 | gdk-pixbuf2-devel >= 2.30.0 | |
35 | gettext-devel >= 0.18.3 | |
29ea991e | 36 | glib2-devel >= 2.35.3 |
bc95650d | 37 | gobject-introspection-devel >= 1.39.0 |
aaf503b9 | 38 | libepoxy-devel >= 1.0 |
29ea991e SS |
39 | libXi-devel |
40 | libXrandr-devel | |
41 | libXrender-devel | |
42 | libXfixes-devel | |
43 | libXdamage-devel | |
aaf503b9 | 44 | pango-devel >= 1.37.3 |
29ea991e SS |
45 | end |
46 | ||
10d85c66 MT |
47 | export LD_LIBRARY_PATH = %{DIR_APP}/gdk/.libs:%{DIR_APP}/gtk/.libs |
48 | ||
29ea991e SS |
49 | configure_options += \ |
50 | --enable-x11-backend \ | |
51 | --enable-introspection=yes \ | |
52 | --disable-gtk2-dependency \ | |
53 | --disable-wayland-backend \ | |
54 | --disable-gtk-doc-html \ | |
55 | --disable-colord \ | |
56 | --disable-cups \ | |
57 | --disable-papi | |
58 | ||
59 | install_cmds | |
60 | # Remove unneeded files. | |
61 | rm -rvf %{BUILDROOT}%{datadir}/gtk-3.0/demo | |
62 | rm -rvf %{BUILDROOT}%{bindir}/*demo* | |
63 | end | |
64 | end | |
65 | ||
66 | packages | |
67 | package %{name} | |
68 | ||
69 | package %{name}-libs | |
70 | template LIBS | |
71 | end | |
72 | ||
73 | package %{name}-devel | |
74 | template DEVEL | |
75 | ||
be1c6800 SS |
76 | requires |
77 | at-spi2-atk-devel | |
78 | atk-devel | |
79 | glib2-devel | |
80 | end | |
81 | ||
29ea991e SS |
82 | files += \ |
83 | %{datadir}/gir*/ | |
84 | end | |
85 | ||
86 | package %{name}-debuginfo | |
87 | template DEBUGINFO | |
88 | end | |
89 | end |