]>
Commit | Line | Data |
---|---|---|
4eb8152c | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4eb8152c MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = pango |
fdc6f71f | 7 | version = %{ver_major}.%{ver_minor} |
8694cf86 MT |
8 | ver_major = 1.36 |
9 | ver_minor = 8 | |
d414a4c2 SS |
10 | release = 2 |
11 | ||
12 | bin_version = 1.8.0 | |
4eb8152c | 13 | |
802ea3af MT |
14 | groups = System/Libraries |
15 | url = http://www.pango.org/ | |
16 | license = LGPLv2+ | |
17 | summary = System for layout and rendering of internationalized text. | |
4eb8152c | 18 | |
802ea3af | 19 | description |
74c80ab1 | 20 | Pango is a library for laying out and rendering of text, with an |
4eb8152c | 21 | emphasis on internationalization. |
802ea3af MT |
22 | end |
23 | ||
fdc6f71f | 24 | source_dl = http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{ver_major}/ |
802ea3af MT |
25 | sources = %{thisapp}.tar.xz |
26 | ||
27 | build | |
28 | requires | |
fdc6f71f | 29 | cairo-gobject-devel |
802ea3af MT |
30 | fontconfig-devel |
31 | freetype-devel | |
32 | gcc-c++ | |
33 | glib2-devel | |
fdc6f71f SS |
34 | gobject-introspection-devel |
35 | harfbuzz-devel >= 0.9.9 | |
ceff1d93 | 36 | libXft-devel |
802ea3af MT |
37 | perl |
38 | pkg-config | |
39 | end | |
40 | ||
41 | configure_options += \ | |
fdc6f71f SS |
42 | --enable-introspection=yes |
43 | ||
d414a4c2 SS |
44 | |
45 | install_cmds | |
46 | touch %{BUILDROOT}%{libdir}/pango/%{bin_version}/modules.cache | |
47 | end | |
802ea3af MT |
48 | end |
49 | ||
50 | packages | |
51 | package %{name} | |
d414a4c2 SS |
52 | script postin |
53 | /usr/bin/pango-querymodules --update-cache || : | |
54 | end | |
55 | ||
56 | script postup | |
57 | if [ ! -e "%{libdir}/pango/%{bin_version}/modules.cache" ]; then | |
58 | /usr/bin/pango-querymodules --update-cache || : | |
59 | fi | |
60 | end | |
61 | end | |
1f9bc2f0 | 62 | |
802ea3af MT |
63 | package %{name}-devel |
64 | template DEVEL | |
1f9bc2f0 | 65 | |
802ea3af MT |
66 | requires |
67 | glib2-devel | |
fdc6f71f | 68 | harfbuzz-devel |
802ea3af | 69 | end |
fdc6f71f SS |
70 | |
71 | files += %{datadir}/gir* | |
802ea3af | 72 | end |
1f9bc2f0 MT |
73 | |
74 | package %{name}-debuginfo | |
75 | template DEBUGINFO | |
76 | end | |
802ea3af | 77 | end |