From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SdrSO-0004I4-RS for garchives@archives.gentoo.org; Sun, 10 Jun 2012 23:22:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C167E0531; Sun, 10 Jun 2012 23:21:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 45BEDE0531 for ; Sun, 10 Jun 2012 23:21:57 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 860D81B403E for ; Sun, 10 Jun 2012 23:21:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 476B4E542E for ; Sun, 10 Jun 2012 23:21:55 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1339370503.d5a53e59cfafffa4226bbd0ef8f0eb694d00fe94.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: x11-libs/qt-sql/ X-VCS-Repository: proj/qt X-VCS-Files: x11-libs/qt-sql/metadata.xml x11-libs/qt-sql/qt-sql-5.9999.ebuild X-VCS-Directories: x11-libs/qt-sql/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: d5a53e59cfafffa4226bbd0ef8f0eb694d00fe94 X-VCS-Branch: master Date: Sun, 10 Jun 2012 23:21:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f85bebec-302d-4540-9e6b-47d277e6154f X-Archives-Hash: 403769109c007c524a69dfdd247f0845 commit: d5a53e59cfafffa4226bbd0ef8f0eb694d00fe94 Author: Davide Pesavento gmail com> AuthorDate: Sun Jun 10 23:21:43 2012 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Sun Jun 10 23:21:43 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/qt.git;a=3Dco= mmit;h=3Dd5a53e59 [x11-libs/qt-sql] QtSql live ebuild for Qt5. (Portage version: 2.2.0_alpha110/git/Linux x86_64, unsigned Manifest comm= it) --- x11-libs/qt-sql/metadata.xml | 9 +++-- x11-libs/qt-sql/qt-sql-5.9999.ebuild | 62 ++++++++++++++++++++++++++++= ++++++ 2 files changed, 67 insertions(+), 4 deletions(-) diff --git a/x11-libs/qt-sql/metadata.xml b/x11-libs/qt-sql/metadata.xml index a1edbdb..43757d1 100644 --- a/x11-libs/qt-sql/metadata.xml +++ b/x11-libs/qt-sql/metadata.xml @@ -3,10 +3,11 @@ qt=20 - Add support for exceptions - like catching t= hem + Build Qt using the C++11 standard + Build Qt using the C++11 standard + Add support for exceptions - like catching t= hem inside the event loop (recommended by Nokia) - Enable the Qt3Support libraries for Qt4 - Build Qt using the C++11 standard - Build a window system agnostic implementation of Qt= + Build a window system agnostic implementation of Qt= + Enable the Qt3Support libraries for Qt4 diff --git a/x11-libs/qt-sql/qt-sql-5.9999.ebuild b/x11-libs/qt-sql/qt-sq= l-5.9999.ebuild new file mode 100644 index 0000000..67052c7 --- /dev/null +++ b/x11-libs/qt-sql/qt-sql-5.9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit qt5-build + +DESCRIPTION=3D"The Qt toolkit is a comprehensive C++ application develop= ment framework" + +if [[ ${QT5_BUILD_TYPE} =3D=3D live ]]; then + KEYWORDS=3D"" +else + KEYWORDS=3D"~amd64" +fi + +IUSE=3D"firebird freetds mysql oci8 odbc postgres +sqlite" + +REQUIRED_USE=3D" + || ( firebird freetds mysql oci8 odbc postgres sqlite ) +" + +DEPEND=3D" + ~x11-libs/qt-core-${PV}[debug=3D] + firebird? ( dev-db/firebird ) + freetds? ( dev-db/freetds ) + mysql? ( virtual/mysql ) + oci8? ( dev-db/oracle-instantclient-basic ) + odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) ) + postgres? ( dev-db/postgresql-base ) + sqlite? ( dev-db/sqlite:3 ) +" +RDEPEND=3D"${DEPEND}" + +QT5_TARGET_SUBDIRS=3D( + src/sql + src/plugins/sqldrivers +) + +src_configure() { + local myconf=3D( + $(qt_use firebird sql-ibase plugin) + $(qt_use freetds sql-tds plugin) + $(qt_use mysql sql-mysql plugin) + $(qt_use oci8 sql-oci plugin) + $(qt_use odbc sql-odbc plugin) + $(qt_use postgres sql-psql plugin) + $(qt_use sqlite sql-sqlite plugin) + $(use sqlite && echo -system-sqlite) + -no-sql-db2 + -no-sql-sqlite2 + -no-accessibility -no-gui -no-cups -no-dbus + -no-xcb -no-eglfs -no-directfb -no-opengl + ) + + use mysql && myconf+=3D("-I${EPREFIX}/usr/include/mysql" "-L${EPREFIX}/= usr/$(get_libdir)/mysql") + use oci8 && myconf+=3D("-I${ORACLE_HOME}/include" "-L${ORACLE_HOME}/$(g= et_libdir)") + use odbc && myconf+=3D("-I${EPREFIX}/usr/include/iodbc") + use postgres && myconf+=3D("-I${EPREFIX}/usr/include/postgresql/pgsql") + + qt5-build_src_configure +}