1 |
commit: 1c33609cbaaa76b6317b9e6cd1c69604483debb0 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 2 15:44:24 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 2 15:56:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c33609c |
7 |
|
8 |
dev-db/tora: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
dev-db/tora/tora-3.2.ebuild | 105 -------------------------------------------- |
13 |
1 file changed, 105 deletions(-) |
14 |
|
15 |
diff --git a/dev-db/tora/tora-3.2.ebuild b/dev-db/tora/tora-3.2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 36ff60e39c2..00000000000 |
18 |
--- a/dev-db/tora/tora-3.2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,105 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-inherit cmake-utils eutils xdg-utils |
27 |
- |
28 |
-if [[ ${PV} == 9999 ]]; then |
29 |
- EGIT_REPO_URI="https://github.com/tora-tool/tora" |
30 |
- inherit git-r3 |
31 |
-else |
32 |
- SRC_URI="https://github.com/tora-tool/tora/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- KEYWORDS="~amd64 ~x86" |
34 |
-fi |
35 |
- |
36 |
-DESCRIPTION="SQL IDE for Oracle, MySQL and PostgreSQL dbs" |
37 |
-HOMEPAGE="https://github.com/tora-tool/tora/wiki" |
38 |
-IUSE="doc mysql oracle postgres" |
39 |
- |
40 |
-SLOT="0" |
41 |
-LICENSE="GPL-2" |
42 |
- |
43 |
-RDEPEND=" |
44 |
- dev-libs/ferrisloki |
45 |
- dev-qt/qtcore:5 |
46 |
- dev-qt/qtgui:5 |
47 |
- dev-qt/qtnetwork:5 |
48 |
- dev-qt/qtprintsupport:5 |
49 |
- dev-qt/qtsql:5[mysql?,postgres?] |
50 |
- dev-qt/qtwidgets:5 |
51 |
- >=x11-libs/qscintilla-2.10.1:=[qt5(+)] |
52 |
- oracle? ( =dev-db/oracle-instantclient-basic-11* ) |
53 |
- postgres? ( dev-db/postgresql:* ) |
54 |
-" |
55 |
-DEPEND="${RDEPEND} |
56 |
- dev-qt/linguist:5 |
57 |
- virtual/pkgconfig |
58 |
- doc? ( app-doc/doxygen ) |
59 |
-" |
60 |
- |
61 |
-PATCHES=( "${FILESDIR}/${P}-missing-header.patch" ) |
62 |
- |
63 |
-pkg_setup() { |
64 |
- if use oracle && [[ -z "$ORACLE_HOME" ]]; then |
65 |
- eerror "ORACLE_HOME variable is not set." |
66 |
- eerror |
67 |
- eerror "You must install Oracle >= 8i client for Linux in" |
68 |
- eerror "order to compile TOra with Oracle support." |
69 |
- eerror |
70 |
- eerror "You can download the Oracle software from" |
71 |
- eerror "http://www.oracle.com/technetwork/database/features/instant-client/index.html" |
72 |
- die |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_prepare() { |
77 |
- cmake-utils_src_prepare |
78 |
- |
79 |
- # fixed in master, only care about recent qscintilla lib name: |
80 |
- sed -e "/FIND_LIBRARY(QSCINTILLA_LIBRARY/s/qt5scintilla2/qscintilla2_qt5/" \ |
81 |
- -i cmake/modules/FindQScintilla.cmake || die "Failed to fix FindQScintilla.cmake" |
82 |
- |
83 |
- rm -r extlibs/{loki,qscintilla2} || die # ferrisloki, bug #383109 |
84 |
- |
85 |
- sed -e "/COPYING/ d" \ |
86 |
- -i CMakeLists.txt || die "Removal of COPYING file failed" |
87 |
- |
88 |
- # bug 547520 |
89 |
- grep -rlZ '$$ORIGIN' . | xargs -0 sed -i 's|:$$ORIGIN[^:"]*||' || \ |
90 |
- die 'Removal of $$ORIGIN failed' |
91 |
-} |
92 |
- |
93 |
-src_configure() { |
94 |
- local mycmakeargs=( |
95 |
- -DENABLE_DB2=OFF |
96 |
- -DQT5_BUILD=ON |
97 |
- -DWANT_INTERNAL_LOKI=OFF |
98 |
- -DWANT_INTERNAL_QSCINTILLA=OFF |
99 |
- -DWANT_RPM=OFF |
100 |
- -DLOKI_LIBRARY="$(pkg-config --variable=libdir ferrisloki)/libferrisloki.so" |
101 |
- -DLOKI_INCLUDE_DIR="$(pkg-config --variable=includedir ferrisloki)/FerrisLoki" |
102 |
- $(cmake-utils_use_find_package doc Doxygen) |
103 |
- -DENABLE_ORACLE=$(usex oracle) |
104 |
- -DUSE_PCH=OFF |
105 |
- -DENABLE_PGSQL=$(usex postgres) |
106 |
- ) |
107 |
- cmake-utils_src_configure |
108 |
-} |
109 |
- |
110 |
-src_install() { |
111 |
- cmake-utils_src_install |
112 |
- |
113 |
- doicon src/icons/${PN}.xpm || die |
114 |
- domenu src/${PN}.desktop || die |
115 |
-} |
116 |
- |
117 |
-pkg_postinst() { |
118 |
- xdg_mimeinfo_database_update |
119 |
- xdg_desktop_database_update |
120 |
-} |
121 |
- |
122 |
-pkg_postrm() { |
123 |
- xdg_mimeinfo_database_update |
124 |
- xdg_desktop_database_update |
125 |
-} |