diff options
author | Davide Pesavento <pesa@gentoo.org> | 2014-09-11 01:46:33 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2014-09-11 01:46:33 +0000 |
commit | d710c2a7630c546c9b325a40d5b7ff6632c357e8 (patch) | |
tree | da4c79156d85436683c62e2483336cccc2348325 /dev-qt | |
parent | Import Qt5 from qt overlay. (diff) | |
download | gentoo-2-d710c2a7630c546c9b325a40d5b7ff6632c357e8.tar.gz gentoo-2-d710c2a7630c546c9b325a40d5b7ff6632c357e8.tar.bz2 gentoo-2-d710c2a7630c546c9b325a40d5b7ff6632c357e8.zip |
Import Qt5 from qt overlay.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qtsql/ChangeLog | 8 | ||||
-rw-r--r-- | dev-qt/qtsql/metadata.xml | 2 | ||||
-rw-r--r-- | dev-qt/qtsql/qtsql-5.3.1-r3.ebuild | 60 |
3 files changed, 68 insertions, 2 deletions
diff --git a/dev-qt/qtsql/ChangeLog b/dev-qt/qtsql/ChangeLog index fe13efea636c..4bfd9ac236d9 100644 --- a/dev-qt/qtsql/ChangeLog +++ b/dev-qt/qtsql/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-qt/qtsql # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsql/ChangeLog,v 1.15 2014/04/23 11:13:46 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsql/ChangeLog,v 1.16 2014/09/11 01:46:33 pesa Exp $ + +*qtsql-5.3.1-r3 (11 Sep 2014) + + 11 Sep 2014; Davide Pesavento <pesa@gentoo.org> +qtsql-5.3.1-r3.ebuild, + metadata.xml: + Import Qt5 from qt overlay. 23 Apr 2014; Mikle Kolyada <zlogene@gentoo.org> -qtsql-5.2.1.ebuild: Drop qt5 ebuild. diff --git a/dev-qt/qtsql/metadata.xml b/dev-qt/qtsql/metadata.xml index 9ef8b3e81654..0b5ed5413bc2 100644 --- a/dev-qt/qtsql/metadata.xml +++ b/dev-qt/qtsql/metadata.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>qt</herd> + <herd>qt</herd> <use> <flag name="exceptions">Add support for exceptions - like catching them inside the event loop (recommended by upstream)</flag> diff --git a/dev-qt/qtsql/qtsql-5.3.1-r3.ebuild b/dev-qt/qtsql/qtsql-5.3.1-r3.ebuild new file mode 100644 index 000000000000..98a1477ae2be --- /dev/null +++ b/dev-qt/qtsql/qtsql-5.3.1-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsql/qtsql-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:46:33 pesa Exp $ + +EAPI=5 + +QT5_MODULE="qtbase" + +inherit multilib qt5-build + +DESCRIPTION="SQL abstraction library for the Qt5 tooolkit" + +if [[ ${QT5_BUILD_TYPE} == live ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" +fi + +IUSE="freetds mysql oci8 odbc postgres +sqlite" + +REQUIRED_USE=" + || ( freetds mysql oci8 odbc postgres sqlite ) +" + +DEPEND=" + ~dev-qt/qtcore-${PV}[debug=] + 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="${DEPEND}" + +QT5_TARGET_SUBDIRS=( + src/sql + src/plugins/sqldrivers +) + +PATCHES=( "${FILESDIR}/${PN}-pathfiltering.patch" ) + +src_configure() { + local myconf=( + $(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) + ) + + use mysql && myconf+=("-I${EPREFIX}/usr/include/mysql" "-L${EPREFIX}/usr/$(get_libdir)/mysql") + use oci8 && myconf+=("-I${ORACLE_HOME}/include" "-L${ORACLE_HOME}/$(get_libdir)") + use odbc && myconf+=("-I${EPREFIX}/usr/include/iodbc") + use postgres && myconf+=("-I${EPREFIX}/usr/include/postgresql/pgsql") + + qt5-build_src_configure +} |