1 |
commit: c5cca269dd1bbfd142a8a04bcde681b208910f58 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 11:36:35 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 12:26:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5cca269 |
7 |
|
8 |
sci-calculators/speedcrunch: Drop 0.12.0 (r0) |
9 |
|
10 |
Package-Manager: Portage-3.0.16, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../speedcrunch/speedcrunch-0.12.0.ebuild | 72 ---------------------- |
14 |
1 file changed, 72 deletions(-) |
15 |
|
16 |
diff --git a/sci-calculators/speedcrunch/speedcrunch-0.12.0.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.12.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index 2214915fea6..00000000000 |
19 |
--- a/sci-calculators/speedcrunch/speedcrunch-0.12.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,72 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PLOCALES=( |
28 |
-ar ca cs da de el en-GB en-US es-AR es-ES et eu fi fr he hu id it ja ko |
29 |
-lt lv nb nl pl pt-BR pt-PT ro ru sk sv tr uz vi zh-CN |
30 |
-) |
31 |
- |
32 |
-CMAKE_MAKEFILE_GENERATOR=ninja |
33 |
- |
34 |
-inherit cmake-utils gnome2-utils |
35 |
- |
36 |
-DESCRIPTION="Fast and usable calculator for power users" |
37 |
-HOMEPAGE="http://speedcrunch.org/" |
38 |
-SRC_URI="https://bitbucket.org/heldercorreia/${PN}/get/release-${PV}.tar.gz -> ${P}.tar.gz" |
39 |
- |
40 |
-LICENSE="GPL-2" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" |
43 |
-IUSE="doc ${PLOCALES[@]/#/l10n_}" |
44 |
- |
45 |
-DEPEND=" |
46 |
-dev-qt/qtcore:5 |
47 |
-dev-qt/qthelp:5 |
48 |
-dev-qt/qtsql:5 |
49 |
-dev-qt/qtwidgets:5 |
50 |
-" |
51 |
-RDEPEND="${DEPEND}" |
52 |
- |
53 |
-S="${WORKDIR}/heldercorreia-speedcrunch-ea93b21f9498/src" |
54 |
- |
55 |
-src_prepare() { |
56 |
- local i |
57 |
- for i in "${PLOCALES[@]}" ; do |
58 |
- use l10n_${i} || \ |
59 |
- sed "\|locale/${i/-/_}|d" -i resources/speedcrunch.qrc || die |
60 |
- done |
61 |
- |
62 |
- cmake-utils_src_prepare |
63 |
-} |
64 |
- |
65 |
-src_install() { |
66 |
- cmake-utils_src_install |
67 |
- cd .. || die |
68 |
- doicon -s scalable gfx/speedcrunch.svg |
69 |
- |
70 |
- if use doc ; then |
71 |
- local i doclangs |
72 |
- for i in de en_US es_ES fr ; do |
73 |
- use l10n_${i/_/-} && doclangs+=" ${i}" |
74 |
- done |
75 |
- |
76 |
- if [[ -z ${doclangs} ]] ; then |
77 |
- ewarn "Couldn't find a matching translation for documentation. Defaulting to: en_US" |
78 |
- doclangs="en_US" |
79 |
- fi |
80 |
- |
81 |
- for i in ${doclangs} ; do |
82 |
- dodoc -r doc/build_html_embedded/${i}*/ |
83 |
- done |
84 |
- fi |
85 |
-} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- gnome2_icon_cache_update |
89 |
-} |
90 |
- |
91 |
-pkg_postrm() { |
92 |
- gnome2_icon_cache_update |
93 |
-} |