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