Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-sql: metadata.xml ChangeLog qt-sql-4.8.0.ebuild
Date: Sun, 29 Jan 2012 17:08:22
Message-Id: 20120129170813.1943920034@flycatcher.gentoo.org
1 wired 12/01/29 17:08:13
2
3 Modified: metadata.xml ChangeLog
4 Added: qt-sql-4.8.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 x11-libs/qt-sql/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/metadata.xml?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/metadata.xml?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/metadata.xml?r1=1.5&r2=1.6
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/metadata.xml,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- metadata.xml 13 Jun 2010 17:18:44 -0000 1.5
24 +++ metadata.xml 29 Jan 2012 17:08:12 -0000 1.6
25 @@ -6,5 +6,7 @@
26 <flag name='exceptions'>Add support for exceptions - like catching them
27 inside the event loop (recommended by Nokia)</flag>
28 <flag name='qt3support'>Enable the Qt3Support libraries for Qt4</flag>
29 + <flag name='c++0x'>Build Qt using the C++11 standard</flag>
30 + <flag name='qpa'>Build a window system agnostic implementation of Qt</flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.118 x11-libs/qt-sql/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/ChangeLog?rev=1.118&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/ChangeLog?rev=1.118&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/ChangeLog?r1=1.117&r2=1.118
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v
45 retrieving revision 1.117
46 retrieving revision 1.118
47 diff -u -r1.117 -r1.118
48 --- ChangeLog 27 Dec 2011 21:28:46 -0000 1.117
49 +++ ChangeLog 29 Jan 2012 17:08:13 -0000 1.118
50 @@ -1,6 +1,12 @@
51 # ChangeLog for x11-libs/qt-sql
52 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.117 2011/12/27 21:28:46 maekke Exp $
54 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
55 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.118 2012/01/29 17:08:13 wired Exp $
56 +
57 +*qt-sql-4.8.0 (29 Jan 2012)
58 +
59 + 29 Jan 2012; Alex Alexander <wired@g.o> +qt-sql-4.8.0.ebuild,
60 + metadata.xml:
61 + version bump
62
63 27 Dec 2011; Markus Meier <maekke@g.o> qt-sql-4.7.4.ebuild:
64 x86 stable, bug #390963
65
66
67
68 1.1 x11-libs/qt-sql/qt-sql-4.8.0.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/qt-sql-4.8.0.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/qt-sql-4.8.0.ebuild?rev=1.1&content-type=text/plain
72
73 Index: qt-sql-4.8.0.ebuild
74 ===================================================================
75 # Copyright 1999-2012 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.8.0.ebuild,v 1.1 2012/01/29 17:08:13 wired Exp $
78
79 EAPI="3"
80 inherit qt4-build
81
82 DESCRIPTION="The SQL module for the Qt toolkit"
83 SLOT="4"
84 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
85 IUSE="firebird freetds iconv mysql odbc postgres qt3support +sqlite"
86
87 DEPEND="~x11-libs/qt-core-${PV}[aqua=,c++0x=,qpa=,debug=,qt3support=]
88 firebird? ( dev-db/firebird )
89 freetds? ( dev-db/freetds )
90 mysql? ( virtual/mysql )
91 odbc? ( dev-db/unixODBC )
92 postgres? ( dev-db/postgresql-base )
93 sqlite? ( dev-db/sqlite:3 )"
94 RDEPEND="${DEPEND}"
95
96 pkg_setup() {
97 QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
98 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
99 include/Qt/
100 include/QtCore/
101 include/QtSql/
102 include/QtScript/
103 src/src.pro
104 src/corelib/
105 src/plugins
106 src/3rdparty
107 src/tools"
108
109 if ! ( use firebird || use freetds || use mysql || use odbc || use postgres || use sqlite );
110 then
111 ewarn "You need to enable at least one SQL driver. Enable at least"
112 ewarn "one of these USE flags: \"firebird freetds mysql odbc postgres sqlite tds\"."
113 die "Enable at least one SQL driver."
114 fi
115
116 qt4-build_pkg_setup
117 }
118
119 src_prepare() {
120 qt4-build_src_prepare
121
122 sed -e '/pg_config --libs/d' -i "${S}"/configure \
123 || die "sed to fix postgresql usage in ./configure failed"
124 }
125
126 src_configure() {
127 # Don't support sqlite2 anymore
128 myconf="${myconf} -no-sql-sqlite2
129 $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I${EPREFIX}/usr/include/mysql -L${EPREFIX}/usr/$(get_libdir)/mysql ")
130 $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I${EPREFIX}/usr/include/postgresql/pgsql ")
131 $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
132 $(qt_use odbc sql-odbc plugin)
133 $(qt_use freetds sql-tds plugin)
134 $(qt_use firebird sql-ibase plugin)
135 $(qt_use qt3support)"
136
137 myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender
138 -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
139 -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
140 -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
141 -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
142 -no-fontconfig -no-glib -no-opengl -no-svg -no-gtkstyle"
143
144 qt4-build_src_configure
145 }