summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-05-21 08:32:37 +0000
committerPeter Volkov <pva@gentoo.org>2010-05-21 08:32:37 +0000
commitddd530c1240934fa14cd018f9f640dc4c566b3fa (patch)
treee6e8dda569f19ab32545859d9a2d03461b4f180e /dev-libs/guiloader
parentAdd a suggestion to the kernel warning. (diff)
downloadgentoo-2-ddd530c1240934fa14cd018f9f640dc4c566b3fa.tar.gz
gentoo-2-ddd530c1240934fa14cd018f9f640dc4c566b3fa.tar.bz2
gentoo-2-ddd530c1240934fa14cd018f9f640dc4c566b3fa.zip
Improve native language support.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/guiloader')
-rw-r--r--dev-libs/guiloader/ChangeLog5
-rw-r--r--dev-libs/guiloader/guiloader-2.17.0.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-libs/guiloader/ChangeLog b/dev-libs/guiloader/ChangeLog
index 6a5e97c59e85..1757bc69bb83 100644
--- a/dev-libs/guiloader/ChangeLog
+++ b/dev-libs/guiloader/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/guiloader
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader/ChangeLog,v 1.17 2010/05/20 03:17:26 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader/ChangeLog,v 1.18 2010/05/21 08:32:37 pva Exp $
+
+ 21 May 2010; Peter Volkov <pva@gentoo.org> guiloader-2.17.0.ebuild:
+ Improve native language support.
20 May 2010; Peter Volkov <pva@gentoo.org> guiloader-2.15.0.ebuild,
guiloader-2.17.0.ebuild:
diff --git a/dev-libs/guiloader/guiloader-2.17.0.ebuild b/dev-libs/guiloader/guiloader-2.17.0.ebuild
index 679838fe9708..56652f96585e 100644
--- a/dev-libs/guiloader/guiloader-2.17.0.ebuild
+++ b/dev-libs/guiloader/guiloader-2.17.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader/guiloader-2.17.0.ebuild,v 1.2 2010/05/20 03:17:26 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader/guiloader-2.17.0.ebuild,v 1.3 2010/05/21 08:32:37 pva Exp $
EAPI="2"
@@ -13,6 +13,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
+LANGS="ru"
+
RDEPEND=">=x11-libs/gtk+-2.18:2
>=dev-libs/glib-2.22:2"
@@ -20,6 +22,14 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( >=sys-devel/gettext-0.17 )"
+for x in ${LANGS}; do
+ IUSE="${IUSE} linguas_${x}"
+done
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc doc/{authors.txt,news.{ru,en}.txt,readme.{ru,en}.txt} || die