Gentoo Archives: gentoo-commits

From: "Theo Chatzimichos (tampakrap)" <tampakrap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-sql: ChangeLog qt-sql-4.7.2.ebuild
Date: Tue, 01 Mar 2011 19:10:48
Message-Id: 20110301191033.B64DF20054@flycatcher.gentoo.org
1 tampakrap 11/03/01 19:10:33
2
3 Modified: ChangeLog
4 Added: qt-sql-4.7.2.ebuild
5 Log:
6 Version bump Qt 4.7.2
7
8 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.104 x11-libs/qt-sql/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/ChangeLog?rev=1.104&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/ChangeLog?rev=1.104&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/ChangeLog?r1=1.103&r2=1.104
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v
20 retrieving revision 1.103
21 retrieving revision 1.104
22 diff -u -r1.103 -r1.104
23 --- ChangeLog 23 Dec 2010 07:56:50 -0000 1.103
24 +++ ChangeLog 1 Mar 2011 19:10:33 -0000 1.104
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/qt-sql
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.103 2010/12/23 07:56:50 ssuominen Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.104 2011/03/01 19:10:33 tampakrap Exp $
31 +
32 +*qt-sql-4.7.2 (01 Mar 2011)
33 +
34 + 01 Mar 2011; Theo Chatzimichos <tampakrap@g.o> +qt-sql-4.7.2.ebuild:
35 + Version bump Qt 4.7.2
36
37 23 Dec 2010; Samuli Suominen <ssuominen@g.o> qt-sql-4.6.3-r2.ebuild:
38 ppc64 stable wrt #341703
39
40
41
42 1.1 x11-libs/qt-sql/qt-sql-4.7.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/qt-sql-4.7.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-sql/qt-sql-4.7.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: qt-sql-4.7.2.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.7.2.ebuild,v 1.1 2011/03/01 19:10:33 tampakrap Exp $
52
53 EAPI="3"
54 inherit qt4-build
55
56 DESCRIPTION="The SQL module for the Qt toolkit"
57 SLOT="4"
58 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"
59 IUSE="firebird freetds iconv mysql odbc postgres qt3support +sqlite"
60
61 DEPEND="~x11-libs/qt-core-${PV}[aqua=,debug=,qt3support=]
62 firebird? ( dev-db/firebird )
63 freetds? ( dev-db/freetds )
64 mysql? ( virtual/mysql )
65 odbc? ( dev-db/unixODBC )
66 postgres? ( dev-db/postgresql-base )
67 sqlite? ( dev-db/sqlite:3 )"
68 RDEPEND="${DEPEND}"
69
70 pkg_setup() {
71 QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
72 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
73 include/Qt/
74 include/QtCore/
75 include/QtSql/
76 include/QtScript/
77 src/src.pro
78 src/corelib/
79 src/plugins
80 src/3rdparty
81 src/tools"
82
83 if ! ( use firebird || use freetds || use mysql || use odbc || use postgres || use sqlite );
84 then
85 ewarn "You need to enable at least one SQL driver. Enable at least"
86 ewarn "one of these USE flags: \"firebird freetds mysql odbc postgres sqlite tds\"."
87 die "Enable at least one SQL driver."
88 fi
89
90 qt4-build_pkg_setup
91 }
92
93 src_prepare() {
94 qt4-build_src_prepare
95
96 sed -e '/pg_config --libs/d' -i "${S}"/configure \
97 || die "sed to fix postgresql usage in ./configure failed"
98 }
99
100 src_configure() {
101 # Don't support sqlite2 anymore
102 myconf="${myconf} -no-sql-sqlite2
103 $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I${EPREFIX}/usr/include/mysql -L${EPREFIX}/usr/$(get_libdir)/mysql ")
104 $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I${EPREFIX}/usr/include/postgresql/pgsql ")
105 $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
106 $(qt_use odbc sql-odbc plugin)
107 $(qt_use freetds sql-tds plugin)
108 $(qt_use firebird sql-ibase plugin)
109 $(qt_use qt3support)"
110
111 myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender
112 -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
113 -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
114 -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
115 -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
116 -no-fontconfig -no-glib -no-opengl -no-svg -no-gtkstyle"
117
118 qt4-build_src_configure
119 }