diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
commit | f70601e0934acd62f6c5d06c5ede4cc607179514 (patch) | |
tree | 0b337390375de04b950fc4b45edc0f895a4701a4 /dev-db/tora/tora-9999.ebuild | |
parent | b2be182d49eea46686b5cf2680d457df61e89dc4 (diff) |
gentoo resync : 07.07.2018
Diffstat (limited to 'dev-db/tora/tora-9999.ebuild')
-rw-r--r-- | dev-db/tora/tora-9999.ebuild | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/dev-db/tora/tora-9999.ebuild b/dev-db/tora/tora-9999.ebuild index 41ee84ac7f54..1733252f6d51 100644 --- a/dev-db/tora/tora-9999.ebuild +++ b/dev-db/tora/tora-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit cmake-utils eutils xdg-utils +inherit cmake-utils desktop xdg-utils if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/tora-tool/tora" @@ -15,7 +15,8 @@ fi DESCRIPTION="SQL IDE for Oracle, MySQL and PostgreSQL dbs" HOMEPAGE="https://github.com/tora-tool/tora/wiki" -IUSE="doc mysql oracle pch postgres" +IUSE="doc mysql oracle pch +postgres" +REQUIRED_USE="|| ( mysql oracle postgres )" SLOT="0" LICENSE="GPL-2" @@ -29,7 +30,7 @@ RDEPEND=" dev-qt/qtsql:5[mysql?,postgres?] dev-qt/qtwidgets:5 >=x11-libs/qscintilla-2.10.1:=[qt5(+)] - oracle? ( =dev-db/oracle-instantclient-basic-11* ) + oracle? ( || ( =dev-db/oracle-instantclient-basic-11* dev-db/oracle-instantclient ) ) postgres? ( dev-db/postgresql:* ) " DEPEND="${RDEPEND} @@ -38,19 +39,6 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen ) " -pkg_setup() { - if use oracle && [[ -z "$ORACLE_HOME" ]]; then - eerror "ORACLE_HOME variable is not set." - eerror - eerror "You must install Oracle >= 8i client for Linux in" - eerror "order to compile TOra with Oracle support." - eerror - eerror "You can download the Oracle software from" - eerror "http://www.oracle.com/technetwork/database/features/instant-client/index.html" - die - fi -} - src_prepare() { cmake-utils_src_prepare |