Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-core: metadata.xml ChangeLog qt-core-4.4.0_rc1.ebuild Manifest
Date: Fri, 21 Dec 2007 18:59:24
Message-Id: E1J5n5V-0002kS-RX@stork.gentoo.org
1 caleb 07/12/21 18:59:13
2
3 Added: metadata.xml ChangeLog qt-core-4.4.0_rc1.ebuild
4 Manifest
5 Log:
6 Initial commit
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.1 x11-libs/qt-core/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>qt</herd>
21 </pkgmetadata>
22
23
24
25 1.1 x11-libs/qt-core/ChangeLog
26
27 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/ChangeLog?rev=1.1&view=markup
28 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/ChangeLog?rev=1.1&content-type=text/plain
29
30 Index: ChangeLog
31 ===================================================================
32 # ChangeLog for x11-libs/qt-core
33 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
34 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/ChangeLog,v 1.1 2007/12/21 18:59:13 caleb Exp $
35
36 *qt-core-4.4.0_rc1 (21 Dec 2007)
37
38 21 Dec 2007; Caleb Tennis <caleb@g.o> +metadata.xml,
39 +qt-core-4.4.0_rc1.ebuild:
40 Initial ebuild
41
42
43
44
45 1.1 x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: qt-core-4.4.0_rc1.ebuild
51 ===================================================================
52 # Copyright 1999-2007 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild,v 1.1 2007/12/21 18:59:13 caleb Exp $
55
56 inherit qt4-build
57
58 SRCTYPE="preview-opensource-src"
59 DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework."
60 HOMEPAGE="http://www.trolltech.com/"
61
62 MY_PV=${PV/_rc/-tp}
63
64 SRC_URI="ftp://ftp.trolltech.com/pub/qt/source/qt-x11-${SRCTYPE}-${MY_PV}.tar.gz"
65 S=${WORKDIR}/qt-x11-${SRCTYPE}-${MY_PV}
66
67 LICENSE="|| ( QPL-1.0 GPL-2 )"
68 SLOT="4"
69 KEYWORDS="~x86"
70
71 IUSE="glib qt3support ssl"
72
73 RDEPEND="ssl? ( dev-libs/openssl )
74 sys-libs/zlib
75 glib? ( dev-libs/glib )" # Used in QtNetwork module
76
77 DEPEND="${RDEPEND}
78 dev-util/pkgconfig
79 !=x11-libs/qt-4.3*
80 !=x11-libs/qt-4.2*
81 !=x11-libs/qt-4.1*
82 !=x11-libs/qt-4.0*"
83
84 src_unpack() {
85 qt4-build_src_unpack
86 }
87
88 src_compile() {
89 local myconf=$(standard_configure_options)
90
91 use ssl && myconf="${myconf} -openssl" || myconf="${myconf} -no-openssl"
92 use glib && myconf="${myconf} -glib" || myconf="${myconf} -no-glib"
93 use qt3support && myconf="${myconf} -qt3support" || myconf="${myconf} -no-qt3support"
94
95 myconf="${myconf} -no-xkb -no-tablet -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor \
96 -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-qdbus -iconv -no-cups -no-nis \
97 -no-gif -no-libpng -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon \
98 -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-glib -no-opengl ${myconf}"
99
100 echo ./configure ${myconf}
101 ./configure ${myconf} || die
102
103 build_directories src/tools/moc src/tools/rcc src/tools/uic src/corelib src/xml src/network
104 }
105
106 src_install() {
107 dobin "${S}"/bin/qmake
108 dobin "${S}"/bin/moc
109 dobin "${S}"/bin/rcc
110 dobin "${S}"/bin/uic
111
112 install_directories src/corelib src/xml src/network
113
114 # TODO: don't override qconfig.pri when a new fresh set of options if there are some already installed on the system
115 cd "${S}" && emake INSTALL_ROOT="${D}" install_mkspecs || die
116
117 fix_library_files
118
119 # List all the multilib libdirs
120 local libdirs
121 for libdir in $(get_all_libdirs); do
122 libdirs="${libdirs}:/usr/${libdir}/qt4"
123 done
124
125 cat > "${T}/44qt4" << EOF
126 LDPATH=${libdirs:1}
127 EOF
128
129 doenvd "${T}/44qt4"
130 }
131
132 pkg_setup() {
133 qt4-build_pkg_setup
134
135 if has_version x11-libs/qt-core; then
136 if use glib && ! built_with_use x11-libs/qt-core glib && has_version x11-libs/qt-gui; then
137 ewarn "You have changed the \"glib\" use flag since the last time you have emerged this package."
138 ewarn "You should also re-emerge x11-libs/qt-gui in order for it to pick up this change."
139 elif ! use glib && built_with_use x11-libs/qt-core glib && has_version x11-libs/qt-gui; then
140 ewarn "You have changed the \"glib\" use flag since the last time you have emerged this package."
141 ewarn "You should also re-emerge x11-libs/qt-gui in order for it to pick up this change."
142 fi
143
144 if use qt3support && ! built_with_use x11-libs/qt-core qt3support; then
145 local need_to_remove="";
146 ewarn "You have changed the \"qt3support\" use flag since the last time you have emerged this package."
147 if has_version x11-libs/qt-sql; then
148 need_to_remove="${need_to_remove} x11-libs/qt-sql"
149 fi
150 if has_version x11-libs/qt-opengl; then
151 need_to_remove="${need_to_remove} x11-libs/qt-opengl"
152 fi
153 if has_version x11-libs/qt-gui; then
154 need_to_remove="${need_to_remove} x11-libs/qt-gui"
155 fi
156 if [ -n "${need_to_remove}" ]; then
157 die "You must first unmerge these packages before continuing: ${need_to_remove}"
158 fi
159 elif ! use qt3support && built_with_use x11-libs/qt-core qt3support; then
160 local need_to_remove="";
161 ewarn "You have changed the \"qt3support\" use flag since the last time you have emerged this package."
162 if has_version x11-libs/qt-sql; then
163 need_to_remove="${need_to_remove} x11-libs/qt-sql"
164 fi
165 if has_version x11-libs/qt-opengl; then
166 need_to_remove="${need_to_remove} x11-libs/qt-opengl"
167 fi
168 if has_version x11-libs/qt-gui; then
169 need_to_remove="${need_to_remove} x11-libs/qt-gui"
170 fi
171 if [ -n "${need_to_remove}" ]; then
172 die "You must first unmerge these packages before continuing: ${need_to_remove}"
173 fi
174 fi
175 fi
176 }
177
178
179 1.1 x11-libs/qt-core/Manifest
180
181 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/Manifest?rev=1.1&view=markup
182 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/Manifest?rev=1.1&content-type=text/plain
183
184 Index: Manifest
185 ===================================================================
186 DIST qt-x11-preview-opensource-src-4.4.0-tp1.tar.gz 56029137 RMD160 dd2dee9afaa9d16bdf5ca2bed82a3b9e2162bdd2 SHA1 e242dc542eb1424a51c47e7c80aaefd26668451c SHA256 1757416bda52c34ade3a49b5896bafe9e3cfe092d3180da32d520f94324c0b88
187 EBUILD qt-core-4.4.0_rc1.ebuild 4280 RMD160 3f3a214fd81c53020ffb90baa67b0d6d50df64fc SHA1 3f21fc542d7fa42b8dcf1bbf8cc88b07793a33d7 SHA256 b37411276084c3eab7c980fc08465476803f81dfca1dd904de9a711ec426f379
188 MD5 c2011ee80aea37121d3110d5d0afaee5 qt-core-4.4.0_rc1.ebuild 4280
189 RMD160 3f3a214fd81c53020ffb90baa67b0d6d50df64fc qt-core-4.4.0_rc1.ebuild 4280
190 SHA256 b37411276084c3eab7c980fc08465476803f81dfca1dd904de9a711ec426f379 qt-core-4.4.0_rc1.ebuild 4280
191 MISC ChangeLog 260 RMD160 b40cd771b239604a4474c269040c48d25d951f02 SHA1 fcba632d2a2722f4907f750c80f0a0e2ce6a057e SHA256 781cde00de634fdbdb54769fdc1244564712ddb34fc47ea7954e708bc94cb154
192 MD5 3a86ba041dfff4651df2bac9a69e80d6 ChangeLog 260
193 RMD160 b40cd771b239604a4474c269040c48d25d951f02 ChangeLog 260
194 SHA256 781cde00de634fdbdb54769fdc1244564712ddb34fc47ea7954e708bc94cb154 ChangeLog 260
195 MISC metadata.xml 156 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc SHA1 e872bab086832a9db3f0fa9b1897c70577d3af21 SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448
196 MD5 512150b47a904b0240101e319856aab1 metadata.xml 156
197 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc metadata.xml 156
198 SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448 metadata.xml 156
199 MD5 82e8a2d695216d8ed9d69b21cb2b06fc files/digest-qt-core-4.4.0_rc1 325
200 RMD160 b82b94eb49ac3711f85f127b3b2d336ebc7e2711 files/digest-qt-core-4.4.0_rc1 325
201 SHA256 76d5f09c74420bfa920616103da36e3bab698f3932f4db60db3d499ff34abf0e files/digest-qt-core-4.4.0_rc1 325
202
203
204
205 --
206 gentoo-commits@g.o mailing list