summaryrefslogtreecommitdiff
path: root/games-puzzle/larry
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/larry
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/larry')
-rw-r--r--games-puzzle/larry/Manifest6
-rw-r--r--games-puzzle/larry/files/larry-wrapper7
-rw-r--r--games-puzzle/larry/larry-1-r1.ebuild64
-rw-r--r--games-puzzle/larry/metadata.xml8
4 files changed, 85 insertions, 0 deletions
diff --git a/games-puzzle/larry/Manifest b/games-puzzle/larry/Manifest
new file mode 100644
index 000000000000..870dd69fedee
--- /dev/null
+++ b/games-puzzle/larry/Manifest
@@ -0,0 +1,6 @@
+AUX larry-wrapper 131 SHA256 623e7c97bed6c2ece047fa57d120c4542acb9cb50f7d914ab158de6f3b3a0dcd SHA512 d7260aea5f34994355453d40cde2a2e71610517abdc2a6b76a2f78ed8cc0a0ad06a8eed4e5a1419ae7daf36f6fbcb0252d999f6f0625ca3b9ae7a234e43afa0c WHIRLPOOL 617ab745fea053ab31cf4c5d9248138f02d84a10dcf839fa6ec8b344da4e2efcf60354db00128159e1d070f10af8240196f5263ed4ec0a58c37d7cd4d2f81b7f
+DIST LarryReloadedLinux.tar.gz 767543995 SHA256 8fe697796e8a62f52105490da6768c35a3d5f76a5aafe02a9d10fb387186e703 SHA512 81ad52ba562eb890d2f001c3e4174222b183064103da3c4f2ddcb4cbf3ad432892b35aeb6b4e253ffc972431f6c673c149bb4a80d742a05c20bec803feaaa23a WHIRLPOOL 9d75e5b28091a12e064247ea71cc6d3ddb5132c974b65f7cd2ddcd167e3a24bbf30024b0d7777b4f7770c2199e28e5959cc033b7a052fbb14ea422c43cbfb142
+EBUILD larry-1-r1.ebuild 1325 SHA256 5d47fdc56b692652064455650995ce5fa9849b3fdce9499d2672bad546812864 SHA512 fb11a7d6d28764a21eb34f8359c76d6b4e45f4d9c9b2bde0e614897ed546dedd439d105484a382333ff42dff46decdf1a44fd2f363e26906234c7e6595a84982 WHIRLPOOL 21cd2b430655678a64d239f8d4da19a927996167fd3be5f3d86c4f248a8e84246c2f4bdfb79c5a20eaab6ab1abe59863ee123dfb6d7e03287cd9534d30098c56
+MISC ChangeLog 2445 SHA256 aaa2aa0e37b8ff2e407ad3cac868fa6a40676692935af116bc6b8affe6d8d59c SHA512 8078c45b9dc907f05fead9d9c35f0c97a4cb89d7c683ad29f6d00f5b4cdde02acd29e257d5402845e83f5abb4874b58be2985c4b69f32e3d24a046e3bf322471 WHIRLPOOL 13cc47e523ab5f0bbdc58e8e82a7456922a21336c61d46e3854813307e30827a133171fbbbb3c3c3e9dd7de5cad60cd84fd6645df38a68b6f8ba7b71facb167a
+MISC ChangeLog-2015 980 SHA256 2970edd41cee7862e1b7c12020d331c520868b2b2c7b2f224bc0822f90fd61d1 SHA512 f0d2f444128980bf1a10998e071be97b6b110c1572ee77fa2be35ca8cc9816812c328533a47c344233b20e84d970c07805882233813d614b38e7cad30478d35c WHIRLPOOL ae814f0fd74cfe54d635e99d74a534ad7de9df6b13ec27d8b699abdc3e4a943a8dc73e281a26462e4989ca4f51da4877e8db8195ad6df1710f732101d72acbc7
+MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854
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-r1.ebuild b/games-puzzle/larry/larry-1-r1.ebuild
new file mode 100644
index 000000000000..95bdd1f2aed5
--- /dev/null
+++ b/games-puzzle/larry/larry-1-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils check-reqs gnome2-utils games
+
+DESCRIPTION="Leisure Suit Larry Reloaded"
+HOMEPAGE="https://www.replaygamesinc.com"
+SRC_URI="LarryReloadedLinux.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+RESTRICT="bindist fetch splitdebug"
+
+QA_PREBUILT="${GAMES_PREFIX_OPT#/}/${PN}/Larry-Linux
+ ${GAMES_PREFIX_OPT#/}/${PN}/Larry-Linux_Data/Mono/x86/libmono.so"
+CHECKREQS_DISK_VAR="4500M"
+CHECKREQS_DISK_USR="4500M"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please buy & download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to ${DISTDIR}"
+ 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
+ make_desktop_entry ${PN}
+
+ dogamesbin larry
+ # move it, over 4gb
+ dodir "${GAMES_PREFIX_OPT}"/${PN}
+ mv Larry/* "${ED%/}/${GAMES_PREFIX_OPT}"/${PN}/ || die
+
+ fperms +x "${GAMES_PREFIX_OPT}"/${PN}/Larry-Linux
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-puzzle/larry/metadata.xml b/games-puzzle/larry/metadata.xml
new file mode 100644
index 000000000000..26079e608bed
--- /dev/null
+++ b/games-puzzle/larry/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>