summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/soltys')
-rw-r--r--games-rpg/soltys/Manifest4
-rw-r--r--games-rpg/soltys/metadata.xml5
-rw-r--r--games-rpg/soltys/soltys-1.0.ebuild65
3 files changed, 72 insertions, 2 deletions
diff --git a/games-rpg/soltys/Manifest b/games-rpg/soltys/Manifest
index b709a1852c4d..3c221b1f26c9 100644
--- a/games-rpg/soltys/Manifest
+++ b/games-rpg/soltys/Manifest
@@ -2,6 +2,6 @@ DIST cat-soltys.png 1917 SHA256 a10d0cc945fe15592744d65586cf359a6c571996a59341e1
DIST soltys-en-v1.0.zip 3484518 SHA256 87b89e654b8a5b8ebe342cb4c5c6049ab9a43a5efb474d9c49bafb77dcce48f6 SHA512 92637d760033c044b3979dfe21f617db0b2cf98c48587e058910f877b38e0887fed8102782f1dfac85bc8eefa68d3791d7ff2d6074396bea2728a128e37cee1d WHIRLPOOL 8993489ef8db9e0c16e240ae14e8c29a4ad56f5413d575ae947f9ba26a94a82cfc78e2a4371aebfea2ddebaed5f29a13838ad1eb8ee7218cb77c3c23f9d3416c
DIST soltys-es-v1.0.zip 3527349 SHA256 913db60d16a3c7faa2f8d02a09ea925792614bfebdc46c6df8f89ac277a35302 SHA512 eac3aa60e274720f65504ffe5bc18f99401a24c5775c3bc6eb893aef2af7e02055eb52e3da162f124babe5b611f93ff5444aca6e2ea26e5baa98a2131dd49da0 WHIRLPOOL 6870bd20f9064a80008ce192e4f4fc32431d513f43b65829a22421ae585331d99b9fa0c42f5cf86a85b5dfc106146278c484eafb7b68e41d4a5171ea39b7d4dc
DIST soltys-pl-v1.0.zip 3483638 SHA256 c865520e3752183cf5f0d062712b40dc21efc602eaa4c88952906b61979c81a7 SHA512 b8c04366d360eb4b7f296718ae46a2e417b676f9bddd6fb8555069d8972ae2ff1706c67fc473a52a5009cb433ff58db377e5f02ff6b27e68e35d2a89c8108f24 WHIRLPOOL 07429bd52db303e5e97fee67778b9086cf7c0633b17684807d0ccf07d63229bbafa1dc50fa73c47911fedd8fb3a605a5931feff4436eb5215d5b9febd0ad7987
-EBUILD soltys-1.0.ebuild 2001 SHA256 2ca3b8e5775eb7de5f47bb712734034af7c263f17399af9e8fcf959db18f4ca5 SHA512 a834e77ac8a3dcf0edcf7625df91b6d61d59ed8c72e6eca505f981959e75271155ba5e7abebe506d206b0aff436695e70d9055d32b1c6f5d502c76dc2d7fb3a8 WHIRLPOOL 3da4b68d00c564c5cdbdec07085285de41761921bb8bfabce16f1f6cccb81a9dfc96d54ca70afee9336419879a5e28f127c3ecf5fd1b52834bf73c01676c9478
-MISC ChangeLog 251 SHA256 a4805cc54bcff1f7ae8af3ffbb9254c98753a1b6bb3035ecd93f5e17eb03c533 SHA512 eb35c104dab84ca21ece9cd63e0feecd7c74893a42a9e6247ae60f6d8341c78c6c34bc73027ff598b0c84d8d829b8534a30aad7986a3f7307d1794f935df952d WHIRLPOOL f4a08ecacc6bdb788c1bdf68e8a5d28f3166ac855c33207559096c43f284468d10ad12957c11a0386d7e7744dccca4641fa64306a336c0d1db09273a834a6104
+EBUILD soltys-1.0.ebuild 2098 SHA256 25083004ec095961720f07570fcc1d85c972c5ceb9c6b34feb435c8731654615 SHA512 7e719e33183e44f6c57c76c137791c19b1ba92155ba8a93a3b8a62bc03026b8bd46977590abcf5ae05740f0b7025a6435afc7c9ad3b49132987e33d02581defc WHIRLPOOL b8f9f0914b5baba81e8b60430d290187a908bd8682dfcab19e4de39baa817da8ff4185efa6a7e5401ba5a6a26fc403968860955e6970f2e5e99b4a3d321af7e2
+MISC ChangeLog 340 SHA256 a14e6fb0b5d9b6e3838664ad4a34f2ab39ed3d0f325ac8dcb4839fc2f3fad4e3 SHA512 4e4c670f27d9072713e5b1e376041f63d83a294da75a62068bde62cddae82dee46ed3e961c5b6b741cb3bbae4b1b745b7427ef99c91d91a3bec2496c3bc88242 WHIRLPOOL 13b845d3a0f7658b3d64a00315637447e0ddd79a4a072b2ec980098139888247a7b69c07e146f3a752beeff4fcd9fe016f0855d1f7791ed732cb6f262cdad978
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
diff --git a/games-rpg/soltys/metadata.xml b/games-rpg/soltys/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-rpg/soltys/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-rpg/soltys/soltys-1.0.ebuild b/games-rpg/soltys/soltys-1.0.ebuild
new file mode 100644
index 000000000000..fdeaac667380
--- /dev/null
+++ b/games-rpg/soltys/soltys-1.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/soltys/soltys-1.0.ebuild,v 1.1 2014/10/30 00:16:18 calchan Exp $
+
+EAPI=5
+inherit unpacker eutils games
+
+DESCRIPTION="Classic adventure game"
+HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys"
+SRC_URI="linguas_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
+ linguas_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
+ linguas_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
+ !linguas_en? ( !linguas_es? ( !linguas_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) )
+ http://www.scummvm.org/images/cat-soltys.png"
+
+LICENSE="Soltys"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_en linguas_es linguas_pl"
+
+RDEPEND=">=games-engines/scummvm-1.5"
+DEPEND="$(unpacker_src_uri_depends)"
+
+S=${WORKDIR}
+
+src_unpack() {
+ if use linguas_en || ( ! use linguas_en && ! use linguas_es && ! use linguas_pl ) ; then
+ mkdir -p en || die
+ unpacker ${PN}-en-v${PV}.zip
+ mv vol.{cat,dat} en/ || die
+ fi
+ if use linguas_es ; then
+ mkdir -p es || die
+ unpacker ${PN}-es-v${PV}.zip
+ mv soltys-es-v1-0/vol.{cat,dat} es/ || die
+ fi
+ if use linguas_pl ; then
+ mkdir -p pl || die
+ unpacker ${PN}-pl-v${PV}.zip
+ mv vol.{cat,dat} pl/ || die
+ fi
+}
+
+src_prepare() {
+ rm -rf license.txt soltys-es-v1-0
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r *
+ newicon "${DISTDIR}"/cat-soltys.png soltys.png
+ if use linguas_en || ( ! use linguas_en && ! use linguas_es && ! use linguas_pl ) ; then
+ games_make_wrapper soltys-en "scummvm -f -g hq3x -p \"${GAMES_DATADIR}/${PN}/en\" soltys" .
+ make_desktop_entry ${PN}-en "Soltys (English)" soltys
+ fi
+ if use linguas_es ; then
+ games_make_wrapper soltys-es "scummvm -f -g hq3x -p \"${GAMES_DATADIR}/${PN}/es\" soltys" .
+ make_desktop_entry ${PN}-es "Soltys (Español)" soltys
+ fi
+ if use linguas_pl ; then
+ games_make_wrapper soltys-pl "scummvm -f -g hq3x -p \"${GAMES_DATADIR}/${PN}/pl\" soltys" .
+ make_desktop_entry ${PN}-pl "Soltys (Polski)" soltys
+ fi
+ prepgamesdirs
+}