1 |
jlec 14/02/04 12:01:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: speedcrunch-0.11-r1.ebuild |
5 |
Removed: speedcrunch-0.11.ebuild |
6 |
Log: |
7 |
handle langs, #500266 thanks Nikoli for the patch; use ninja |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.7 sci-calculators/speedcrunch/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/speedcrunch/ChangeLog?rev=1.7&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/speedcrunch/ChangeLog?rev=1.7&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/speedcrunch/ChangeLog?r1=1.6&r2=1.7 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v |
21 |
retrieving revision 1.6 |
22 |
retrieving revision 1.7 |
23 |
diff -u -r1.6 -r1.7 |
24 |
--- ChangeLog 4 Feb 2014 00:26:07 -0000 1.6 |
25 |
+++ ChangeLog 4 Feb 2014 12:01:38 -0000 1.7 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sci-calculators/speedcrunch |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.6 2014/02/04 00:26:07 bicatali Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.7 2014/02/04 12:01:38 jlec Exp $ |
31 |
+ |
32 |
+*speedcrunch-0.11-r1 (04 Feb 2014) |
33 |
+ |
34 |
+ 04 Feb 2014; Justin Lecher <jlec@g.o> +speedcrunch-0.11-r1.ebuild, |
35 |
+ -speedcrunch-0.11.ebuild: |
36 |
+ handle langs, #500266 thanks Nikoli for the patch; use ninja |
37 |
|
38 |
*speedcrunch-0.11 (04 Feb 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: speedcrunch-0.11-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild,v 1.1 2014/02/04 12:01:38 jlec Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PLOCALES="ca_ES cs_CZ de_DE en_GB en_US es_AR es_ES et_EE eu_ES fi_FI |
57 |
fr_FR he_IL hu_HU id_ID it_IT ja_JP ko_KR lv_LV nb_NO nl_NL pl_PL pt_BR |
58 |
pt_PT ro_RO ru_RU sv_SE vi_VN zh_CN" |
59 |
|
60 |
CMAKE_MAKEFILE_GENERATOR=ninja |
61 |
|
62 |
inherit cmake-utils l10n |
63 |
|
64 |
DESCRIPTION="Fast and usable calculator for power users" |
65 |
HOMEPAGE="http://speedcrunch.org/" |
66 |
SRC_URI="https://github.com/${PN}/SpeedCrunch/archive/${PV}.tar.gz -> ${P}.tar.gz" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
71 |
IUSE="doc" |
72 |
|
73 |
DEPEND="dev-qt/qtgui:4" |
74 |
RDEPEND="${DEPEND}" |
75 |
|
76 |
S="${WORKDIR}/SpeedCrunch-${PV}/src" |
77 |
|
78 |
src_prepare() { |
79 |
my_rm_loc() { |
80 |
rm "resources/locale/${1}.qm" || die |
81 |
sed -i resources/speedcrunch.qrc \ |
82 |
-e "s|<file>locale/${1}.qm</file>||" || die |
83 |
sed -i gui/mainwindow.cpp \ |
84 |
-e "s|map.insert(QString::fromUtf8(\".*, QLatin1String(\"${1}\"));||" || die |
85 |
} |
86 |
|
87 |
l10n_find_plocales_changes 'resources/locale' '' '.qm' |
88 |
l10n_for_each_disabled_locale_do my_rm_loc |
89 |
|
90 |
cmake-utils_src_prepare |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
cmake-utils_src_install |
95 |
cd .. || die |
96 |
doicon -s scalable gfx/speedcrunch.svg |
97 |
use doc && dodoc doc/*.pdf |
98 |
} |