]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/qt/qt.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x into systemd
[people/ms/ipfire-3.x.git] / pkgs / qt / qt.nm
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
28 PKG_VER = 4.7.0
29 PKG_REL = 3
30
31 PKG_MAINTAINER =
32 PKG_GROUPS = 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
37 PKG_PACKAGES += $(PKG_NAME_REAL)-devel
38 PKG_FILES-$(PKG_NAME_REAL)-devel += \
39 /usr/lib/*.prl \
40 /usr/lib/qt4/q3porting.xml \
41 /usr/bin \
42 /usr/lib/qt4/*.prl \
43 /usr/lib/qt4/mkspecs
44
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
49
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 \
58 -datadir /usr/lib/qt4 \
59 -headerdir /usr/include \
60 -plugindir /usr/lib/qt4/plugins \
61 -translationdir /usr/share/qt4/translations \
62 -confirm-license \
63 -fontconfig \
64 -largefile \
65 -opensource \
66 -reduce-relocations \
67 -release \
68 -shared \
69 -no-audio-backend \
70 -no-dbus \
71 -no-gtkstyle \
72 -no-cups \
73 -no-javascript-jit \
74 -no-multimedia \
75 -no-nas-sound \
76 -no-nis \
77 -no-openssl \
78 -no-opengl \
79 -no-openvg \
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 \
91 -no-sql-mysql \
92 -no-sql-oci \
93 -no-sql-odbc \
94 -no-sql-psql \
95 -no-sql-sqlite \
96 -no-sql-sqlite2 \
97 -no-sql-sqlite_symbian \
98 -no-sql-tds \
99 -no-stl \
100 -no-svg \
101 -no-webkit \
102 -no-xinerama \
103 -no-xshape \
104 -no-xsync \
105 -no-xvideo \
106 -no-mmx \
107 -no-sse \
108 -no-sse2 \
109 -no-3dnow \
110 -system-libjpeg \
111 -system-libmng \
112 -system-libpng \
113 -system-libtiff \
114 -system-zlib \
115 -nomake demos \
116 -nomake docs \
117 -nomake examples
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