summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-06-14 20:06:18 +0000
committerJustin Lecher <jlec@gentoo.org>2014-06-14 20:06:18 +0000
commit0f8d99a6692cc2e48eaf68efe0f8c31ffe6a24b7 (patch)
tree059ee5d131dec823839932709e5123c15e03e1c0 /sci-calculators
parentAdd some missing locales (diff)
downloadhistorical-0f8d99a6692cc2e48eaf68efe0f8c31ffe6a24b7.tar.gz
historical-0f8d99a6692cc2e48eaf68efe0f8c31ffe6a24b7.tar.bz2
historical-0f8d99a6692cc2e48eaf68efe0f8c31ffe6a24b7.zip
sci-calculators/speedcrunch: Add missing locales, #500266
Package-Manager: portage-2.2.10/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/Manifest25
-rw-r--r--sci-calculators/speedcrunch/metadata.xml10
-rw-r--r--sci-calculators/speedcrunch/speedcrunch-0.11-r2.ebuild49
4 files changed, 64 insertions, 28 deletions
diff --git a/sci-calculators/speedcrunch/ChangeLog b/sci-calculators/speedcrunch/ChangeLog
index af96d9b95321..f1e38e588454 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.7 2014/02/04 12:01:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.8 2014/06/14 20:06:17 jlec Exp $
+
+*speedcrunch-0.11-r2 (14 Jun 2014)
+
+ 14 Jun 2014; Justin Lecher <jlec@gentoo.org> +speedcrunch-0.11-r2.ebuild,
+ metadata.xml:
+ Add missing locales, #500266
*speedcrunch-0.11-r1 (04 Feb 2014)
diff --git a/sci-calculators/speedcrunch/Manifest b/sci-calculators/speedcrunch/Manifest
index 284cc0aea6a7..98b0088e7d36 100644
--- a/sci-calculators/speedcrunch/Manifest
+++ b/sci-calculators/speedcrunch/Manifest
@@ -1,27 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-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-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)
-
-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-----
+EBUILD speedcrunch-0.11-r2.ebuild 1366 SHA256 6e73186db4f642959ff8fd5fb01917e4fd7cfc217a4a4392423f50fe073d3544 SHA512 2bc3460f115651cd0fe7052ec926271c391ef56f910cc1e5ad9fac8f24a43a8fe0719961a0c25490eacd5a30c2a36563809e2f4a7974b7e1f4f3f4164c50f710 WHIRLPOOL 39064614e562e21b48bef324144e135056c83941aac60329435649268293151d2b8b96999da204d4e0b37d82a5a6fecf049f8cdceebeae32acb3f78174ffef33
+MISC ChangeLog 1635 SHA256 f5d51b408ab6ec7714f4d1ccc756448beca84f6fd932c51365824aa152217a56 SHA512 ec491349b04a98a737a23aac8a7fbcb140c1c52ae2c26f80e894af2278063e76476b2a8757bf95288a4e5a877f7ad497c5d3a5b7e1c1c87e913145cd4d80751e WHIRLPOOL 83e4f5b3b1db89095c22799a9e5f00460a52c8ef356ee5cd4f74b3f211f7595d4442bb2d4752ac020a5a900af2c460f1896e0d5c4a5fe1ad730810125ca4d6a3
+MISC metadata.xml 336 SHA256 14876aca1943adf28d0def5bd636ded63b0ae657bdac7cb7e891fa26aef9e5bd SHA512 71713eba6348e5c45803b6417f63e809b4f7f70e7b1d38957d389bf52ad2f732d555788abf12a8bdaf5d36d179a33282e8f4dfd10df4bd8d150345c92fb01a35 WHIRLPOOL 8908b7a3deb13e9def2a5d38cff30aa2c5b4db373709e237686d06a761063bcd8e2a170c78bfb185f72e5d4ca5a6da21f3c296cbfdef15d185b211a99ab818ae
diff --git a/sci-calculators/speedcrunch/metadata.xml b/sci-calculators/speedcrunch/metadata.xml
index f44ed3b4eb0d..c1ce0cec3d6e 100644
--- a/sci-calculators/speedcrunch/metadata.xml
+++ b/sci-calculators/speedcrunch/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <longdescription lang="en">A fast and usable calculator for power users.</longdescription>
- <upstream>
- <remote-id type="google-code">speedcrunch</remote-id>
- </upstream>
+ <herd>sci</herd>
+ <longdescription lang="en">A fast and usable calculator for power users.</longdescription>
+ <upstream>
+ <remote-id type="google-code">speedcrunch</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sci-calculators/speedcrunch/speedcrunch-0.11-r2.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.11-r2.ebuild
new file mode 100644
index 000000000000..75f9ea6999c2
--- /dev/null
+++ b/sci-calculators/speedcrunch/speedcrunch-0.11-r2.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-r2.ebuild,v 1.1 2014/06/14 20:06:17 jlec Exp $
+
+EAPI=5
+
+PLOCALES="ar_JO 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 tr_TR uz_UZ 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
+}