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