]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - qt/qt.nm
python3-cairo: New package.
[people/amarx/ipfire-3.x.git] / qt / qt.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = qt
7 version = 4.8.1
8 release = 1
9
10 groups = System/Libraries
11 url = http://qt-project.org/
12 license = LGPLv2 with exceptions or GPLv3 with exceptions
13 summary = Qt toolkit.
14
15 description
16 Qt is a software toolkit for developing applications.
17 end
18
19 source_dl = http://releases.qt-project.org/qt4/source/
20 sources = %{name}-everywhere-opensource-src-%{version}.tar.gz
21
22 build
23 requires
24 /usr/bin/perl
25 fontconfig-devel
26 freetype-devel
27 gcc-c++
28 libjpeg-devel
29 libmng-devel
30 libpng-devel
31 libtiff-devel
32 libX11-devel
33 libXext-devel
34 libXfixes-devel
35 libXrandr-devel
36 libXrender-devel
37 libXi-devel
38 openssl-devel
39 pcre-devel
40 pkg-config
41 xorg-x11-proto-devel
42 zlib-devel
43 end
44
45 DIR_APP = %{DIR_SRC}/%{name}-everywhere-opensource-src-%{version}
46
47 configure_options = -v \
48 -prefix /usr \
49 -libdir %{libdir} \
50 -datadir %{datadir}/qt4 \
51 -headerdir %{includedir} \
52 -plugindir %{libdir}/qt4/plugins \
53 -translationdir %{datadir}/qt4/translations \
54 -confirm-license \
55 -fontconfig \
56 -largefile \
57 -opensource \
58 -reduce-relocations \
59 -release \
60 -shared \
61 -no-audio-backend \
62 -no-dbus \
63 -no-gtkstyle \
64 -no-cups \
65 -no-javascript-jit \
66 -no-multimedia \
67 -no-nas-sound \
68 -no-nis \
69 -no-opengl \
70 -no-openvg \
71 -no-qt3support \
72 -no-pch \
73 -no-phonon \
74 -no-phonon-backend \
75 -no-rpath \
76 -no-script \
77 -no-scripttools \
78 -no-separate-debug-info \
79 -no-sm \
80 -no-sql-db2 \
81 -no-sql-ibase \
82 -no-sql-mysql \
83 -no-sql-oci \
84 -no-sql-odbc \
85 -no-sql-psql \
86 -no-sql-sqlite \
87 -no-sql-sqlite2 \
88 -no-sql-sqlite_symbian \
89 -no-sql-tds \
90 -no-stl \
91 -no-svg \
92 -no-webkit \
93 -no-xinerama \
94 -no-xshape \
95 -no-xsync \
96 -no-xvideo \
97 -no-mmx \
98 -no-sse \
99 -no-sse2 \
100 -no-sse3 \
101 -no-ssse3 \
102 -no-sse4.1 \
103 -no-sse4.2 \
104 -no-3dnow \
105 -system-libjpeg \
106 -system-libmng \
107 -system-libpng \
108 -system-libtiff \
109 -system-zlib \
110 -openssl-linked \
111 -nomake demos \
112 -nomake docs \
113 -nomake examples
114
115 prepare_cmds
116 sed -e "s/-O2/%{CFLAGS}/g" -i mkspecs/*/qmake.conf
117
118 # Disable the strip command to get a useful debuginfo package.
119 sed -i -e "s|^QMAKE_STRIP.*=.*|QMAKE_STRIP =|" mkspecs/common/linux.conf
120 end
121
122 install
123 make install INSTALL_ROOT=%{BUILDROOT}
124 end
125 end
126
127 packages
128 package %{name}
129
130 package %{name}-libs
131 template LIBS
132
133 files += %{libdir}/qt4/plugins
134 files += %{datadir}/qt4/phrasebooks
135 files += %{datadir}/qt4/translations
136 end
137
138 package %{name}-devel
139 template DEVEL
140
141 files += %{libdir}/*.prl
142 files += %{libdir}/qt4/q3porting.xml
143 files += %{libdir}/qt4/*.prl
144 files += %{datadir}/qt4/mkspecs
145 end
146
147 package %{name}-debuginfo
148 template DEBUGINFO
149 end
150 end