summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2007-09-17 12:36:46 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2007-09-17 12:36:46 +0000
commit5cc5c69156c630e9714edffb408a3f7ef8c4118f (patch)
tree5dfef3149b906cc65a95363060777b32d0d826de
parentDeleted app-pda/barry from sunrise and put latest version of barry in portage... (diff)
downloadsunrise-5cc5c69156c630e9714edffb408a3f7ef8c4118f.tar.gz
sunrise-5cc5c69156c630e9714edffb408a3f7ef8c4118f.tar.bz2
sunrise-5cc5c69156c630e9714edffb408a3f7ef8c4118f.zip
app-misc/gcstar: Version bump and add LINGUAS support
svn path=/sunrise/; revision=4677
-rw-r--r--app-misc/gcstar/ChangeLog4
-rw-r--r--app-misc/gcstar/Manifest8
-rw-r--r--app-misc/gcstar/gcstar-1.2.2.ebuild (renamed from app-misc/gcstar/gcstar-1.2.1.ebuild)28
-rw-r--r--app-misc/gcstar/metadata.xml7
4 files changed, 41 insertions, 6 deletions
diff --git a/app-misc/gcstar/ChangeLog b/app-misc/gcstar/ChangeLog
index 692db4ab8..b28d740a7 100644
--- a/app-misc/gcstar/ChangeLog
+++ b/app-misc/gcstar/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 17 Sep 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
+ metadata.xml, -gcstar-1.2.1.ebuild, +gcstar-1.2.2.ebuild:
+ Version bump and add LINGUAS support
+
15 Sep 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com>
-gcstar-1.1.1.ebuild, +gcstar-1.2.1.ebuild:
Version bump
diff --git a/app-misc/gcstar/Manifest b/app-misc/gcstar/Manifest
index 583b5fc9d..4d314443f 100644
--- a/app-misc/gcstar/Manifest
+++ b/app-misc/gcstar/Manifest
@@ -1,4 +1,4 @@
-DIST gcstar-1.2.1.tar.gz 2036832 RMD160 63eef1d7fad90e19e15dc1d1583098931473d29a SHA1 b96b4cbcda2ecb9718d599a3b9d85079f6fbe64f SHA256 69fffcbd931483059d98615d4bba032e5d038c2644730b0f3acf55c39776b50e
-EBUILD gcstar-1.2.1.ebuild 1271 RMD160 a4e2fafb0bd289458a15047880ea6c4b9bbbfea7 SHA1 53e9c225079d5c2c2f1012240dbd32af2173bb71 SHA256 bfcbfeaf0aeb97feb9d764874429ee8ff19f067649ce6f9c29e60f0b6dde7a35
-MISC ChangeLog 1168 RMD160 8ac5b52922d1f56d8ee8acd1d9dde4911f5be49a SHA1 074d6017d37c3735930dfc9dec3a16b6a55e4e04 SHA256 963f70ee0f6966dad1dc6ba06898bb46744bc343867e753235f39fd48ee76f12
-MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+DIST gcstar-1.2.2.tar.gz 2037121 RMD160 fb7cde04bda23f75cd0bec2b3d331b54c75c0ff4 SHA1 cf4b09ad8e5fba1f2b0c1bf2ce5e5c2efacc482a SHA256 eeab4b735e011a41786180c77baa7f4b668313f1791b8f76f9fdb8dbbb5b0d03
+EBUILD gcstar-1.2.2.ebuild 1729 RMD160 2ea6210ea37386393fb4f3533bb270ddfe6847e5 SHA1 5b18aa6abe01ab7b53941794d1f0645b7e7df5e5 SHA256 fc44f68fa2fb7b8dac2b29484e0743710db404210eff3cc2661676e071ea0da3
+MISC ChangeLog 1338 RMD160 f87979b6104d5933403f6292a0724b905a84054c SHA1 6a23bfbaeebb9b4c4266cf85f9fc6b4cc5006a12 SHA256 e55edba975621ab6752bfbecd36059c30968baa2714e72ec4f19b51a5d7a1295
+MISC metadata.xml 524 RMD160 4d9ced3974593caa9271f47141d857a2029613a2 SHA1 de063ca643a9bdd8e7674ba08ff14a40a1ab0282 SHA256 573345a2c97f639155d775b833572466c6a802b04b1069572fd5d3b3b250b60f
diff --git a/app-misc/gcstar/gcstar-1.2.1.ebuild b/app-misc/gcstar/gcstar-1.2.2.ebuild
index 3beb9863c..935cb347a 100644
--- a/app-misc/gcstar/gcstar-1.2.1.ebuild
+++ b/app-misc/gcstar/gcstar-1.2.2.ebuild
@@ -4,14 +4,19 @@
inherit eutils
-DESCRIPTION="GCstar is a free open source application for managing your collections."
+DESCRIPTION="GCstar is a personal collections manager."
HOMEPAGE="http://www.gcstar.org/"
SRC_URI="http://download.gna.org/gcstar/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="mp3 tellico vorbis"
+IUSE="mp3 nls tellico vorbis"
+
+LANGS="ar bg ca cs de en es fr id it pl pt ro ru sr sv tr"
+for x in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${x}"
+done
RDEPEND="dev-lang/perl
dev-perl/Archive-Tar
@@ -38,6 +43,24 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}/lib/gcstar/GCLang"
+ mkdir tmp || die
+ mv ?? tmp
+ if ! use nls ; then
+ mv tmp/EN . || die
+ else
+ for x in ${LANGS} ; do
+ # GCstar uses upper-case language names
+ if use linguas_${x} ; then
+ mv tmp/`echo ${x} | tr 'a-z' 'A-Z'` . || die
+ fi
+ done
+ fi
+ rm -r tmp || die
+}
+
src_install() {
# otherwise man pages would get installed in /usr/man
mv man share
@@ -45,5 +68,6 @@ src_install() {
domenu share/applications/gcstar.desktop
newicon share/gcstar/icons/gcstar_64x64.png gcstar.png
dodoc CHANGELOG README
+ use linguas_fr && dodoc CHANGELOG.fr README.fr
doman share/man/gcstar.1
}
diff --git a/app-misc/gcstar/metadata.xml b/app-misc/gcstar/metadata.xml
index 7e3286984..94274036e 100644
--- a/app-misc/gcstar/metadata.xml
+++ b/app-misc/gcstar/metadata.xml
@@ -2,4 +2,11 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
+<longdescription lang="en">
+ GCstar is a free open source application for managing your collections.
+ Detailed information on each item can be automatically retrieved from the
+ internet and you can store additional data, such as the location or who
+ you've lent it to. You may also search and filter your collection by many
+ criteria.
+</longdescription>
</pkgmetadata>