ChangeLog

# ChangeLog for games-engines/gargoyle
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/ChangeLog,v 1.8 2007/11/21 03:42:37 dirtyepic Exp $

21 Nov 2007; Ryan Hill gargoyle-20060917-r1.ebuild:
Allow building with ftjam for bug #188194

27 Apr 2007; Michele Noberasco gargoyle-20060917-r1.ebuild:
Stable for x86.

*gargoyle-20060917-r1 (26 Jan 2007)

26 Jan 2007; Michele Noberasco gargoyle-20060917-r1.ebuild:
Revision bump, with patch to fix level9 interpreter compilation. Closes bug #163374.
gargoyle-20060917.ebuild:
Wiped out previous revision.

*gargoyle-20060917 (22 Jan 2007)

22 Jan 2007; Michele Noberasco gargoyle-20060917.ebuild:
Version bump, with updated filenames patch. Also, added missing sdl-sound and
sdl-mixer dependancies, and fixed gtk+ detection. Closes bug #157207.
gargoyle-20060703:
Wiped out previous version.

24 Aug 2006; Michele Noberasco gargoyle-20060703.ebuild:
Removed duplicate 'inherit eutils' entry.. Closes bug #144950.

*gargoyle-20060703 (23 Aug 2006)

23 Aug 2006; Michele Noberasco gargoyle-20060703.ebuild:
Version bump, with filenames fix. Closes bug #144280.
gargoyle-20051002.ebuild:
Wiped out older version.

19 Mar 2006; Mark Loeser gargoyle-20051002.ebuild:
Add DEPEND on app-arch/unzip

*gargoyle-20051002 (26 Jan 2006)

26 Jan 2006; Michele Noberasco gargoyle-20051002.ebuild:
Initial import. Closes bug #116406, submitted by Rafal Rzepecki.

Manifest

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
EBUILD gargoyle-20060917-r1.ebuild 1763 RMD160 efe6b4635855efe1a849e48c99b73364d7c0e156 SHA1 204722c8f4cfa84598367bc4701bae52018acb5d SHA256 81c365170d96b482467499933226b6e0a1f95779981d9d771c1dcac46cef7443
MISC ChangeLog 1676 RMD160 aa648e9d0764dcb63ef34cdaefbc967a0c8d09ed SHA1 c142f598bdfa3279079d84c5080764d5b9606324 SHA256 3c4fca9bfac517d3b4fca4bed712cc601090c30345f7c332d5c5dc358cfdc729
MISC metadata.xml 252 RMD160 8ce3795bac9d4960615a67c32fb3994bfece325f SHA1 dfce1ee8158b18adf66bfee2988b2b1c796443a8 SHA256 76446769792843475165db424def28271c1aabc5d695d29ad30858e8055c7acd

files

gargoyle-20060917-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-20060917-r1.ebuild,v 1.3 2007/11/21 03:42:37 dirtyepic Exp $

inherit eutils

MY_PV="2006-09-17"
MY_P=${PN}-${MY_PV}
DESCRIPTION="Beautified Glk library and interactive fiction multi-interpreter"
HOMEPAGE="http://ccxvii.net/gargoyle/"
SRC_URI="http://ccxvii.net/gargoyle/download/${MY_P}-source.zip"

LICENSE="BSD"
SLOT="0"
KEYWORDS="x86"
IUSE=""

RDEPEND=">=media-libs/freetype-2.1.9-r1
>=x11-libs/gtk+-2.10.6
>=dev-libs/glib-2.12.4-r1
>=media-libs/jpeg-6b-r5
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
>=media-libs/fmod-3.74
>=media-libs/sdl-sound-1.0.1-r1
>=media-libs/sdl-mixer-1.2.7"

DEPEND="${RDEPEND}
|| ( >=dev-util/jam-2.5-r3 dev-util/ftjam )
app-arch/unzip"

S=${WORKDIR}/${PN}

src_unpack() {
unpack ${A}
cd "${S}"

#Fix file named
epatch "${FILESDIR}"/filename-friendliness-${PV}.patch

#Fix level9 compilation
epatch "${FILESDIR}"/level9-compilation-fix-${PV}.patch

#Fix gtk+ detection
sed -i \
-e 's/"pkg-config freetype2 gtk+"/"pkg-config freetype2 gtk+-2.0"/' \
Jamrules \
|| die "sed failed"
}

src_compile() {
jam || die "jam failed"
}

src_install() {
dodoc garglk/TODO licenses/*
insinto /etc
newins garglk/garglk.ini garglk.ini

#Should to copy garglk/garglk.ini to /etc/, but I don't know the syntax

cd build/linux.release
dolib garglk/libgarglk.so
dobin \
advsys/gargoyle-advsys agility/gargoyle-agility alan2/gargoyle-alan2 \
alan3/gargoyle-alan3 garglk/gargoyle git/gargoyle-git \
hugo/gargoyle-hugo level9/gargoyle-level9 scare/gargoyle-scare \
tads/gargoyle-tadsr frotz/gargoyle-frotz magnetic/gargoyle-magnetic
}

metadata.xml




games

s4t4n@gentoo.org
Michele Noberasco