diff options
author | Nick White <git@njw.me.uk> | 2009-08-15 22:31:29 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-08-15 22:31:29 +0100 |
commit | d4b6af7cccde7c0fbcc671fe2bde6a90d7f0995a (patch) | |
tree | 7c5b6b6fc44ea4807ca22f1de07b41d04634457c | |
parent | c23da19d669b103a04d6802652abf5e9037e01c0 (diff) | |
download | njw-gentoo-local-d4b6af7cccde7c0fbcc671fe2bde6a90d7f0995a.tar.bz2 njw-gentoo-local-d4b6af7cccde7c0fbcc671fe2bde6a90d7f0995a.zip |
Add ebuild for latest gemrb version
-rw-r--r-- | games-engines/gemrb/Manifest | 2 | ||||
-rw-r--r-- | games-engines/gemrb/gemrb-0.5.0.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/games-engines/gemrb/Manifest b/games-engines/gemrb/Manifest index 9a6f353..1c4aa21 100644 --- a/games-engines/gemrb/Manifest +++ b/games-engines/gemrb/Manifest @@ -9,7 +9,9 @@ EBUILD gemrb-0.3.0.ebuild 1344 RMD160 e004058a5dec456d5fcbeff739fdf2f8f3f20275 S EBUILD gemrb-0.3.1.ebuild 1511 RMD160 9690369fe104a7a16c34ccf414f28ee3987dbd78 SHA1 af9339dedf9fde52f7a823274b47894783d051e2 SHA256 e6693d462f60163cb73b2914d883175c556ab23eacfac4bac03bdaa840743804 EBUILD gemrb-0.3.2.ebuild 1378 RMD160 895c283c75822bd65a7e8671f98830bc0016db35 SHA1 78e3373d40f7970e652a49ca8cb9f45e052608cc SHA256 6f7fa3fefe20f2b8aeeee6d0c56f89235a908b1c1acf79b74ae251188c191426 EBUILD gemrb-0.4.0.ebuild 1170 RMD160 e93a88d1d12071f19013754ab6644f7b828dd098 SHA1 5f9e7150849ddabda048535715a73f2271933ed2 SHA256 dcd03b14808b867f776bd4ae74f4b5d9ffc19f69251ec691d7401703f43575fe +EBUILD gemrb-0.5.0.ebuild 1175 RMD160 8783b75fcfe1402eacd83a85641f7b22a5da9a34 SHA1 602e5957784c14dd4596f3d0f576ddc4110c4748 SHA256 47eea6e6f6bb294a5191684af3113431082ff7337ef1ca07c407a76c410661ee EBUILD gemrb-9999.ebuild 1437 RMD160 f2c03ca8cd924a292e6023ad10e57a3a6af98a93 SHA1 8740a0d3bbb06a7c7031ab94daffb0b2834198ab SHA256 32a4ef040963b019d66ac78f504c67bad386a966d5014c64d4c8995d14ad8867 +DIST gemrb-0.5.0.tar.gz 2084847 RMD160 48fd9f77bd1a3f19b95d5aedd5e2825e5328d980 SHA1 86a01fadd1b4312021256908ba7aafdcb23d7e55 SHA256 795c7ce85ceed60f4f81a451f06969a12d6d812d71e10d85786ef64454f14de1 DIST gemrb-0.2.9.tar.gz 1972265 RMD160 8f9a5770cc7ee2455687dc34f3951c6c9b3b7a81 SHA1 9d3f351baca0ddaba0786034b727a5b494c0901c SHA256 0046f692d119026235d153e3e24ad995606479f463ec367551077516c98bcf57 DIST gemrb-0.3.0.tar.gz 2070980 RMD160 4bf1589e9fb1498f999e283305f55e1a037d7a0b SHA1 18c03b2fae1072f39bf4cb1162dcb7c4064b5f58 SHA256 19254c0e12d360e243ad89c5aa87c81a72aee0f458c9f3988e383017b0053c91 DIST gemrb-0.3.1.tar.gz 2006224 RMD160 af974ff2a11db7eddb2792feb3e4165d15cd09ff SHA1 99dd42ac03abb8c893dc9fef11a12c8db92c1bb2 SHA256 a86488d4503db1507f223d697f8f3b1e8c12258d199fc100addf879efcdc6369 diff --git a/games-engines/gemrb/gemrb-0.5.0.ebuild b/games-engines/gemrb/gemrb-0.5.0.ebuild new file mode 100644 index 0000000..189a561 --- /dev/null +++ b/games-engines/gemrb/gemrb-0.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools eutils games + +DESCRIPTION="Reimplementation of the Infinity engine" +HOMEPAGE="http://gemrb.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=">=media-libs/libsdl-1.2 + media-libs/openal + >=dev-lang/python-2.3" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i '/sysconf_DATA = GemRB.cfg.sample GemRB.cfg.subdir.sample/d' \ + gemrb/Makefile.am || die "remove default config failed" + if ! use doc ; then + sed -i 's|^SUBDIRS = \(.*\) docs|SUBDIRS = \1|' \ + gemrb/Makefile.am || die "don't install docs failed" + fi + eautoreconf || die "eautoreconf failed" +} + +src_compile() { + egamesconf \ + --docdir="/usr/share/doc/${PF}" \ + || die "egamesconf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + libtool --finish "${GAMES_LIBDIR}" + diropts -m0775 -g ${GAMES_GROUP} + keepdir "/var/cache/gemrb" + dodoc "${FILESDIR}/GemRB.cfg.sample" + dodoc README AUTHORS NEWS + prepgamesdirs +} |