]>
Commit | Line | Data |
---|---|---|
6bd477eb SS |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = qt | |
c6dfe5f3 | 28 | PKG_VER = 4.7.0 |
4acac6c2 | 29 | PKG_REL = 3 |
6bd477eb SS |
30 | |
31 | PKG_MAINTAINER = | |
32 | PKG_GROUP = System/Libraries | |
33 | PKG_URL = http://www.qtsoftware.com/ | |
34 | PKG_LICENSE = LGPLv2 with exceptions or GPLv3 with exceptions | |
35 | PKG_SUMMARY = Qt toolkit. | |
36 | ||
6ffdb2b8 MT |
37 | PKG_PACKAGES += $(PKG_NAME_REAL)-devel |
38 | PKG_FILES-$(PKG_NAME_REAL)-devel += \ | |
4e28f667 | 39 | /usr/lib/*.prl \ |
6ffdb2b8 MT |
40 | /usr/lib/qt4/q3porting.xml \ |
41 | /usr/bin \ | |
42 | /usr/lib/qt4/*.prl \ | |
43 | /usr/lib/qt4/mkspecs | |
44 | ||
9ffc9c2c MT |
45 | PKG_BUILD_DEPS+= fontconfig-devel freetype-devel gcc-c++ libjpeg-devel \ |
46 | libmng-devel libpng-devel libtiff-devel libX11-devel \ | |
47 | libXext-devel libXfixes-devel libXrandr-devel libXrender-devel \ | |
48 | libXi-devel pcre-devel pkg-config xorg-x11-proto-devel zlib-devel | |
6ffdb2b8 | 49 | |
6bd477eb SS |
50 | define PKG_DESCRIPTION |
51 | Qt is a software toolkit for developing applications. | |
52 | endef | |
53 | ||
54 | PKG_TARBALL = $(PKG_NAME)-everywhere-opensource-src-$(PKG_VER).tar.gz | |
55 | ||
56 | CONFIGURE_OPTIONS = -v \ | |
57 | -prefix /usr \ | |
6ffdb2b8 MT |
58 | -datadir /usr/lib/qt4 \ |
59 | -headerdir /usr/include \ | |
60 | -plugindir /usr/lib/qt4/plugins \ | |
61 | -translationdir /usr/share/qt4/translations \ | |
6bd477eb | 62 | -confirm-license \ |
6ffdb2b8 | 63 | -fontconfig \ |
6bd477eb | 64 | -largefile \ |
6ffdb2b8 | 65 | -opensource \ |
6bd477eb | 66 | -reduce-relocations \ |
6ffdb2b8 MT |
67 | -release \ |
68 | -shared \ | |
6bd477eb | 69 | -no-audio-backend \ |
6ffdb2b8 | 70 | -no-dbus \ |
6bd477eb | 71 | -no-gtkstyle \ |
6ffdb2b8 MT |
72 | -no-cups \ |
73 | -no-javascript-jit \ | |
74 | -no-multimedia \ | |
6bd477eb | 75 | -no-nas-sound \ |
6ffdb2b8 MT |
76 | -no-nis \ |
77 | -no-openssl \ | |
6bd477eb SS |
78 | -no-opengl \ |
79 | -no-openvg \ | |
6ffdb2b8 MT |
80 | -no-qt3support \ |
81 | -no-pch \ | |
82 | -no-phonon \ | |
83 | -no-phonon-backend \ | |
84 | -no-rpath \ | |
85 | -no-script \ | |
86 | -no-scripttools \ | |
87 | -no-separate-debug-info \ | |
88 | -no-sm \ | |
89 | -no-sql-db2 \ | |
90 | -no-sql-ibase \ | |
6bd477eb | 91 | -no-sql-mysql \ |
6ffdb2b8 | 92 | -no-sql-oci \ |
6bd477eb | 93 | -no-sql-odbc \ |
6ffdb2b8 | 94 | -no-sql-psql \ |
6bd477eb | 95 | -no-sql-sqlite \ |
6ffdb2b8 MT |
96 | -no-sql-sqlite2 \ |
97 | -no-sql-sqlite_symbian \ | |
6bd477eb | 98 | -no-sql-tds \ |
6ffdb2b8 MT |
99 | -no-stl \ |
100 | -no-svg \ | |
6bd477eb | 101 | -no-webkit \ |
6ffdb2b8 | 102 | -no-xinerama \ |
6bd477eb | 103 | -no-xshape \ |
6bd477eb | 104 | -no-xsync \ |
6ffdb2b8 | 105 | -no-xvideo \ |
6bd477eb SS |
106 | -no-mmx \ |
107 | -no-sse \ | |
108 | -no-sse2 \ | |
109 | -no-3dnow \ | |
6bd477eb | 110 | -system-libjpeg \ |
6ffdb2b8 MT |
111 | -system-libmng \ |
112 | -system-libpng \ | |
6bd477eb SS |
113 | -system-libtiff \ |
114 | -system-zlib \ | |
115 | -nomake demos \ | |
6ffdb2b8 MT |
116 | -nomake docs \ |
117 | -nomake examples | |
6bd477eb SS |
118 | |
119 | DIR_APP = $(DIR_SRC)/$(PKG_NAME)-everywhere-opensource-src-$(PKG_VER) | |
120 | ||
121 | define STAGE_PREPARE_CMDS | |
122 | cd $(DIR_APP) && sed -e "s/-O2/$(CFLAGS)/g" -i mkspecs/*/qmake.conf | |
123 | endef | |
124 | ||
125 | define STAGE_INSTALL | |
126 | cd $(DIR_APP) && make install INSTALL_ROOT=$(BUILDROOT) | |
127 | endef |