Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/tora/
Date: Sat, 02 Jul 2022 20:56:04
Message-Id: 1656795348.546a6f1f5f0ac202d4f659a2f6b2ebbf3ac9a42e.sam@gentoo
1 commit: 546a6f1f5f0ac202d4f659a2f6b2ebbf3ac9a42e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 20:50:27 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 20:55:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546a6f1f
7
8 dev-db/tora: drop 9999
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-db/tora/tora-9999.ebuild | 84 --------------------------------------------
13 1 file changed, 84 deletions(-)
14
15 diff --git a/dev-db/tora/tora-9999.ebuild b/dev-db/tora/tora-9999.ebuild
16 deleted file mode 100644
17 index 8a85ed0d4a75..000000000000
18 --- a/dev-db/tora/tora-9999.ebuild
19 +++ /dev/null
20 @@ -1,84 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -inherit cmake desktop toolchain-funcs xdg
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 -
39 -LICENSE="GPL-2"
40 -SLOT="0"
41 -IUSE="doc mysql oracle +postgres"
42 -REQUIRED_USE="|| ( mysql oracle postgres )"
43 -
44 -RDEPEND="
45 - dev-libs/ferrisloki
46 - dev-qt/qtcore:5
47 - dev-qt/qtgui:5
48 - dev-qt/qtnetwork:5
49 - dev-qt/qtprintsupport:5
50 - dev-qt/qtsql:5[mysql?,postgres?]
51 - dev-qt/qtwidgets:5
52 - >=x11-libs/qscintilla-2.10.1:=[qt5(+)]
53 - oracle? ( dev-db/oracle-instantclient )
54 - postgres? ( dev-db/postgresql:* )
55 -"
56 -DEPEND="
57 - ${RDEPEND}
58 - dev-libs/boost
59 -"
60 -BDEPEND="
61 - dev-qt/linguist-tools:5
62 - virtual/pkgconfig
63 - doc? ( app-doc/doxygen )
64 -"
65 -
66 -src_prepare() {
67 - cmake_src_prepare
68 -
69 - # fixed in master, only care about recent qscintilla lib name:
70 - sed -e "/FIND_LIBRARY(QSCINTILLA_LIBRARY/s/qt5scintilla2/qscintilla2_qt5/" \
71 - -i cmake/modules/FindQScintilla.cmake || die "Failed to fix FindQScintilla.cmake"
72 -
73 - rm -r extlibs/{loki,qscintilla2} || die # ferrisloki, bug #383109
74 -
75 - sed -e "/COPYING/ d" \
76 - -i CMakeLists.txt || die "Removal of COPYING file failed"
77 -
78 - # bug 547520
79 - grep -rlZ '$$ORIGIN' . | xargs -0 sed -i 's|:$$ORIGIN[^:"]*||' || \
80 - die 'Removal of $$ORIGIN failed'
81 -}
82 -
83 -src_configure() {
84 - local mycmakeargs=(
85 - -DENABLE_DB2=OFF
86 - -DWANT_INTERNAL_LOKI=OFF
87 - -DWANT_INTERNAL_QSCINTILLA=OFF
88 - -DWANT_RPM=OFF
89 - -DLOKI_LIBRARY="$($(tc-getPKG_CONFIG) --variable=libdir ferrisloki || die)/libferrisloki.so"
90 - -DLOKI_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --variable=includedir ferrisloki || die)/FerrisLoki"
91 - $(cmake_use_find_package doc Doxygen)
92 - -DENABLE_ORACLE=$(usex oracle)
93 - -DUSE_PCH=OFF
94 - -DENABLE_PGSQL=$(usex postgres)
95 - )
96 - cmake_src_configure
97 -}
98 -
99 -src_install() {
100 - cmake_src_install
101 -
102 - doicon src/icons/tora.xpm || die
103 - domenu src/tora.desktop || die
104 -}