diff options
author | Alex Alexander <wired@gentoo.org> | 2012-01-29 17:08:13 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2012-01-29 17:08:13 +0000 |
commit | eca7ce4654af5fab1a5a7a33a24f608064f2be0c (patch) | |
tree | e6c8aa28c55b73f32f3c85a6e8ff281e45783adc /x11-libs/qt-sql | |
parent | version bump (diff) | |
download | gentoo-2-eca7ce4654af5fab1a5a7a33a24f608064f2be0c.tar.gz gentoo-2-eca7ce4654af5fab1a5a7a33a24f608064f2be0c.tar.bz2 gentoo-2-eca7ce4654af5fab1a5a7a33a24f608064f2be0c.zip |
version bump
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qt-sql')
-rw-r--r-- | x11-libs/qt-sql/ChangeLog | 10 | ||||
-rw-r--r-- | x11-libs/qt-sql/metadata.xml | 2 | ||||
-rw-r--r-- | x11-libs/qt-sql/qt-sql-4.8.0.ebuild | 71 |
3 files changed, 81 insertions, 2 deletions
diff --git a/x11-libs/qt-sql/ChangeLog b/x11-libs/qt-sql/ChangeLog index bc48c07c15e6..238ef4a26cab 100644 --- a/x11-libs/qt-sql/ChangeLog +++ b/x11-libs/qt-sql/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/qt-sql -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.117 2011/12/27 21:28:46 maekke Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.118 2012/01/29 17:08:13 wired Exp $ + +*qt-sql-4.8.0 (29 Jan 2012) + + 29 Jan 2012; Alex Alexander <wired@gentoo.org> +qt-sql-4.8.0.ebuild, + metadata.xml: + version bump 27 Dec 2011; Markus Meier <maekke@gentoo.org> qt-sql-4.7.4.ebuild: x86 stable, bug #390963 diff --git a/x11-libs/qt-sql/metadata.xml b/x11-libs/qt-sql/metadata.xml index 753c3c20a9d3..a1edbdbfe266 100644 --- a/x11-libs/qt-sql/metadata.xml +++ b/x11-libs/qt-sql/metadata.xml @@ -6,5 +6,7 @@ <flag name='exceptions'>Add support for exceptions - like catching them inside the event loop (recommended by Nokia)</flag> <flag name='qt3support'>Enable the Qt3Support libraries for Qt4</flag> + <flag name='c++0x'>Build Qt using the C++11 standard</flag> + <flag name='qpa'>Build a window system agnostic implementation of Qt</flag> </use> </pkgmetadata> diff --git a/x11-libs/qt-sql/qt-sql-4.8.0.ebuild b/x11-libs/qt-sql/qt-sql-4.8.0.ebuild new file mode 100644 index 000000000000..da95ab0a0bb8 --- /dev/null +++ b/x11-libs/qt-sql/qt-sql-4.8.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 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.8.0.ebuild,v 1.1 2012/01/29 17:08:13 wired Exp $ + +EAPI="3" +inherit qt4-build + +DESCRIPTION="The SQL module for the Qt toolkit" +SLOT="4" +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" +IUSE="firebird freetds iconv mysql odbc postgres qt3support +sqlite" + +DEPEND="~x11-libs/qt-core-${PV}[aqua=,c++0x=,qpa=,debug=,qt3support=] + firebird? ( dev-db/firebird ) + freetds? ( dev-db/freetds ) + mysql? ( virtual/mysql ) + odbc? ( dev-db/unixODBC ) + postgres? ( dev-db/postgresql-base ) + sqlite? ( dev-db/sqlite:3 )" +RDEPEND="${DEPEND}" + +pkg_setup() { + 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/3rdparty + src/tools" + + if ! ( use firebird || use freetds || 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 freetds mysql odbc postgres sqlite tds\"." + 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${EPREFIX}/usr/include/mysql -L${EPREFIX}/usr/$(get_libdir)/mysql ") + $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I${EPREFIX}/usr/include/postgresql/pgsql ") + $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite') + $(qt_use odbc sql-odbc plugin) + $(qt_use freetds sql-tds plugin) + $(qt_use firebird sql-ibase 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 +} |