diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-09-16 00:17:42 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-09-16 00:17:42 +0000 |
commit | faa2ff3a847ad0adbbae196e2bc82231d99b4f04 (patch) | |
tree | b4765d6e928c13e16ed33cddb21962cb6834f067 /games-rpg | |
parent | add drascula for games-rpg/drascula (diff) | |
download | gentoo-2-faa2ff3a847ad0adbbae196e2bc82231d99b4f04.tar.gz gentoo-2-faa2ff3a847ad0adbbae196e2bc82231d99b4f04.tar.bz2 gentoo-2-faa2ff3a847ad0adbbae196e2bc82231d99b4f04.zip |
initial commit - modified ebuild submitted by Anton Romanov via bug #237276
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/drascula/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/drascula/Manifest | 7 | ||||
-rw-r--r-- | games-rpg/drascula/drascula-1.0.ebuild | 59 | ||||
-rw-r--r-- | games-rpg/drascula/metadata.xml | 8 |
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..181cd046bc3e --- /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 1703 RMD160 f4e34b86f59eacbe2f689a502fd983db57f09851 SHA1 ef14ac6b9061967bb60ebb86a721cee41aef7f38 SHA256 4b198e851b1cbadad8118f276e69aeef840554a6a09791f0951e611b18ed81ed +MISC ChangeLog 321 RMD160 6ec8b3b4dbec1c76d4a07964537146d5fc6b2f87 SHA1 2f286963c3b795138a8a55d2abe0be1508cc0298 SHA256 20e096c8fa317a57d488142a60ea0836eb352851196dff7a091d74b8689111ad +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> |