summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-04 21:52:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-04 21:52:55 +0000
commit4c99b3bc4ef284f88735ded46cc154fb27f7d58d (patch)
tree47b25e9426ac8e3c1ceeaecb3727b26a92dc9d16 /sci-calculators
parentStable for x86, wrt bug #418825 (diff)
downloadgentoo-2-4c99b3bc4ef284f88735ded46cc154fb27f7d58d.tar.gz
gentoo-2-4c99b3bc4ef284f88735ded46cc154fb27f7d58d.tar.bz2
gentoo-2-4c99b3bc4ef284f88735ded46cc154fb27f7d58d.zip
keyword amd64-linux, x86-linux
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/speedcrunch/ChangeLog8
-rw-r--r--sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild21
2 files changed, 14 insertions, 15 deletions
diff --git a/sci-calculators/speedcrunch/ChangeLog b/sci-calculators/speedcrunch/ChangeLog
index 9e0a12c5e9af..0ca7e4454e1a 100644
--- a/sci-calculators/speedcrunch/ChangeLog
+++ b/sci-calculators/speedcrunch/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-calculators/speedcrunch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.3 2009/12/25 17:56:38 yngwin Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.4 2012/08/04 21:52:55 bicatali Exp $
+
+ 04 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> speedcrunch-0.10.1.ebuild:
+ keyword amd64-linux, x86-linux
25 Dec 2009; Ben de Groot <yngwin@gentoo.org> speedcrunch-0.10.1.ebuild:
Remove deprecated dependency on x11-libs/qt
@@ -19,4 +22,3 @@
02 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org>
+files/speedcrunch-0.10-fix-icon-name.patch, +speedcrunch-0.10.ebuild:
Initial import, see bug #78113
-
diff --git a/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild
index ef62dfef8893..c4135bd46b8c 100644
--- a/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild
+++ b/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild
@@ -1,21 +1,22 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild,v 1.3 2009/12/25 17:56:38 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild,v 1.4 2012/08/04 21:52:55 bicatali Exp $
-EAPI=1
+EAPI=4
inherit eutils cmake-utils
DESCRIPTION="A fast and usable calculator for power users"
-HOMEPAGE="http://speedcrunch.org/"
+HOMEPAGE="https://code.google.com/p/speedcrunch/"
SRC_URI="http://speedcrunch.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc"
DEPEND="x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}"
LANGS="ca cs de en es es_AR eu fi fr he id it nb nl no pl
pt pt_BR ro ru sv tr zh_CN"
@@ -25,12 +26,11 @@ done
S="${WORKDIR}/${P}/src"
-src_unpack( ) {
- unpack ${A}
- cd "${S}"
+src_prepare( ) {
epatch "${FILESDIR}"/${P}-iconname.patch
# regenerate translations
lrelease speedcrunch.pro || die
+ local lang
for lang in ${LANGS}; do
if ! use linguas_${lang}; then
sed -i -e "s:i18n/${lang}\.qm::" Translations.cmake || die
@@ -43,8 +43,5 @@ src_install() {
cmake-utils_src_install
cd ..
dodoc ChangeLog ChangeLog.floatnum HACKING.txt LISEZMOI README TRANSLATORS
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins doc/*.pdf || die
- fi
+ use doc && dodoc doc/*.pdf
}