summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-09-16 00:17:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-09-16 00:17:42 +0000
commit53c34b8e1a1befa13d611103a0eca1a878c24bbc (patch)
tree65c1e4f537e620cf4cf609f7f8696de68d858a90 /games-rpg
parentadd drascula for games-rpg/drascula (diff)
downloadhistorical-53c34b8e1a1befa13d611103a0eca1a878c24bbc.tar.gz
historical-53c34b8e1a1befa13d611103a0eca1a878c24bbc.tar.bz2
historical-53c34b8e1a1befa13d611103a0eca1a878c24bbc.zip
initial commit - modified ebuild submitted by Anton Romanov via bug #237276
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/drascula/ChangeLog10
-rw-r--r--games-rpg/drascula/Manifest7
-rw-r--r--games-rpg/drascula/drascula-1.0.ebuild59
-rw-r--r--games-rpg/drascula/metadata.xml8
4 files changed, 84 insertions, 0 deletions
diff --git a/games-rpg/drascula/ChangeLog b/games-rpg/drascula/ChangeLog
new file mode 100644
index 000000000000..e75ecd7a4b5b
--- /dev/null
+++ b/games-rpg/drascula/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-rpg/drascula
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/drascula/ChangeLog,v 1.1 2008/09/16 00:17:42 mr_bones_ Exp $
+
+*drascula-1.0 (16 Sep 2008)
+
+ 16 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +drascula-1.0.ebuild:
+ initial commit - modified ebuild submitted by Anton Romanov via bug #237276
+
diff --git a/games-rpg/drascula/Manifest b/games-rpg/drascula/Manifest
new file mode 100644
index 000000000000..bbbf8f08238e
--- /dev/null
+++ b/games-rpg/drascula/Manifest
@@ -0,0 +1,7 @@
+DIST drascula-1.0.zip 32842993 RMD160 6373f69f3f5999f0a25608ede875fa290b3b3aa1 SHA1 0cb91c9e56bc963d17a3c6afe15b76430dd2c6fe SHA256 b731f6cb5a22ba8b4c3b3362f570b9a10a67b6cb0b395394b19a94b36e4e42de
+DIST drascula-audio-1.0.zip 36068682 RMD160 4e98860a9415b2d642e782932a5b29eae0af6e47 SHA1 6618ebe2f08f94836262bc68de6022f9d8f9b081 SHA256 3097f85794e27120d7178b4f294280c813813f88b71dd99ed56e191c02333f2a
+DIST drascula-int-1.0.zip 34837698 RMD160 71e5ca2bd45659dcfdcdc32e0d766240c21158ad SHA1 87d1b63a46bb7f3a2c1a951e8332906ac98e2eec SHA256 b28d9eddf7c7d69731a2f7fc599e91f301c3ad8df1bd630c41e4b172adb01b7e
+DIST drascula.dat 216609 RMD160 e9189f97536fc929388a5ce7e2ca4b2b173aab26 SHA1 ef65cf61340141b013a75c2f09d9c9094fb3c645 SHA256 7793f6f125b261a935d5a282884aacfbd92012cdb4ce8d1807c8957bf885d38c
+EBUILD drascula-1.0.ebuild 1806 RMD160 c4515a0c5118ab2534c6f9316269c1dea3522268 SHA1 b347b39bb1beee2124a585a2da3c1dbacaef7898 SHA256 76bce49f4ed05b26ec46c9844977476106618a14e06dead660dae8ad8efb7a8a
+MISC ChangeLog 414 RMD160 89f3ba2c08c0223f181b0588f8800ca223aab06d SHA1 d350eb0e4cb6bdf546d3b1ef25426e22bf95e30a SHA256 f0e964a7f21232db0daf78338b1d3941b0349de72c62ecb65b9ab9226d8d1bf0
+MISC metadata.xml 234 RMD160 ef754babd6a95bff29d182350f270dce98020786 SHA1 a0bb14c3823207e4cc18b0f036622d2c1b5c2524 SHA256 52c9aebdad8948e6a83727232a22db815e78510a4e7f759e1cd94c7faafabcc3
diff --git a/games-rpg/drascula/drascula-1.0.ebuild b/games-rpg/drascula/drascula-1.0.ebuild
new file mode 100644
index 000000000000..40165f3a278a
--- /dev/null
+++ b/games-rpg/drascula/drascula-1.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/drascula/drascula-1.0.ebuild,v 1.1 2008/09/16 00:17:42 mr_bones_ Exp $
+
+EAPI=1
+inherit eutils games
+
+INT_URI="mirror://sourceforge/scummvm/drascula-int-${PV}.zip"
+DESCRIPTION="Drascula: The Vampire Strikes Back"
+HOMEPAGE="http://www.alcachofasoft.com/"
+SRC_URI="mirror://sourceforge/scummvm/drascula-${PV}.zip
+ http://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/tags/release-0-12-0/dists/engine-data/drascula.dat
+ audio? ( mirror://sourceforge/scummvm/drascula-audio-${PV}.zip )
+ linguas_es? ( ${INT_URI} )
+ linguas_de? ( ${INT_URI} )
+ linguas_fr? ( ${INT_URI} )
+ linguas_it? ( ${INT_URI} )"
+
+LICENSE="drascula"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="+audio linguas_es linguas_de linguas_fr linguas_it"
+
+RDEPEND=">=games-engines/scummvm-0.12.0"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_unpack() {
+ if use linguas_es || use linguas_de || use linguas_fr || use linguas_it; then
+ unpack drascula-int-${PV}.zip
+ fi
+ if use audio ; then
+ unpack drascula-audio-${PV}.zip
+ fi
+ unpack drascula-${PV}.zip
+}
+
+src_install() {
+ local lang
+
+ games_make_wrapper ${PN} "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
+ for lang in es de fr it
+ do
+ if use linguas_${lang} ; then
+ games_make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
+ make_desktop_entry ${PN}-${lang} "Drascula: The Vampire Strikes Back (${lang})" ${PN}
+ fi
+ done
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins P*.* "${DISTDIR}"/drascula.dat || die "doins failed"
+ if use audio ; then
+ doins audio/* || die "doins failed"
+ fi
+ dodoc readme.txt drascula.doc
+ make_desktop_entry ${PN} "Drascula: The Vampire Strikes Back"
+ prepgamesdirs
+}
diff --git a/games-rpg/drascula/metadata.xml b/games-rpg/drascula/metadata.xml
new file mode 100644
index 000000000000..7ba67ff4b56b
--- /dev/null
+++ b/games-rpg/drascula/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+ <use>
+ <flag name="audio">Install optional audio files</flag>
+ </use>
+</pkgmetadata>