Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtsql/
Date: Thu, 22 Feb 2018 22:19:42
Message-Id: 1519337654.e6c56e5f15410af81f4b789b2a532a8abda0569c.asturm@gentoo
1 commit: e6c56e5f15410af81f4b789b2a532a8abda0569c
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Thu Feb 22 10:11:29 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 22 22:14:14 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=e6c56e5f
7
8 dev-qt/qtsql: Drop 5.10.1 (r0)
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-qt/qtsql/qtsql-5.10.1.ebuild | 57 ----------------------------------------
13 1 file changed, 57 deletions(-)
14
15 diff --git a/dev-qt/qtsql/qtsql-5.10.1.ebuild b/dev-qt/qtsql/qtsql-5.10.1.ebuild
16 deleted file mode 100644
17 index 8b17279a..00000000
18 --- a/dev-qt/qtsql/qtsql-5.10.1.ebuild
19 +++ /dev/null
20 @@ -1,57 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -QT5_MODULE="qtbase"
26 -inherit qt5-build
27 -
28 -DESCRIPTION="SQL abstraction library for the Qt5 tooolkit"
29 -
30 -if [[ ${QT5_BUILD_TYPE} == release ]]; then
31 - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
32 -fi
33 -
34 -IUSE="freetds mysql oci8 odbc postgres +sqlite"
35 -
36 -REQUIRED_USE="
37 - || ( freetds mysql oci8 odbc postgres sqlite )
38 -"
39 -
40 -DEPEND="
41 - ~dev-qt/qtcore-${PV}
42 - freetds? ( dev-db/freetds )
43 - mysql? ( virtual/libmysqlclient:= )
44 - oci8? ( dev-db/oracle-instantclient-basic )
45 - odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) )
46 - postgres? ( dev-db/postgresql:* )
47 - sqlite? ( >=dev-db/sqlite-3.8.10.2:3 )
48 -"
49 -RDEPEND="${DEPEND}"
50 -
51 -QT5_TARGET_SUBDIRS=(
52 - src/sql
53 - src/plugins/sqldrivers
54 -)
55 -
56 -QT5_GENTOO_PRIVATE_CONFIG=(
57 - :sql
58 -)
59 -
60 -src_configure() {
61 - local myconf=(
62 - $(qt_use freetds sql-tds plugin)
63 - $(qt_use mysql sql-mysql plugin)
64 - $(qt_use oci8 sql-oci plugin)
65 - $(qt_use odbc sql-odbc plugin)
66 - $(qt_use postgres sql-psql plugin)
67 - $(qt_use sqlite sql-sqlite plugin)
68 - $(usex sqlite -system-sqlite '')
69 - )
70 -
71 - use mysql && myconf+=("-I${EPREFIX}/usr/include/mysql" "-L${EPREFIX}/usr/$(get_libdir)/mysql")
72 - use oci8 && myconf+=("-I${ORACLE_HOME}/include" "-L${ORACLE_HOME}/$(get_libdir)")
73 - use odbc && myconf+=("-I${EPREFIX}/usr/include/iodbc")
74 - use postgres && myconf+=("-I${EPREFIX}/usr/include/postgresql/pgsql")
75 -
76 - qt5-build_src_configure
77 -}