summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-05-21 08:58:14 +0000
committerPeter Volkov <pva@gentoo.org>2010-05-21 08:58:14 +0000
commitd18b59fc819baa4c4010b0b8d49f817180ae7993 (patch)
tree7446b6e5e9abc129815f4952bc6e9bb0836b7c4a /dev-util/crow-designer
parentImprove native language support. (diff)
downloadgentoo-2-d18b59fc819baa4c4010b0b8d49f817180ae7993.tar.gz
gentoo-2-d18b59fc819baa4c4010b0b8d49f817180ae7993.tar.bz2
gentoo-2-d18b59fc819baa4c4010b0b8d49f817180ae7993.zip
Improve native language support.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/crow-designer')
-rw-r--r--dev-util/crow-designer/ChangeLog5
-rw-r--r--dev-util/crow-designer/crow-designer-2.17.0.ebuild17
2 files changed, 18 insertions, 4 deletions
diff --git a/dev-util/crow-designer/ChangeLog b/dev-util/crow-designer/ChangeLog
index 33b4af4f82a0..111c4423bc66 100644
--- a/dev-util/crow-designer/ChangeLog
+++ b/dev-util/crow-designer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/crow-designer
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/crow-designer/ChangeLog,v 1.17 2010/05/20 03:23:08 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/crow-designer/ChangeLog,v 1.18 2010/05/21 08:58:14 pva Exp $
+
+ 21 May 2010; Peter Volkov <pva@gentoo.org> crow-designer-2.17.0.ebuild:
+ Improve native language support.
20 May 2010; Peter Volkov <pva@gentoo.org> crow-designer-2.15.0.ebuild,
crow-designer-2.17.0.ebuild:
diff --git a/dev-util/crow-designer/crow-designer-2.17.0.ebuild b/dev-util/crow-designer/crow-designer-2.17.0.ebuild
index 65e92c0c4bd3..059b3fd437eb 100644
--- a/dev-util/crow-designer/crow-designer-2.17.0.ebuild
+++ b/dev-util/crow-designer/crow-designer-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-util/crow-designer/crow-designer-2.17.0.ebuild,v 1.2 2010/05/20 03:23:08 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/crow-designer/crow-designer-2.17.0.ebuild,v 1.3 2010/05/21 08:58:14 pva Exp $
EAPI="2"
@@ -11,7 +11,9 @@ SRC_URI="http://nothing-personal.googlecode.com/files/crow-${PV}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="nls"
+
+LANGS="ru"
RDEPEND=">=dev-libs/guiloader-2.17
>=dev-libs/guiloader-c++-2.17
@@ -19,10 +21,19 @@ RDEPEND=">=dev-libs/guiloader-2.17
>=dev-libs/dbus-glib-0.82"
DEPEND="${RDEPEND}
dev-libs/boost
- dev-util/pkgconfig"
+ dev-util/pkgconfig
+ nls? ( >=sys-devel/gettext-0.17 )"
S=${WORKDIR}/crow-${PV}
+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.{en,ru}.txt,readme.{en,ru}.txt,readme.ru.txt} || die