diff options
author | 2018-11-13 22:20:35 +0100 | |
---|---|---|
committer | 2018-11-13 23:44:20 +0100 | |
commit | ea20e7419bd1212625ae9f0a489ad61cb37f0c70 (patch) | |
tree | bef8e7781f587358428e9be419b14f01b1561727 /dev-qt/qtsql | |
parent | profiles: Mask Qt 5.12.0_beta4 (diff) | |
download | qt-ea20e7419bd1212625ae9f0a489ad61cb37f0c70.tar.gz qt-ea20e7419bd1212625ae9f0a489ad61cb37f0c70.tar.bz2 qt-ea20e7419bd1212625ae9f0a489ad61cb37f0c70.zip |
dev-qt: Add Qt 5.12.0_beta4
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtsql')
-rw-r--r-- | dev-qt/qtsql/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtsql/qtsql-5.12.0_beta4.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-qt/qtsql/Manifest b/dev-qt/qtsql/Manifest new file mode 100644 index 00000000..e76a4abd --- /dev/null +++ b/dev-qt/qtsql/Manifest @@ -0,0 +1 @@ +DIST qtbase-everywhere-src-5.12.0-beta4.tar.xz 48195184 BLAKE2B 13b1fc3ed53ee7e15d699d5aab8a9f6a64f773b9411d7aaec7f833577a3a162772380b9616b61b40819b726c49e48c201fa7c5d32bd4ef52dd736aea638b3190 SHA512 d14c2a0279da064136066ee9c137cb9a4478c4bc8e1015effb197c31fe1057a7edb39ade55c41da5e1db952cb3fe95aaf3292dca73022eafcb1ebd7f3075d2b8 diff --git a/dev-qt/qtsql/qtsql-5.12.0_beta4.ebuild b/dev-qt/qtsql/qtsql-5.12.0_beta4.ebuild new file mode 100644 index 00000000..629eb051 --- /dev/null +++ b/dev-qt/qtsql/qtsql-5.12.0_beta4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +QT5_MODULE="qtbase" +inherit qt5-build + +DESCRIPTION="SQL abstraction library for the Qt5 framework" +SLOT=5/$(ver_cut 1-3) # bug 639140 + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd" +fi + +IUSE="freetds mysql oci8 odbc postgres +sqlite" + +REQUIRED_USE=" + || ( freetds mysql oci8 odbc postgres sqlite ) +" + +DEPEND=" + ~dev-qt/qtcore-${PV} + freetds? ( dev-db/freetds ) + mysql? ( virtual/libmysqlclient:= ) + oci8? ( dev-db/oracle-instantclient-basic ) + odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( >=dev-db/sqlite-3.8.10.2:3 ) +" +RDEPEND="${DEPEND}" + +QT5_TARGET_SUBDIRS=( + src/sql + src/plugins/sqldrivers +) + +QT5_GENTOO_PRIVATE_CONFIG=( + :sql +) + +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) + $(usex sqlite -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 +} |