Lines 11-21
Link Here
|
11 |
else |
11 |
else |
12 |
SRC_URI="https://github.com/tora-tool/tora/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
12 |
SRC_URI="https://github.com/tora-tool/tora/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
13 |
KEYWORDS="~amd64 ~x86" |
13 |
KEYWORDS="~amd64 ~x86" |
|
|
14 |
# |
15 |
PATCHES=( "${FILESDIR}/${P}-missing-header.patch" ) |
14 |
fi |
16 |
fi |
15 |
|
17 |
|
16 |
DESCRIPTION="SQL IDE for Oracle, MySQL and PostgreSQL dbs" |
18 |
DESCRIPTION="SQL IDE for Oracle, MySQL and PostgreSQL dbs" |
17 |
HOMEPAGE="https://github.com/tora-tool/tora/wiki" |
19 |
HOMEPAGE="https://github.com/tora-tool/tora/wiki" |
18 |
IUSE="doc mysql oracle postgres" |
20 |
IUSE="doc mysql oracle +postgres" |
19 |
|
21 |
|
20 |
SLOT="0" |
22 |
SLOT="0" |
21 |
LICENSE="GPL-2" |
23 |
LICENSE="GPL-2" |
Lines 29-35
Link Here
|
29 |
dev-qt/qtsql:5[mysql?,postgres?] |
31 |
dev-qt/qtsql:5[mysql?,postgres?] |
30 |
dev-qt/qtwidgets:5 |
32 |
dev-qt/qtwidgets:5 |
31 |
>=x11-libs/qscintilla-2.10.1:=[qt5(+)] |
33 |
>=x11-libs/qscintilla-2.10.1:=[qt5(+)] |
32 |
oracle? ( =dev-db/oracle-instantclient-basic-11* ) |
34 |
oracle? ( || ( =dev-db/oracle-instantclient-basic-11* dev-db/oracle-instantclient ) ) |
33 |
postgres? ( dev-db/postgresql:* ) |
35 |
postgres? ( dev-db/postgresql:* ) |
34 |
" |
36 |
" |
35 |
DEPEND="${RDEPEND} |
37 |
DEPEND="${RDEPEND} |
Lines 38-57
Link Here
|
38 |
doc? ( app-doc/doxygen ) |
40 |
doc? ( app-doc/doxygen ) |
39 |
" |
41 |
" |
40 |
|
42 |
|
41 |
PATCHES=( "${FILESDIR}/${P}-missing-header.patch" ) |
43 |
REQUIRED_USE="|| ( mysql oracle postgres )" |
42 |
|
|
|
43 |
pkg_setup() { |
44 |
if use oracle && [[ -z "$ORACLE_HOME" ]]; then |
45 |
eerror "ORACLE_HOME variable is not set." |
46 |
eerror |
47 |
eerror "You must install Oracle >= 8i client for Linux in" |
48 |
eerror "order to compile TOra with Oracle support." |
49 |
eerror |
50 |
eerror "You can download the Oracle software from" |
51 |
eerror "http://www.oracle.com/technetwork/database/features/instant-client/index.html" |
52 |
die |
53 |
fi |
54 |
} |
55 |
|
44 |
|
56 |
src_prepare() { |
45 |
src_prepare() { |
57 |
cmake-utils_src_prepare |
46 |
cmake-utils_src_prepare |