summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-06-07 12:51:18 +0000
committerAlin Năstac <mrness@gentoo.org>2008-06-07 12:51:18 +0000
commit6d5450a372c577af89c89d8fbe933c47e6d9c670 (patch)
treed2aafae9d8736268ac162e99f55d5c06cf6093be /app-mobilephone/gammu
parentAdded p.masked Live SVN ebuild (diff)
downloadhistorical-6d5450a372c577af89c89d8fbe933c47e6d9c670.tar.gz
historical-6d5450a372c577af89c89d8fbe933c47e6d9c670.tar.bz2
historical-6d5450a372c577af89c89d8fbe933c47e6d9c670.zip
Install support for all languages if all selected LINGUAS are not supported.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-mobilephone/gammu')
-rw-r--r--app-mobilephone/gammu/ChangeLog8
-rw-r--r--app-mobilephone/gammu/Manifest10
-rw-r--r--app-mobilephone/gammu/gammu-1.20.0-r1.ebuild (renamed from app-mobilephone/gammu/gammu-1.20.0.ebuild)21
3 files changed, 27 insertions, 12 deletions
diff --git a/app-mobilephone/gammu/ChangeLog b/app-mobilephone/gammu/ChangeLog
index be6734a55ff7..38008cfad986 100644
--- a/app-mobilephone/gammu/ChangeLog
+++ b/app-mobilephone/gammu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-mobilephone/gammu
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.54 2008/06/07 09:42:54 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.55 2008/06/07 12:51:18 mrness Exp $
+
+*gammu-1.20.0-r1 (07 Jun 2008)
+
+ 07 Jun 2008; Alin Năstac <mrness@gentoo.org> -gammu-1.20.0.ebuild,
+ +gammu-1.20.0-r1.ebuild:
+ Install support for all languages if all selected LINGUAS are not supported.
*gammu-1.20.0 (07 Jun 2008)
diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest
index 60954c98b5e8..d67328f9de0e 100644
--- a/app-mobilephone/gammu/Manifest
+++ b/app-mobilephone/gammu/Manifest
@@ -6,13 +6,13 @@ DIST gammu-1.18.0.tar.bz2 1054802 RMD160 8251f2f64925fb5bae8e3af1328dc08aa534a74
DIST gammu-1.20.0.tar.bz2 1070774 RMD160 9afecf9fa4600c96b3992105f861158b7e57b0b0 SHA1 08bbe0c3ec9f75e9d761e04ef549fdfc6d723606 SHA256 7848b7c1992ef202d54a5602904e7d7e190bce0195af69174baa79e741d07e87
EBUILD gammu-1.17.0.ebuild 1603 RMD160 cdd3cd53d12efd6e8e7678c153030e726b2c82d7 SHA1 36abdbd2dfc3bdcdc2efb26958dd43107fc59d77 SHA256 08b17613d2668eebdcf50e5e4730aa10203f00b18f352d4e6dedf7894cacff85
EBUILD gammu-1.18.0.ebuild 1606 RMD160 fa05d3d56d4e08374fac5c28e9e1000aeab5f533 SHA1 3a4f17b666c54c9f0f14faefb141e97688525962 SHA256 b3e8e47d93020b103c7ad80f413fabf47028c9f078873a89e2ead0c0ad6e3201
-EBUILD gammu-1.20.0.ebuild 1613 RMD160 290106d8b848db02e896e804a556ab7ff42cf75b SHA1 20fe5e1bbd469c204d50386fb6497046c5077867 SHA256 e2e91cc01fdd433e28ad90ce495d8afe749ea4133cf37409bd0c26f3669f3b21
-MISC ChangeLog 11808 RMD160 3c87324b0f320dba595ec91a51a51c457da43dd4 SHA1 396ee965b7cad910df374ad1a6bc29780e6a7d8b SHA256 ecb08a1b5dcf2e580788e3e7d05ef4a35c26be18bf0440dea7885302469696f9
+EBUILD gammu-1.20.0-r1.ebuild 1907 RMD160 666b628184926dac59aef6b76f08a63a446c36c4 SHA1 be9cdd5fab3653eec6e32abd134b1fa1ce3dfbe1 SHA256 dcaeada92b11e3fdfb7d3e659dcf2371fb6a7d370c394a7b677964191670253e
+MISC ChangeLog 12017 RMD160 ebc836e3ef53831f4ea072588b86edfa5c86135f SHA1 9a41bd0bdb534ab4bcf18c006d4e82e87f8460a0 SHA256 4a00ab2b3b4637f4c7bf2fec4b8203e810bc2d8c3d90d1410be1da7e85d98b5c
MISC metadata.xml 165 RMD160 1bf9089beacb19ba770d553d02356566ecd76892 SHA1 866903a1177187bfcc803fb62e0e3be2a2674481 SHA256 576ea680ccc744a6279987ce542f52f215515a2b4e95bd08c61a66bba9af1c57
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkhKWCcACgkQ+fWpoTWIA9FPlgCfTWkW1se+tcZyV4lsEsD+lvIN
-xvEAnjEojPnA7Rlxy63FGW75zWSkG/Yk
-=IYN4
+iEYEARECAAYFAkhKhFAACgkQ+fWpoTWIA9EBuQCggYHc7SqhVeQWRLK9KnO8fWiK
+YAgAniQp197UeEt3fSZG1NcQ4mLv1Vrt
+=4cUD
-----END PGP SIGNATURE-----
diff --git a/app-mobilephone/gammu/gammu-1.20.0.ebuild b/app-mobilephone/gammu/gammu-1.20.0-r1.ebuild
index 4545ab7caf71..8e93e5fbee1b 100644
--- a/app-mobilephone/gammu/gammu-1.20.0.ebuild
+++ b/app-mobilephone/gammu/gammu-1.20.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.20.0.ebuild,v 1.1 2008/06/07 09:42:54 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.20.0-r1.ebuild,v 1.1 2008/06/07 12:51:18 mrness Exp $
inherit cmake-utils
@@ -22,6 +22,7 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
dev-util/cmake"
+# sys-devel/gettext is needed for creating .mo files
# Supported languages and translated documentation
# Be sure all languages are prefixed with a single space!
MY_AVAILABLE_LINGUAS=" cs de es it pl ru"
@@ -30,14 +31,22 @@ IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
src_unpack() {
unpack ${A}
- # sys-devel/gettext is needed for creating .mo files
- pushd "${S}/locale"
- local lang
+ pushd "${S}"/locale || die "locale directory not found"
+ local lang support_linguas=no
for lang in ${MY_AVAILABLE_LINGUAS} ; do
- if ! use linguas_${lang} ; then
- sed -i -e "/^[[:space:]]*${lang}[[:space:]]*$/d" CMakeLists.txt
+ if use linguas_${lang} ; then
+ support_linguas=yes
+ break
fi
done
+ # install all languages when all selected LINGUAS aren't supported
+ if [ "${support_linguas}" = "yes" ]; then
+ for lang in ${MY_AVAILABLE_LINGUAS} ; do
+ if ! use linguas_${lang} ; then
+ sed -i -e "/^[[:space:]]*${lang}[[:space:]]*$/d" CMakeLists.txt
+ fi
+ done
+ fi
popd
}