Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-sql: ChangeLog qt-sql-4.5.1.ebuild
Date: Mon, 27 Apr 2009 19:48:47
Message-Id: E1LyWom-0007mA-HV@stork.gentoo.org
1 hwoarang 09/04/27 19:48:44
2
3 Modified: ChangeLog
4 Added: qt-sql-4.5.1.ebuild
5 Log:
6 Qt 4.5.1 release version bump
7 (Portage version: 2.2_rc31/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.38 x11-libs/qt-sql/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-sql/ChangeLog?rev=1.38&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-sql/ChangeLog?rev=1.38&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-sql/ChangeLog?r1=1.37&r2=1.38
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v
19 retrieving revision 1.37
20 retrieving revision 1.38
21 diff -u -r1.37 -r1.38
22 --- ChangeLog 15 Apr 2009 12:19:24 -0000 1.37
23 +++ ChangeLog 27 Apr 2009 19:48:44 -0000 1.38
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.37 2009/04/15 12:19:24 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.38 2009/04/27 19:48:44 hwoarang Exp $
29 +
30 +*qt-sql-4.5.1 (27 Apr 2009)
31 +
32 + 27 Apr 2009; Markos Chandras <hwoarang@g.o> +qt-sql-4.5.1.ebuild:
33 + Version bump to 4.5.1
34
35 15 Apr 2009; Brent Baude <ranger@g.o> qt-sql-4.4.2-r1.ebuild:
36 Marking qt-sql-4.4.2-r1 ppc64 for bug 263945
37
38
39
40 1.1 x11-libs/qt-sql/qt-sql-4.5.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-sql/qt-sql-4.5.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-sql/qt-sql-4.5.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: qt-sql-4.5.1.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.1.ebuild,v 1.1 2009/04/27 19:48:44 hwoarang 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 sqlite? ( dev-db/sqlite:3 )
62 mysql? ( virtual/mysql )
63 postgres? ( virtual/postgresql-base )
64 odbc? ( dev-db/unixODBC )"
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 pkg_setup() {
81 if ! (use firebird || use mysql || use odbc || use postgres || use sqlite); then
82 ewarn "You need to enable at least one SQL driver. Enable at least"
83 ewarn "one of these USE flags: \"firebird mysql odbc postgres sqlite\""
84 die "Enable at least one SQL driver."
85 fi
86
87 qt4-build_pkg_setup
88 }
89
90 src_unpack() {
91 qt4-build_src_unpack
92
93 sed -e '/pg_config --libs/d' -i "${S}"/configure \
94 || die 'Sed to fix postgresql usage in ./configure failed.'
95 }
96
97 src_configure() {
98 # Don't support sqlite2 anymore
99 myconf="${myconf} -no-sql-sqlite2
100 $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I/usr/include/mysql -L/usr/$(get_libdir)/mysql ")
101 $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I/usr/include/postgresql/pgsql ")
102 $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
103 $(qt_use odbc sql-odbc plugin)
104 $(qt_use qt3support)"
105
106 myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender -no-xrandr
107 -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
108 -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
109 -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
110 -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig
111 -no-glib -no-opengl -no-svg -no-gtkstyle"
112
113 qt4-build_src_configure
114 }