summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-02-04 12:01:39 +0000
committerJustin Lecher <jlec@gentoo.org>2014-02-04 12:01:39 +0000
commit9a2741c8ada6abf663351aef7bdd60eab8c3129c (patch)
treeb792482a2f28ba77330d73e52adcbce05fbcd49b /sci-calculators
parentStable for amd64 wrt bug #499308 (diff)
downloadhistorical-9a2741c8ada6abf663351aef7bdd60eab8c3129c.tar.gz
historical-9a2741c8ada6abf663351aef7bdd60eab8c3129c.tar.bz2
historical-9a2741c8ada6abf663351aef7bdd60eab8c3129c.zip
handle langs, #500266 thanks Nikoli for the patch; use ninja
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/speedcrunch/ChangeLog8
-rw-r--r--sci-calculators/speedcrunch/Manifest22
-rw-r--r--sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild49
-rw-r--r--sci-calculators/speedcrunch/speedcrunch-0.11.ebuild27
4 files changed, 72 insertions, 34 deletions
diff --git a/sci-calculators/speedcrunch/ChangeLog b/sci-calculators/speedcrunch/ChangeLog
index 2aaa3e0f8147..af96d9b95321 100644
--- a/sci-calculators/speedcrunch/ChangeLog
+++ b/sci-calculators/speedcrunch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-calculators/speedcrunch
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.6 2014/02/04 00:26:07 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.7 2014/02/04 12:01:38 jlec Exp $
+
+*speedcrunch-0.11-r1 (04 Feb 2014)
+
+ 04 Feb 2014; Justin Lecher <jlec@gentoo.org> +speedcrunch-0.11-r1.ebuild,
+ -speedcrunch-0.11.ebuild:
+ handle langs, #500266 thanks Nikoli for the patch; use ninja
*speedcrunch-0.11 (04 Feb 2014)
diff --git a/sci-calculators/speedcrunch/Manifest b/sci-calculators/speedcrunch/Manifest
index c9d5a15522d2..284cc0aea6a7 100644
--- a/sci-calculators/speedcrunch/Manifest
+++ b/sci-calculators/speedcrunch/Manifest
@@ -1,17 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX speedcrunch-0.10.1-iconname.patch 473 SHA256 fdee1e999e7f286216842c61f07a91a0fcb9a1876e0c90f51cf61f27d1e882c4 SHA512 a5d2a987d824745b7404d08a8ac703faa5b49dc0fa70f8210289e6a900285049a9ce8cf4543a94d63fc060af5b91e57b6b8c4e9361f81582fe9ecc46cacae9da WHIRLPOOL 30f3ec810eae2469afa01aa8643623e5231d62df49cf6601d79b994cf49bceb26645693ae1dbdc0acb8d51edbbab348cba8aefb076f3ba5dc44acd1bd4bd65fc
DIST speedcrunch-0.10.1.tar.gz 1722124 SHA256 9d4e4ddd8bc6a60d59b9cb4815511ba20a5767719928eae3729e4df6c96dec84 SHA512 cafd2dc80d4925e0228648883e0117dfe8f7f80b715fc1a97586c19d4f5790833d422aacc117f5beafc18918c116004cb8fce5701b801280f1e9e74a5933d037 WHIRLPOOL b58527f0337fea4c1798802e9d16b1a26de563b963334c8215f06e0502836c1c6eeff590f66222780645050642904600fd44eaee490e86344506cc6cc45ff1cd
DIST speedcrunch-0.11.tar.gz 1516510 SHA256 3632f2b40ac628d2665c838643cc99c50e89b60f54ac2a82b4533d254f0cb6eb SHA512 19d7d5b80709063768abf7076a95e25b7c16956dd20ab181d3876b87bc26e7d8c18820a7ca23af22ea3b52d67de12238b7a106e575415ee755c8c204f732eaf1 WHIRLPOOL 14bca4dfc37e3d9c7fa1ae998a9b30831bf1d9b49ba6370ad38a545d56a37d7b0b7cfbc44040f605d1b95b3a373774d1ef5013eba9afc9a45e62d05f47ab1f30
EBUILD speedcrunch-0.10.1.ebuild 1223 SHA256 1f6fcbb722c9cb2087bf099d13065bb1936b539a47759054f48fbedbc3bd3747 SHA512 a349125bfab30de726918065d9bf42dc59089ffce4b13a29888ecf25cf72ae4875f8af8ca92133c210168501f0739f271d46d8744799a8a72095294388f1e1af WHIRLPOOL 10d8ed745e523243e526407d8555d6dca7f1c0e6b9fc4d129b4ad4c9ba1fae4c276a19b07b4bf20fb4dee85546f04958e6f3048245d4bd89399d4d7a5f1c0199
-EBUILD speedcrunch-0.11.ebuild 686 SHA256 00e30ee9cfaa7cfbee496f9efa289a96932c4e7a04b18cac9f641d7ecb85104e SHA512 b5ddf14864f81c109c3e9b2d676791a0fec382bcc5cafcbeceac11d5ebf40dea735d1079526d4f43a0dab2b46ef6705bef696037a283bc55508575cf42de1ba2 WHIRLPOOL 91d195222e98e4965d40ceab7a81302d825395d2937a4918da8674daf92500cfdeb9bc71fb019ff22b73b7c0325e14be8092472c7fc17bc36d96cd00b0449760
-MISC ChangeLog 1275 SHA256 f573810f535807077efdf708960f8cf54c8b919c63b3d615ec49474c61ffc0a2 SHA512 5d0afb171e0b9f943a94f7303a0d2ed63f7eb62ff2073190819148f00ec651376b48e8986c82f254e8752ca6e746c7d5e09cb403114def02020cae22c56ca567 WHIRLPOOL 51fa075a845dd2ad997ef0c5e111fe9eb316c5d9f4aac30c6b9e7f99aa8a523e424a2d18a66a35f76bbaf68e695e685c2194817ce833fe3620121dace5ad2878
+EBUILD speedcrunch-0.11-r1.ebuild 1348 SHA256 643434f46dd72231b24ea6ec693497d3f2e16d62bb18cea5c7170aaa3fcc9416 SHA512 1f66b40fb76cd31659ee5e95550eadb0dff3a291c31aaa0866f2b27c931c01e50e51e69d5bdfdda99e886b969da57f743f4475b141770a1eb01f174977d9752f WHIRLPOOL 27d601a67f6d31cb4d9ae0063be634b6269d8e461d44595b75af45697ce52071300ad875b7c1d5e25ba0642f6b5339828310754629346ce6141f15ee874ed087
+MISC ChangeLog 1475 SHA256 a1430f2eda26abfb2fc8a1c9c93bc84c160eb853734b4ba437256ba88748e951 SHA512 4df7720c0ef4b1cf92b73c2e067d7a9dd291bc6c5e931572f510b34cbae237308ab4252bfb600ef660731eac1a5b8faba57bd0e6a60c12b645de7740ff8b17bb WHIRLPOOL 6803a38aa7da952bd6f5bf80603f3cccb9fff398aca2d69c0df1a4e7e841e0b861c2f8c41b0b0233e7f97bcf99f0309ccb5762bffa80c2698c7498950491f21c
MISC metadata.xml 330 SHA256 207e113cae13a59e41ae8c58c845f4f5904f2d3e7840573b9b00b6a1f0b94552 SHA512 d3dd7df69b5bfe6b7e1deb67ff47f00a3b120a5ddb0e22199da77a39b4018b180b90fd49ecafda923825c8bda90c09e73c23d90ed61099c950ebfc03e39146e6 WHIRLPOOL 44e97b2ef4149f4b7f6ab4e6e33561f32d3f30a618872fac4abde27a03317aed391105cb60df011b05757b0e5ef56fd67eacfc17705a5b2fd8eeb3fabcf1e014
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlLwM7IACgkQ1ycZbhPLE2ABHQCeJjfucRAzkL6eES3mqt3qihj1
-K1QAoLKfyWkR1lmF6mKwQjPIkLH34jRi
-=/dQ8
+iQIcBAEBCgAGBQJS8NajAAoJELnU8jG9FVirogQP/1qOENfcxsF8yJHQPazTQ0j3
+bYZjHYj8bxki1Hfpb8O7W43kfFCV2TpJNduY3TLLJJoT2GEExoM4+eXSP00Er9cZ
+rWcx/oIS6wFb9t7d5MucZhwDV6VU5KM/JLFs4KhGoQIjAtNbCMIlMFUpzPXNza0j
+pE7VAllTQzX/GHrXsNpn3cXH6Npu0lGWAFvLGCwckDH1PTaHoM9Iheeitx/kS3ze
+7nPYhLUlh+40ceupa3ZJFia9EBGhjT7gUVVKAFvIFNVZwpYmBSQr69DyKPXQxmkQ
+nmx/GYK0AXrwZLFfSOGsJ28XX57HNLelckivAJG0+P+AfxB+2Y/JXISnA3mx9CTz
+Ox5xzJwtoCb+ufURW7DCxwCbLWENYkGDKSJAvForBLYEiCKYJzurpZtjXSGANorx
+mfHtUgpBPWhYbrar7MwnNre3b2/ngP9Se1CoUu3bYwpl595fAxZNsjCZ6N8qRn1o
+CT0EH4D97yX+R6SR+ewdksJTKeWPEUAVe2lhyqF+VyxBCDsWyyTvCANby2+1MAKH
+qIbnO+LHCh0JvyG5/hlLVD7SKPCuPg8Ogj/RNg3KGF1aaXCC8s1IoQncMr4P+Kkp
++XcLtq7Kp5+e00JisbTLKb0v/Ycv8xDB2hofpxAAttdHoJxvObV8HO+vLkTXKrKe
+S2YPXZWTAhCOVJUNuC8w
+=si2s
-----END PGP SIGNATURE-----
diff --git a/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild
new file mode 100644
index 000000000000..330f2fb76b37
--- /dev/null
+++ b/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.11-r1.ebuild,v 1.1 2014/02/04 12:01:38 jlec Exp $
+
+EAPI=5
+
+PLOCALES="ca_ES cs_CZ de_DE en_GB en_US es_AR es_ES et_EE eu_ES fi_FI
+ fr_FR he_IL hu_HU id_ID it_IT ja_JP ko_KR lv_LV nb_NO nl_NL pl_PL pt_BR
+ pt_PT ro_RO ru_RU sv_SE vi_VN zh_CN"
+
+CMAKE_MAKEFILE_GENERATOR=ninja
+
+inherit cmake-utils l10n
+
+DESCRIPTION="Fast and usable calculator for power users"
+HOMEPAGE="http://speedcrunch.org/"
+SRC_URI="https://github.com/${PN}/SpeedCrunch/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/SpeedCrunch-${PV}/src"
+
+src_prepare() {
+ my_rm_loc() {
+ rm "resources/locale/${1}.qm" || die
+ sed -i resources/speedcrunch.qrc \
+ -e "s|<file>locale/${1}.qm</file>||" || die
+ sed -i gui/mainwindow.cpp \
+ -e "s|map.insert(QString::fromUtf8(\".*, QLatin1String(\"${1}\"));||" || die
+ }
+
+ l10n_find_plocales_changes 'resources/locale' '' '.qm'
+ l10n_for_each_disabled_locale_do my_rm_loc
+
+ cmake-utils_src_prepare
+}
+
+src_install() {
+ cmake-utils_src_install
+ cd .. || die
+ doicon -s scalable gfx/speedcrunch.svg
+ use doc && dodoc doc/*.pdf
+}
diff --git a/sci-calculators/speedcrunch/speedcrunch-0.11.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.11.ebuild
deleted file mode 100644
index 5bb3144771f1..000000000000
--- a/sci-calculators/speedcrunch/speedcrunch-0.11.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.11.ebuild,v 1.1 2014/02/04 00:26:07 bicatali Exp $
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="Fast and usable calculator for power users"
-HOMEPAGE="http://speedcrunch.org/"
-SRC_URI="https://github.com/${PN}/SpeedCrunch/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-DEPEND="dev-qt/qtgui:4"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/SpeedCrunch-${PV}/src"
-
-src_install() {
- cmake-utils_src_install
- cd ..
- use doc && dodoc doc/*.pdf
-}