summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-07-14 00:21:32 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-07-14 00:21:32 +0000
commit4c333682f8561bff0892a620aa27566b195dc578 (patch)
treedd989861ff708eccf31349e77747c07ae0b165c6
parentVersion bump. (diff)
downloadgentoo-2-4c333682f8561bff0892a620aa27566b195dc578.tar.gz
gentoo-2-4c333682f8561bff0892a620aa27566b195dc578.tar.bz2
gentoo-2-4c333682f8561bff0892a620aa27566b195dc578.zip
fix locale bug via revbump
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
-rw-r--r--games-puzzle/larry/ChangeLog8
-rw-r--r--games-puzzle/larry/files/larry-wrapper7
-rw-r--r--games-puzzle/larry/larry-1-r1.ebuild (renamed from games-puzzle/larry/larry-1.ebuild)10
3 files changed, 22 insertions, 3 deletions
diff --git a/games-puzzle/larry/ChangeLog b/games-puzzle/larry/ChangeLog
index b17b1752c825..e1fdeb1b4bcc 100644
--- a/games-puzzle/larry/ChangeLog
+++ b/games-puzzle/larry/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/larry
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/ChangeLog,v 1.1 2013/07/13 22:07:07 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/ChangeLog,v 1.2 2013/07/14 00:21:32 hasufell Exp $
+
+*larry-1-r1 (14 Jul 2013)
+
+ 14 Jul 2013; Julian Ospald <hasufell@gentoo.org> -larry-1.ebuild,
+ +larry-1-r1.ebuild, +files/larry-wrapper:
+ fix locale bug via revbump
*larry-1 (13 Jul 2013)
diff --git a/games-puzzle/larry/files/larry-wrapper b/games-puzzle/larry/files/larry-wrapper
new file mode 100644
index 000000000000..717be43fbd10
--- /dev/null
+++ b/games-puzzle/larry/files/larry-wrapper
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# https://forums.replaygamesinc.com/viewtopic.php?f=28&t=1141
+export LC_ALL=C
+
+cd "@GAMES_DIR@"
+exec ./Larry-Linux "$@"
diff --git a/games-puzzle/larry/larry-1.ebuild b/games-puzzle/larry/larry-1-r1.ebuild
index a93e74cf4d55..ce047baddc4f 100644
--- a/games-puzzle/larry/larry-1.ebuild
+++ b/games-puzzle/larry/larry-1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/larry-1.ebuild,v 1.1 2013/07/13 22:07:07 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/larry/larry-1-r1.ebuild,v 1.1 2013/07/14 00:21:32 hasufell Exp $
EAPI=5
@@ -30,11 +30,17 @@ pkg_nofetch() {
einfo
}
+src_prepare() {
+ sed \
+ -e "s#@GAMES_DIR@#${GAMES_PREFIX_OPT}/${PN}#" \
+ "${FILESDIR}"/${PN}-wrapper > "${S}"/larry || die
+}
+
src_install() {
newicon -s 128 Larry/Larry-Linux_Data/Resources/UnityPlayer.png ${PN}.png
- games_make_wrapper ${PN} "./Larry-Linux" "${GAMES_PREFIX_OPT}/${PN}"
make_desktop_entry ${PN}
+ dogamesbin larry
# move it, over 4gb
dodir "${GAMES_PREFIX_OPT}"/${PN}
mv Larry/* "${ED%/}/${GAMES_PREFIX_OPT}"/${PN}/ || die