summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-04-22 20:39:44 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-04-22 20:39:44 +0000
commitb454cfe7f84c25536a9f3def2ca670d642023743 (patch)
treec9713017a730300c1fb6a77123994dd9b00c4c3d /dev-games
parentMove media-gfx/gnome-raw-thumbnailer block from DEPEND to RDEPEND wrt #413147 (diff)
downloadgentoo-2-b454cfe7f84c25536a9f3def2ca670d642023743.tar.gz
gentoo-2-b454cfe7f84c25536a9f3def2ca670d642023743.tar.bz2
gentoo-2-b454cfe7f84c25536a9f3def2ca670d642023743.zip
Honor LINGUAS. Bug #407175
(Portage version: 2.1.10.56/cvs/Linux i686)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ggz-client-libs/ChangeLog7
-rw-r--r--dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch16
-rw-r--r--dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild12
3 files changed, 31 insertions, 4 deletions
diff --git a/dev-games/ggz-client-libs/ChangeLog b/dev-games/ggz-client-libs/ChangeLog
index d30ed63bde80..4b63d5764325 100644
--- a/dev-games/ggz-client-libs/ChangeLog
+++ b/dev-games/ggz-client-libs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/ggz-client-libs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.35 2012/02/19 13:38:00 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.36 2012/04/22 20:39:44 tupone Exp $
+
+ 22 Apr 2012; Tupone Alfredo <tupone@gentoo.org>
+ ggz-client-libs-0.0.14.1.ebuild,
+ +files/ggz-client-libs-0.0.14.1-linguas.patch:
+ Honor LINGUAS. Bug #407175 by Piotr Szymaniak
19 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org>
ggz-client-libs-0.0.14.1.ebuild:
diff --git a/dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch b/dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch
new file mode 100644
index 000000000000..18428f220bee
--- /dev/null
+++ b/dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch
@@ -0,0 +1,16 @@
+--- m4/i18n.mk.old 2012-04-22 20:47:31.285053576 +0200
++++ m4/i18n.mk 2012-04-22 20:51:29.911102673 +0200
+@@ -21,11 +21,9 @@
+ done
+
+ $(STAMP): $(POFILES)
+- @for j in $(POFILES); do \
++ @for j in $(LINGUAS); do \
+ echo "converting $$j"; \
+- k=$$(basename $$j); \
+- country=`echo $$k | cut -d "." -f 1`; \
+- $(MSGFMT) -o $$country.mo $$j; \
++ [[ ! -f $$j.po ]] || $(MSGFMT) -o $$j.mo $$j.po; \
+ done
+ @touch $(STAMP)
+
diff --git a/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild b/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
index 3464c45e046f..6390992e52e4 100644
--- a/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
+++ b/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild,v 1.16 2012/02/19 13:38:00 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild,v 1.17 2012/04/22 20:39:44 tupone Exp $
EAPI=4
-inherit games-ggz
+inherit base autotools games-ggz
DESCRIPTION="The client libraries for GGZ Gaming Zone"
@@ -20,7 +20,13 @@ RDEPEND="~dev-games/libggz-${PV}
DEPEND="${RDEPEND}
sys-devel/gettext"
-PATCHES=( "${FILESDIR}"/${P}-destdir.patch )
+PATCHES=( "${FILESDIR}"/${P}-destdir.patch
+ "${FILESDIR}"/${P}-linguas.patch )
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+}
src_configure() {
games-ggz_src_configure \