diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-01-15 19:41:25 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-01-15 19:41:25 +0000 |
commit | 6d139d95d82ae904da295b38d96f5389df3de4d2 (patch) | |
tree | 52961e80c78b441aba0f4493f4e4c91bf114d212 /mail-client/trojita | |
parent | Properly fix the CC issue, bug 452096. (diff) | |
download | gentoo-2-6d139d95d82ae904da295b38d96f5389df3de4d2.tar.gz gentoo-2-6d139d95d82ae904da295b38d96f5389df3de4d2.tar.bz2 gentoo-2-6d139d95d82ae904da295b38d96f5389df3de4d2.zip |
Update git repo. Add virtualx eclass for tests. Bug #451328. Thanks to Jan Kundrát <jkt@gentoo.org>
(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Diffstat (limited to 'mail-client/trojita')
-rw-r--r-- | mail-client/trojita/ChangeLog | 8 | ||||
-rw-r--r-- | mail-client/trojita/trojita-9999.ebuild | 23 |
2 files changed, 26 insertions, 5 deletions
diff --git a/mail-client/trojita/ChangeLog b/mail-client/trojita/ChangeLog index 171420d9726c..3e44a048cfd7 100644 --- a/mail-client/trojita/ChangeLog +++ b/mail-client/trojita/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-client/trojita -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/trojita/ChangeLog,v 1.17 2012/12/10 19:13:02 ago Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/trojita/ChangeLog,v 1.18 2013/01/15 19:41:25 hwoarang Exp $ + + 15 Jan 2013; Markos Chandras <hwoarang@gentoo.org> trojita-9999.ebuild: + Update git repo. Add virtualx eclass for tests. Bug #451328. Thanks to Jan + Kundrát <jkt@gentoo.org> 10 Dec 2012; Agostino Sarubbo <ago@gentoo.org> -trojita-0.2.9.4.ebuild, -trojita-0.3.ebuild, trojita-0.3.90.ebuild: diff --git a/mail-client/trojita/trojita-9999.ebuild b/mail-client/trojita/trojita-9999.ebuild index 3f25a7377211..3aee2be4be30 100644 --- a/mail-client/trojita/trojita-9999.ebuild +++ b/mail-client/trojita/trojita-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/trojita/trojita-9999.ebuild,v 1.11 2012/11/28 07:37:32 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/trojita/trojita-9999.ebuild,v 1.12 2013/01/15 19:41:25 hwoarang Exp $ EAPI=4 @@ -16,12 +16,16 @@ if [[ ${PV} == "9999" ]]; then KEYWORDS="" else SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~ppc ~x86" + MY_LANGS="bs cs de es et ga gl hu ia lt nl pt pt_BR sk sv uk zh_CN" fi LICENSE="|| ( GPL-2 GPL-3 )" SLOT="0" IUSE="debug test +zlib" +for MY_LANG in ${MY_LANGS} ; do + IUSE="${IUSE} linguas_${MY_LANG}" +done RDEPEND=" >=x11-libs/qt-gui-${QT_REQUIRED}:4 @@ -41,5 +45,18 @@ src_configure() { use debug && myopts="$myopts CONFIG+=debug" use test || myopts="$myopts CONFIG+=disable_tests" use zlib || myopts="$myopts CONFIG+=disable_zlib" + if [[ ${MY_LANGS} ]]; then + rm po/trojita_common_x-test.po + for x in po/*.po; do + mylang=${x#po/trojita_common_} + mylang=${mylang%.po} + use linguas_$mylang || rm $x + done + fi + eqmake4 PREFIX=/usr $myopts } + +src_test() { + Xemake test +} |