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