diff options
author | Ben de Groot <yngwin@gentoo.org> | 2012-10-06 06:00:12 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2012-10-06 06:00:12 +0000 |
commit | 8d42c631b572edb4162c87cfec317e48b9f08f20 (patch) | |
tree | 2b98004669a80dc4030062316bb3dcd79b888400 /app-editors/focuswriter | |
parent | Remove old versions. (diff) | |
download | gentoo-2-8d42c631b572edb4162c87cfec317e48b9f08f20.tar.gz gentoo-2-8d42c631b572edb4162c87cfec317e48b9f08f20.tar.bz2 gentoo-2-8d42c631b572edb4162c87cfec317e48b9f08f20.zip |
Version bump. Add l10n handling. Remove beta.
(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/focuswriter')
-rw-r--r-- | app-editors/focuswriter/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/focuswriter/focuswriter-1.4.0.ebuild (renamed from app-editors/focuswriter/focuswriter-1.3.90.ebuild) | 18 |
2 files changed, 20 insertions, 6 deletions
diff --git a/app-editors/focuswriter/ChangeLog b/app-editors/focuswriter/ChangeLog index e30417884119..b08a1c34e31b 100644 --- a/app-editors/focuswriter/ChangeLog +++ b/app-editors/focuswriter/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/focuswriter # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.7 2012/09/02 01:38:30 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/ChangeLog,v 1.8 2012/10/06 06:00:12 yngwin Exp $ + +*focuswriter-1.4.0 (06 Oct 2012) + + 06 Oct 2012; Ben de Groot <yngwin@gentoo.org> +focuswriter-1.4.0.ebuild, + -focuswriter-1.3.90.ebuild: + Version bump. Add l10n handling. Remove beta. *focuswriter-1.3.90 (02 Sep 2012) diff --git a/app-editors/focuswriter/focuswriter-1.3.90.ebuild b/app-editors/focuswriter/focuswriter-1.4.0.ebuild index c8c7f11d53eb..e3e17583fa2b 100644 --- a/app-editors/focuswriter/focuswriter-1.3.90.ebuild +++ b/app-editors/focuswriter/focuswriter-1.4.0.ebuild @@ -1,12 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.3.90.ebuild,v 1.1 2012/09/02 01:38:30 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.4.0.ebuild,v 1.1 2012/10/06 06:00:12 yngwin Exp $ EAPI=4 - -#does nothing useful, LANGS="cs de el en es_MX es fi fr hu it nl pl pt_BR pt ru sv uk" - -inherit qt4-r2 +PLOCALES="ca cs da de el en es es_MX fi fr hu it ja nl pl pt_BR pt ru sk sv uk zh_CN" +PLOCALE_BACKUP="en" +inherit qt4-r2 l10n DESCRIPTION="A fullscreen and distraction-free word processor" HOMEPAGE="http://gottcode.org/focuswriter/" @@ -30,6 +29,15 @@ DEPEND="${RDEPEND} DOCS=( ChangeLog CREDITS README ) +src_prepare() { + l10n_for_each_disabled_locale_do rm_loc +} + src_configure() { eqmake4 PREFIX="${EPREFIX}/usr" } + +rm_loc() { + sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed' + rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed" +} |