summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-11-11 14:52:55 +0000
committerBen de Groot <yngwin@gentoo.org>2009-11-11 14:52:55 +0000
commit89c8c01dbd6512f38d3c3a34ed10c0ae93726c69 (patch)
tree9a049490e1bcadb6a0c105f8d99364d9a22d0544 /x11-libs
parentVersion bump. (diff)
downloadhistorical-89c8c01dbd6512f38d3c3a34ed10c0ae93726c69.tar.gz
historical-89c8c01dbd6512f38d3c3a34ed10c0ae93726c69.tar.bz2
historical-89c8c01dbd6512f38d3c3a34ed10c0ae93726c69.zip
Remove obsolete versions
Package-Manager: portage-2.2_rc49/cvs/Linux x86_64
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qt-script/ChangeLog6
-rw-r--r--x11-libs/qt-script/qt-script-4.4.2.ebuild39
-rw-r--r--x11-libs/qt-script/qt-script-4.5.1.ebuild31
-rw-r--r--x11-libs/qt-script/qt-script-4.5.2.ebuild35
-rw-r--r--x11-libs/qt-script/qt-script-4.5.3.ebuild35
-rw-r--r--x11-libs/qt-sql/ChangeLog6
-rw-r--r--x11-libs/qt-sql/qt-sql-4.4.2-r1.ebuild71
-rw-r--r--x11-libs/qt-sql/qt-sql-4.4.2.ebuild68
-rw-r--r--x11-libs/qt-sql/qt-sql-4.5.1.ebuild71
-rw-r--r--x11-libs/qt-sql/qt-sql-4.5.2.ebuild71
10 files changed, 10 insertions, 423 deletions
diff --git a/x11-libs/qt-script/ChangeLog b/x11-libs/qt-script/ChangeLog
index 348724c03a7e..0658cbb97a43 100644
--- a/x11-libs/qt-script/ChangeLog
+++ b/x11-libs/qt-script/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt-script
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-script/ChangeLog,v 1.52 2009/11/10 22:37:23 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-script/ChangeLog,v 1.53 2009/11/11 14:52:55 yngwin Exp $
+
+ 11 Nov 2009; Ben de Groot <yngwin@gentoo.org> -qt-script-4.4.2.ebuild,
+ -qt-script-4.5.1.ebuild, -qt-script-4.5.2.ebuild, -qt-script-4.5.3.ebuild:
+ Remove obsolete versions
10 Nov 2009; Jeroen Roovers <jer@gentoo.org> qt-script-4.5.3-r1.ebuild:
Stable for HPPA (bug #290922).
diff --git a/x11-libs/qt-script/qt-script-4.4.2.ebuild b/x11-libs/qt-script/qt-script-4.4.2.ebuild
deleted file mode 100644
index fb753e5ca6dd..000000000000
--- a/x11-libs/qt-script/qt-script-4.4.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-script/qt-script-4.4.2.ebuild,v 1.9 2009/02/18 19:44:08 jer Exp $
-
-EAPI="1"
-inherit qt4-build
-
-DESCRIPTION="The ECMAScript module for the Qt toolkit"
-HOMEPAGE="http://www.trolltech.com/"
-
-LICENSE="|| ( GPL-3 GPL-2 )"
-SLOT="4"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="~x11-libs/qt-core-${PV}
- !<=x11-libs/qt-4.4.0_alpha:${SLOT}"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/script/"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
-include/Qt/
-include/QtCore/
-include/QtScript/
-src/corelib/global/
-src/corelib/kernel/
-src/corelib/plugin/"
-
-src_compile() {
- local myconf
- myconf="${myconf} -no-xkb -no-tablet -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
- -no-fontconfig -no-glib -no-opengl -no-svg"
-
- qt4-build_src_compile
-}
diff --git a/x11-libs/qt-script/qt-script-4.5.1.ebuild b/x11-libs/qt-script/qt-script-4.5.1.ebuild
deleted file mode 100644
index 2a75d56554db..000000000000
--- a/x11-libs/qt-script/qt-script-4.5.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-script/qt-script-4.5.1.ebuild,v 1.8 2009/06/30 15:02:41 armin76 Exp $
-
-EAPI="2"
-inherit qt4-build
-
-DESCRIPTION="The ECMAScript module for the Qt toolkit"
-SLOT="4"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
-IUSE="+iconv"
-
-DEPEND="~x11-libs/qt-core-${PV}[debug=]"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/script/"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
-include/Qt/
-include/QtCore/
-include/QtScript/
-src/corelib/"
-
-src_configure() {
- myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
- -no-fontconfig -no-glib -no-opengl -no-svg -no-gtkstyle"
- qt4-build_src_configure
-}
diff --git a/x11-libs/qt-script/qt-script-4.5.2.ebuild b/x11-libs/qt-script/qt-script-4.5.2.ebuild
deleted file mode 100644
index 34611921a8c3..000000000000
--- a/x11-libs/qt-script/qt-script-4.5.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-script/qt-script-4.5.2.ebuild,v 1.4 2009/10/11 17:03:17 armin76 Exp $
-
-EAPI="2"
-inherit qt4-build
-
-DESCRIPTION="The ECMAScript module for the Qt toolkit"
-SLOT="4"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
-IUSE="iconv"
-
-DEPEND="~x11-libs/qt-core-${PV}[debug=]"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/script/"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
-include/Qt/
-include/QtCore/
-include/QtScript/
-src/corelib/"
-
-PATCHES=(
- "${FILESDIR}/qt-4.5-nolibx11.diff"
-)
-
-src_configure() {
- myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
- -no-fontconfig -no-glib -no-opengl -no-svg -no-gtkstyle"
- qt4-build_src_configure
-}
diff --git a/x11-libs/qt-script/qt-script-4.5.3.ebuild b/x11-libs/qt-script/qt-script-4.5.3.ebuild
deleted file mode 100644
index bf731c3e6f41..000000000000
--- a/x11-libs/qt-script/qt-script-4.5.3.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-script/qt-script-4.5.3.ebuild,v 1.2 2009/10/29 11:25:02 fauli Exp $
-
-EAPI="2"
-inherit qt4-build
-
-DESCRIPTION="The ECMAScript module for the Qt toolkit"
-SLOT="4"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
-IUSE="iconv"
-
-DEPEND="~x11-libs/qt-core-${PV}[debug=]"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/script/"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
-include/Qt/
-include/QtCore/
-include/QtScript/
-src/corelib/"
-
-PATCHES=(
- "${FILESDIR}/qt-4.5-nolibx11.diff"
-)
-
-src_configure() {
- myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
- -no-fontconfig -no-glib -no-opengl -no-svg -no-gtkstyle"
- qt4-build_src_configure
-}
diff --git a/x11-libs/qt-sql/ChangeLog b/x11-libs/qt-sql/ChangeLog
index 78d9d8b8a0ca..13cb0e43cd68 100644
--- a/x11-libs/qt-sql/ChangeLog
+++ b/x11-libs/qt-sql/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt-sql
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.60 2009/11/10 22:35:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.61 2009/11/11 14:50:56 yngwin Exp $
+
+ 11 Nov 2009; Ben de Groot <yngwin@gentoo.org> -qt-sql-4.4.2.ebuild,
+ -qt-sql-4.4.2-r1.ebuild, -qt-sql-4.5.1.ebuild, -qt-sql-4.5.2.ebuild:
+ Remove obsolete versions
10 Nov 2009; Jeroen Roovers <jer@gentoo.org> qt-sql-4.5.3.ebuild:
Stable for HPPA (bug #290922).
diff --git a/x11-libs/qt-sql/qt-sql-4.4.2-r1.ebuild b/x11-libs/qt-sql/qt-sql-4.4.2-r1.ebuild
deleted file mode 100644
index bc9d69ddb0d7..000000000000
--- a/x11-libs/qt-sql/qt-sql-4.4.2-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.4.2-r1.ebuild,v 1.8 2009/04/28 15:34:47 jer Exp $
-
-EAPI="1"
-inherit qt4-build
-
-DESCRIPTION="The SQL module for the Qt toolkit."
-HOMEPAGE="http://www.trolltech.com/"
-
-LICENSE="|| ( GPL-3 GPL-2 )"
-SLOT="4"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-
-IUSE="firebird +iconv mysql odbc postgres +qt3support +sqlite"
-
-DEPEND="
- ~x11-libs/qt-core-${PV}
- !<=x11-libs/qt-4.4.0_alpha:${SLOT}
- firebird? ( dev-db/firebird )
- sqlite? ( dev-db/sqlite:3 )
- mysql? ( virtual/mysql )
- postgres? ( virtual/postgresql-base )
- odbc? ( dev-db/unixODBC )"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}"
-
-pkg_setup() {
- if ! (use firebird || use mysql || use odbc || use postgres || use sqlite); then
- ewarn "You need to enable at least one SQL driver. Enable at least"
- ewarn "one of these USE flags: \"firebird mysql odbc postgres sqlite\""
- die "Enable at least one SQL driver."
- fi
-
- use qt3support && QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK}
- ~x11-libs/qt-core-${PV} qt3support"
-
- qt4-build_pkg_setup
-}
-
-src_unpack() {
- qt4-build_src_unpack
-
- # Apply bugfix patches from qt-copy (KDE)
- epatch "${FILESDIR}"/0234-fix-mysql-threaded.diff
-
- sed -e '/pg_config --libs/d' -i "${S}"/configure \
- || die 'Sed to fix postgresql usage in ./configure failed.'
-}
-
-src_compile() {
- local myconf
- # Don't support sqlite2 anymore
- myconf="${myconf} -no-sql-sqlite2
- $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I/usr/include/mysql -L/usr/$(get_libdir)/mysql ")
- $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I/usr/include/postgresql/pgsql ")
- $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
- $(qt_use odbc sql-odbc plugin)
- $(qt_use qt3support)"
-
- myconf="${myconf} $(qt_use iconv) -no-xkb -no-tablet -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig
- -no-glib -no-opengl -no-svg"
-
- qt4-build_src_compile
-}
diff --git a/x11-libs/qt-sql/qt-sql-4.4.2.ebuild b/x11-libs/qt-sql/qt-sql-4.4.2.ebuild
deleted file mode 100644
index 1b9a033cafdd..000000000000
--- a/x11-libs/qt-sql/qt-sql-4.4.2.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.4.2.ebuild,v 1.9 2009/02/18 19:52:25 jer Exp $
-
-EAPI="1"
-inherit qt4-build
-
-DESCRIPTION="The SQL module for the Qt toolkit."
-HOMEPAGE="http://www.trolltech.com/"
-
-LICENSE="|| ( GPL-3 GPL-2 )"
-SLOT="4"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-
-IUSE="firebird mysql odbc postgres +qt3support +sqlite"
-
-DEPEND="
- ~x11-libs/qt-core-${PV}
- !<=x11-libs/qt-4.4.0_alpha:${SLOT}
- firebird? ( dev-db/firebird )
- sqlite? ( dev-db/sqlite:3 )
- mysql? ( virtual/mysql )
- postgres? ( virtual/postgresql-base )
- odbc? ( dev-db/unixODBC )"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}"
-
-pkg_setup() {
- if ! (use firebird || use mysql || use odbc || use postgres || use sqlite); then
- ewarn "You need to enable at least one SQL driver. Enable at least"
- ewarn "one of these USE flags: \"firebird mysql odbc postgres sqlite\""
- die "Enable at least one SQL driver."
- fi
-
- use qt3support && QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK}
- ~x11-libs/qt-core-${PV} qt3support"
-
- qt4-build_pkg_setup
-}
-
-src_unpack() {
- qt4-build_src_unpack
-
- sed -e '/pg_config --libs/d' -i "${S}"/configure \
- || die 'Sed to fix postgresql usage in ./configure failed.'
-}
-
-src_compile() {
- local myconf
- # Don't support sqlite2 anymore
- myconf="${myconf} -no-sql-sqlite2
- $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I/usr/include/mysql -L/usr/$(get_libdir)/mysql ")
- $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I/usr/include/postgresql/pgsql ")
- $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
- $(qt_use odbc sql-odbc plugin)
- $(qt_use qt3support)"
-
- myconf="${myconf} -no-xkb -no-tablet -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig
- -no-glib -no-opengl -no-svg"
-
- qt4-build_src_compile
-}
diff --git a/x11-libs/qt-sql/qt-sql-4.5.1.ebuild b/x11-libs/qt-sql/qt-sql-4.5.1.ebuild
deleted file mode 100644
index 63378e88b10b..000000000000
--- a/x11-libs/qt-sql/qt-sql-4.5.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.5.1.ebuild,v 1.9 2009/06/30 15:06:15 armin76 Exp $
-
-EAPI="2"
-inherit qt4-build
-
-DESCRIPTION="The SQL module for the Qt toolkit"
-SLOT="4"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
-IUSE="firebird +iconv mysql odbc postgres +qt3support +sqlite"
-
-DEPEND="~x11-libs/qt-core-${PV}[debug=,qt3support=]
- firebird? ( dev-db/firebird )
- sqlite? ( dev-db/sqlite:3 )
- mysql? ( virtual/mysql )
- postgres? ( virtual/postgresql-base )
- odbc? ( dev-db/unixODBC )"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
-include/Qt/
-include/QtCore/
-include/QtSql/
-include/QtScript/
-src/src.pro
-src/corelib/
-src/plugins
-src/sql
-src/3rdparty
-src/tools"
-
-pkg_setup() {
- if ! (use firebird || use mysql || use odbc || use postgres || use sqlite); then
- ewarn "You need to enable at least one SQL driver. Enable at least"
- ewarn "one of these USE flags: \"firebird mysql odbc postgres sqlite\""
- die "Enable at least one SQL driver."
- fi
-
- qt4-build_pkg_setup
-}
-
-src_unpack() {
- qt4-build_src_unpack
-}
-
-src_prepare() {
- qt4-build_src_prepare
- sed -e '/pg_config --libs/d' -i "${S}"/configure \
- || die 'Sed to fix postgresql usage in ./configure failed.'
-}
-
-src_configure() {
- # Don't support sqlite2 anymore
- myconf="${myconf} -no-sql-sqlite2
- $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I/usr/include/mysql -L/usr/$(get_libdir)/mysql ")
- $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I/usr/include/postgresql/pgsql ")
- $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
- $(qt_use odbc sql-odbc plugin)
- $(qt_use qt3support)"
-
- myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig
- -no-glib -no-opengl -no-svg -no-gtkstyle"
-
- qt4-build_src_configure
-}
diff --git a/x11-libs/qt-sql/qt-sql-4.5.2.ebuild b/x11-libs/qt-sql/qt-sql-4.5.2.ebuild
deleted file mode 100644
index 6b638f261d80..000000000000
--- a/x11-libs/qt-sql/qt-sql-4.5.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.5.2.ebuild,v 1.4 2009/10/11 17:02:13 armin76 Exp $
-
-EAPI="2"
-inherit qt4-build
-
-DESCRIPTION="The SQL module for the Qt toolkit"
-SLOT="4"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
-IUSE="firebird iconv mysql odbc postgres qt3support +sqlite"
-
-DEPEND="~x11-libs/qt-core-${PV}[debug=,qt3support=]
- firebird? ( dev-db/firebird )
- mysql? ( virtual/mysql )
- odbc? ( dev-db/unixODBC )
- postgres? ( virtual/postgresql-base )
- sqlite? ( dev-db/sqlite:3 )"
-RDEPEND="${DEPEND}"
-
-QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
-QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
-include/Qt/
-include/QtCore/
-include/QtSql/
-include/QtScript/
-src/src.pro
-src/corelib/
-src/plugins
-src/sql
-src/3rdparty
-src/tools"
-
-PATCHES=(
- "${FILESDIR}/qt-4.5-nolibx11.diff"
-)
-
-pkg_setup() {
- if ! (use firebird || use mysql || use odbc || use postgres || use sqlite); then
- ewarn "You need to enable at least one SQL driver. Enable at least"
- ewarn "one of these USE flags: \"firebird mysql odbc postgres sqlite\""
- die "Enable at least one SQL driver."
- fi
-
- qt4-build_pkg_setup
-}
-
-src_prepare() {
- qt4-build_src_prepare
- sed -e '/pg_config --libs/d' -i "${S}"/configure \
- || die 'sed to fix postgresql usage in ./configure failed.'
-}
-
-src_configure() {
- # Don't support sqlite2 anymore
- myconf="${myconf} -no-sql-sqlite2
- $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I/usr/include/mysql -L/usr/$(get_libdir)/mysql ")
- $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I/usr/include/postgresql/pgsql ")
- $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
- $(qt_use odbc sql-odbc plugin)
- $(qt_use qt3support)"
-
- myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender -no-xrandr
- -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
- -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig
- -no-glib -no-opengl -no-svg -no-gtkstyle"
-
- qt4-build_src_configure
-}