summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-10-14 08:29:32 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-10-14 08:29:32 +0000
commitf448894bf390b2c6b2d0ef5630bb66ea6825c4e3 (patch)
treefda3c342e976ba0f7f22023189faa54bbed80f1f /games-engines/gargoyle
parentVersion bump (diff)
downloadhistorical-f448894bf390b2c6b2d0ef5630bb66ea6825c4e3.tar.gz
historical-f448894bf390b2c6b2d0ef5630bb66ea6825c4e3.tar.bz2
historical-f448894bf390b2c6b2d0ef5630bb66ea6825c4e3.zip
Version bump. Closes bug #253098.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-engines/gargoyle')
-rw-r--r--games-engines/gargoyle/ChangeLog7
-rw-r--r--games-engines/gargoyle/Manifest4
-rw-r--r--games-engines/gargoyle/gargoyle-20100930.ebuild114
3 files changed, 123 insertions, 2 deletions
diff --git a/games-engines/gargoyle/ChangeLog b/games-engines/gargoyle/ChangeLog
index 3389739b800f..cbecf5e83a33 100644
--- a/games-engines/gargoyle/ChangeLog
+++ b/games-engines/gargoyle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-engines/gargoyle
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/ChangeLog,v 1.10 2010/08/31 15:38:31 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/ChangeLog,v 1.11 2010/10/14 08:29:32 s4t4n Exp $
+
+*gargoyle-20100930 (14 Oct 2010)
+
+ 14 Oct 2010; Michele Noberasco <s4t4n@gentoo.org> gargoyle-20100930.ebuild:
+ Version bump. Closes bug #253098.
31 Aug 2010; Michele Noberasco <s4t4n@gentoo.org> gargoyle-20060917-r1.ebuild:
Honour Gentoo LDFLAGS. Closes bug #333653.
diff --git a/games-engines/gargoyle/Manifest b/games-engines/gargoyle/Manifest
index 94ae5d8c4a09..2652170b0250 100644
--- a/games-engines/gargoyle/Manifest
+++ b/games-engines/gargoyle/Manifest
@@ -1,6 +1,8 @@
AUX filename-friendliness-20060917.patch 6215 RMD160 dd87f7631933ee8e903e986459f6215b525c13d1 SHA1 28bc89c84b12e4a4373ba31904d3f6ed3d485c50 SHA256 ee70e785ae62e9715dd081e669099153ed764af0a9d364bbac1aa285dee27dda
AUX level9-compilation-fix-20060917.patch 1714 RMD160 268e36e6ae00a339890a5a1e0f4a904e3bb602fa SHA1 7446146c36b54997f85f29fa0f8e6e6e3fe45441 SHA256 4ea12b9e7f638e479e4a2db8353ff12fc5ff43ca25780a4c062f9f0ae9e3d054
DIST gargoyle-2006-09-17-source.zip 9714916 RMD160 86e832323f8da96004460c7fa5b1054717817884 SHA1 2a1f4fa08444761ecc32c28770f0af6d24b4eeb8 SHA256 3a39e8e8809a8d942bb5ae71b8f64e4f4f4ecbf2cd1e7de0ed40fd58ea2f7ce0
+DIST gargoyle-2010.1-sources.zip 10771623 RMD160 68407ca19b4c3a4efc40c18a363e5e3dc15e950f SHA1 eeea17b34ba7cdeb0dc1b619b88b36ec2bb8368f SHA256 1646565625cf963bf27f0cbe91735523e1c83ea2d49bef9ff534c1ac78aa7e1d
EBUILD gargoyle-20060917-r1.ebuild 2071 RMD160 a3bd1522bf2079b3930f2a48689db3314603783f SHA1 0e200da43e9e78591c65a086f7c829df4cd3de89 SHA256 c8fd18c63acfa2c52d2492197fff4663e6aa1c76ac3c6c646361d1a4c514f8cd
-MISC ChangeLog 1959 RMD160 eb54cae393065505fa006091cd59cc715ad8a7ca SHA1 481771ebf1a802eff93652b27677f07e9eb316a5 SHA256 b153c7f64b68d1a45dab32d6d6b063cf89cec77c2c0eb6c51db96af70ba4acca
+EBUILD gargoyle-20100930.ebuild 3301 RMD160 95d614395e0f481332eaf47ba132f53d2551d8b6 SHA1 b343b95d64e62dbdbecf6bebc651d5848ac1b0b7 SHA256 e0c372838ae6dcbe69253f2a8b5c8a89800c252630e811a4a10c2ce81942ab92
+MISC ChangeLog 2108 RMD160 973d26b3ab8961cc5237fc9a2aae9384829a7e18 SHA1 254e1ed1c0665b3518def83e96e5b76288e4e701 SHA256 3983f6d47ec6d0a6423c59d9bea7df637eb1a0607b8b69ca491ba8cf315a99eb
MISC metadata.xml 252 RMD160 8ce3795bac9d4960615a67c32fb3994bfece325f SHA1 dfce1ee8158b18adf66bfee2988b2b1c796443a8 SHA256 76446769792843475165db424def28271c1aabc5d695d29ad30858e8055c7acd
diff --git a/games-engines/gargoyle/gargoyle-20100930.ebuild b/games-engines/gargoyle/gargoyle-20100930.ebuild
new file mode 100644
index 000000000000..0867b8de8b0f
--- /dev/null
+++ b/games-engines/gargoyle/gargoyle-20100930.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-20100930.ebuild,v 1.1 2010/10/14 08:29:32 s4t4n Exp $
+
+# Notes:
+# - fmod support is based on an old version of fmod which is not in portage,
+# and therefore not supported by this ebuild. SDL is the preferred library.
+# - Have contacted upstream requesting overridable build variables and a
+# configurable config file path, to obviate file editing in src_prepare.
+
+# Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
+# interpreters are licensed under GPLv2, BSD or MIT license, except:
+# - alan2/alan3: status unclear!
+# - glulxe: custom license, see "terps/glulxle/README"
+# - hugo: custom license, see "licenses/HUGO License.txt"
+# Since we don't compile or install any of the bundled fonts, their licenses
+# don't apply. (Fonts are installed through dependencies instead.)
+
+MY_PV="2010.1"
+MY_P="${PN}-${MY_PV}"
+
+EAPI=2
+
+inherit eutils games
+
+DESCRIPTION="An interactive fiction (IF) player supporting all major formats"
+HOMEPAGE="http://ccxvii.net/gargoyle/"
+SRC_URI="http://garglk.googlecode.com/files/${MY_P}-sources.zip"
+
+LICENSE="BSD GPL-2 MIT Hugo Glulxe"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sdl"
+
+RDEPEND="media-libs/freetype:2
+ media-libs/jpeg
+ media-libs/libpng
+ media-fonts/liberation-fonts
+ media-fonts/libertine-ttf
+ sys-libs/zlib
+ x11-libs/gtk+:2
+ sdl? (
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-sound
+ media-libs/libvorbis
+ media-libs/smpeg
+ )"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-util/ftjam"
+
+src_prepare() {
+ if ! use sdl; then
+ sed -i -e '/^USESDL = /s/yes/no/' Jamrules || die
+ fi
+
+ # Substitute custom CFLAGS/LDFLAGS:
+ sed -i -e \
+ "/^\s*OPTIM = / {
+ s/ \(-O.*\)\? ;/ ${CFLAGS} ;/
+ a LINKFLAGS = ${LDFLAGS} ;
+ a SHRLINKFLAGS = ${LDFLAGS} ;
+ }" Jamrules || die
+
+ # Don't bundle default fonts; we'll install better ones as a dependency:
+ sed -i -e '/^BUNDLEFONTS = /s/yes/no/' Jamrules || die
+
+ # Convert garglk.ini to UNIX format:
+ edos2unix garglk/garglk.ini
+
+ # Fix path to garglk.ini in config loader:
+ sed -i -e "s|/etc|${GAMES_SYSCONFDIR}|" garglk/config.c || die
+}
+
+src_compile() {
+ jam || die
+ jam install || die
+ # Note: the line above doesn't actually install anything yet!
+}
+
+src_install() {
+ # Install config file:
+ insinto "${GAMES_SYSCONFDIR}"
+ newins garglk/garglk.ini garglk.ini || die
+
+ # Install application entry and icon:
+ insinto /usr/share/applications
+ doins garglk/${PN}.desktop || die
+ doicon garglk/${PN}-house.png || die
+
+ # Install library:
+ cd build/dist || die
+ dogameslib libgarglk.so || die
+
+ # Install launcher and terps, symlinking binaries to avoid name clashes:
+ insinto "${GAMES_PREFIX}/libexec/${PN}"
+ insopts -m0755
+ for terp in advsys agility alan2 alan3 frotz geas git glulxe hugo jacl \
+ level9 magnetic nitfol scare tadsr
+ do
+ doins ${terp} || die
+ dosym "${GAMES_PREFIX}/libexec/${PN}/${terp}" \
+ "${GAMES_BINDIR}/${PN}-${terp}" || die
+ done
+ # N.B. the launcher binary is installed in libexec too, because it
+ # expects to find the interpreters in the same directory:
+ doins ${PN}|| die
+ dosym "${GAMES_PREFIX}/libexec/${PN}/${PN}" \
+ "${GAMES_BINDIR}/${PN}" || die
+
+ prepgamesdirs
+}