Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/speedcrunch/files/, sci-calculators/speedcrunch/
Date: Mon, 02 Jan 2017 22:09:16
Message-Id: 1483394946.347836ea4a10ef1e9bf9108cbdf5b0ed70714fd2.jlec@gentoo
1 commit: 347836ea4a10ef1e9bf9108cbdf5b0ed70714fd2
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 21:53:02 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 22:09:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347836ea
7
8 sci-calculators/speedcrunch: Drop old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-calculators/speedcrunch/Manifest | 1 -
14 .../files/speedcrunch-0.10.1-iconname.patch | 11 -----
15 .../speedcrunch/speedcrunch-0.10.1.ebuild | 47 ---------------------
16 .../speedcrunch/speedcrunch-0.11-r1.ebuild | 49 ----------------------
17 4 files changed, 108 deletions(-)
18
19 diff --git a/sci-calculators/speedcrunch/Manifest b/sci-calculators/speedcrunch/Manifest
20 index 62da5f4..11ab180 100644
21 --- a/sci-calculators/speedcrunch/Manifest
22 +++ b/sci-calculators/speedcrunch/Manifest
23 @@ -1,2 +1 @@
24 -DIST speedcrunch-0.10.1.tar.gz 1722124 SHA256 9d4e4ddd8bc6a60d59b9cb4815511ba20a5767719928eae3729e4df6c96dec84 SHA512 cafd2dc80d4925e0228648883e0117dfe8f7f80b715fc1a97586c19d4f5790833d422aacc117f5beafc18918c116004cb8fce5701b801280f1e9e74a5933d037 WHIRLPOOL b58527f0337fea4c1798802e9d16b1a26de563b963334c8215f06e0502836c1c6eeff590f66222780645050642904600fd44eaee490e86344506cc6cc45ff1cd
25 DIST speedcrunch-0.11.tar.gz 1516510 SHA256 3632f2b40ac628d2665c838643cc99c50e89b60f54ac2a82b4533d254f0cb6eb SHA512 19d7d5b80709063768abf7076a95e25b7c16956dd20ab181d3876b87bc26e7d8c18820a7ca23af22ea3b52d67de12238b7a106e575415ee755c8c204f732eaf1 WHIRLPOOL 14bca4dfc37e3d9c7fa1ae998a9b30831bf1d9b49ba6370ad38a545d56a37d7b0b7cfbc44040f605d1b95b3a373774d1ef5013eba9afc9a45e62d05f47ab1f30
26
27 diff --git a/sci-calculators/speedcrunch/files/speedcrunch-0.10.1-iconname.patch b/sci-calculators/speedcrunch/files/speedcrunch-0.10.1-iconname.patch
28 deleted file mode 100644
29 index 3e716e8..00000000
30 --- a/sci-calculators/speedcrunch/files/speedcrunch-0.10.1-iconname.patch
31 +++ /dev/null
32 @@ -1,11 +0,0 @@
33 ---- src/gui/aboutbox.cpp.orig 2008-11-17 20:12:32.000000000 +0000
34 -+++ src/gui/aboutbox.cpp 2008-11-17 20:12:50.000000000 +0000
35 -@@ -209,7 +209,7 @@
36 - infoLabel->setOpenExternalLinks( true );
37 -
38 - QLabel * iconLabel = new QLabel( this );
39 -- iconLabel->setPixmap( QPixmap( ":/crunch.png" ) );
40 -+ iconLabel->setPixmap( QPixmap( ":/speedcrunch.png" ) );
41 - iconLabel->setAlignment( Qt::AlignVCenter | Qt::AlignRight );
42 -
43 - MarqueeText * marqueeText = new MarqueeText( this );
44
45 diff --git a/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild
46 deleted file mode 100644
47 index 6db83de..00000000
48 --- a/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild
49 +++ /dev/null
50 @@ -1,47 +0,0 @@
51 -# Copyright 1999-2013 Gentoo Foundation
52 -# Distributed under the terms of the GNU General Public License v2
53 -# $Id$
54 -
55 -EAPI=4
56 -
57 -inherit eutils cmake-utils
58 -
59 -DESCRIPTION="A fast and usable calculator for power users"
60 -HOMEPAGE="https://code.google.com/p/speedcrunch/"
61 -SRC_URI="https://speedcrunch.googlecode.com/files/${P}.tar.gz"
62 -
63 -LICENSE="GPL-2"
64 -SLOT="0"
65 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
66 -IUSE="doc"
67 -
68 -DEPEND="dev-qt/qtgui:4"
69 -RDEPEND="${DEPEND}"
70 -
71 -LANGS="ca cs de en es es_AR eu fi fr he id it nb nl no pl
72 - pt pt_BR ro ru sv tr zh_CN"
73 -for lang in ${LANGS}; do
74 - IUSE="${IUSE} linguas_${lang}"
75 -done
76 -
77 -S="${WORKDIR}/${P}/src"
78 -
79 -src_prepare( ) {
80 - epatch "${FILESDIR}"/${P}-iconname.patch
81 - # regenerate translations
82 - lrelease speedcrunch.pro || die
83 - local lang
84 - for lang in ${LANGS}; do
85 - if ! use linguas_${lang}; then
86 - sed -i -e "s:i18n/${lang}\.qm::" Translations.cmake || die
87 - sed -i -e "s:books/${lang}::" CMakeLists.txt || die
88 - fi
89 - done
90 -}
91 -
92 -src_install() {
93 - cmake-utils_src_install
94 - cd ..
95 - dodoc ChangeLog ChangeLog.floatnum HACKING.txt LISEZMOI README TRANSLATORS
96 - use doc && dodoc doc/*.pdf
97 -}
98
99 diff --git a/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild
100 deleted file mode 100644
101 index 137bcb3..00000000
102 --- a/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild
103 +++ /dev/null
104 @@ -1,49 +0,0 @@
105 -# Copyright 1999-2014 Gentoo Foundation
106 -# Distributed under the terms of the GNU General Public License v2
107 -# $Id$
108 -
109 -EAPI=5
110 -
111 -PLOCALES="ca_ES cs_CZ de_DE en_GB en_US es_AR es_ES et_EE eu_ES fi_FI
112 - fr_FR he_IL hu_HU id_ID it_IT ja_JP ko_KR lv_LV nb_NO nl_NL pl_PL pt_BR
113 - pt_PT ro_RO ru_RU sv_SE vi_VN zh_CN"
114 -
115 -CMAKE_MAKEFILE_GENERATOR=ninja
116 -
117 -inherit cmake-utils l10n
118 -
119 -DESCRIPTION="Fast and usable calculator for power users"
120 -HOMEPAGE="http://speedcrunch.org/"
121 -SRC_URI="https://github.com/${PN}/SpeedCrunch/archive/${PV}.tar.gz -> ${P}.tar.gz"
122 -
123 -LICENSE="GPL-2"
124 -SLOT="0"
125 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
126 -IUSE="doc"
127 -
128 -DEPEND="dev-qt/qtgui:4"
129 -RDEPEND="${DEPEND}"
130 -
131 -S="${WORKDIR}/SpeedCrunch-${PV}/src"
132 -
133 -src_prepare() {
134 - my_rm_loc() {
135 - rm "resources/locale/${1}.qm" || die
136 - sed -i resources/speedcrunch.qrc \
137 - -e "s|<file>locale/${1}.qm</file>||" || die
138 - sed -i gui/mainwindow.cpp \
139 - -e "s|map.insert(QString::fromUtf8(\".*, QLatin1String(\"${1}\"));||" || die
140 - }
141 -
142 - l10n_find_plocales_changes 'resources/locale' '' '.qm'
143 - l10n_for_each_disabled_locale_do my_rm_loc
144 -
145 - cmake-utils_src_prepare
146 -}
147 -
148 -src_install() {
149 - cmake-utils_src_install
150 - cd .. || die
151 - doicon -s scalable gfx/speedcrunch.svg
152 - use doc && dodoc doc/*.pdf
153 -}