summaryrefslogtreecommitdiff
path: root/games-rpg/costume-quest
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-07 11:18:59 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-07 11:18:59 +0100
commita2810985afabcc31d3eace5e61d8ea25b852ba17 (patch)
treed254e77a7aeadd875db2dc73532da78094238ffd /games-rpg/costume-quest
parenteab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (diff)
gentoo resync : 07.05.2019
Diffstat (limited to 'games-rpg/costume-quest')
-rw-r--r--games-rpg/costume-quest/Manifest3
-rw-r--r--games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild61
-rw-r--r--games-rpg/costume-quest/metadata.xml8
3 files changed, 72 insertions, 0 deletions
diff --git a/games-rpg/costume-quest/Manifest b/games-rpg/costume-quest/Manifest
new file mode 100644
index 000000000000..0cd4fc49d2c1
--- /dev/null
+++ b/games-rpg/costume-quest/Manifest
@@ -0,0 +1,3 @@
+DIST gog_costume_quest_2.0.0.3.sh 565855108 BLAKE2B 779d0b0b408921589bb78256cf1b69b912a57143472e3f2d7b6aebf95c07fcd8b86831234519a0c7a30b15c645668d81c0c7502d058465caa337f76ad0311cdf SHA512 9e7ab258b860ec6ee5bef3aab1e745d3dfa02defd6011d195925b50c7a0fd068f4e9e7d483734ad002bcc8353a436a349d9246d947c863b2e3d63e17c41acd71
+EBUILD costume-quest-2.0.0.3.ebuild 1340 BLAKE2B 937df4503a3a382d3c07ca35d51eff59f3390243e0439c6852950cd052d12298ba5c22a7f0a52a8c07f7ab7d68dda060e2e1254c7d4c4a21c05f8bdf9d7bc01f SHA512 61c6bc50a2e1da978bba93795802ac88b00e157d6824389318162875cf9e26128eb374a487c7dbc45c13cba183309a6098e85679fb9a071a702b582e0e92a81f
+MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254
diff --git a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild b/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
new file mode 100644
index 000000000000..e6e61a06ac24
--- /dev/null
+++ b/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop unpacker xdg-utils
+
+DESCRIPTION="A Halloween adventure from Tim Schafer's Double Fine Productions"
+HOMEPAGE="https://www.doublefine.com"
+SRC_URI="gog_${PN//-/_}_${PV}.sh"
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+RDEPEND="
+ media-libs/glu[abi_x86_32]
+ media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video]
+ sys-libs/zlib[abi_x86_32]
+ virtual/opengl[abi_x86_32]
+"
+
+S="${WORKDIR}/data/noarch/game"
+
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " https://www.gog.com/game/${PN//-/_}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_prepare() {
+ default
+
+ # I think our SDL2 package has a newer database.
+ rm -v Data/Config/SDLGamepad.config || die
+}
+
+src_install() {
+ exeinto "${DIR}"
+ newexe Cq.bin.x86 Cq.bin
+ dosym "${DIR}"/Cq.bin /usr/bin/${PN}
+
+ insinto "${DIR}"
+ doins -r DFCONFIG Data/ Linux/ OGL/ Win/
+
+ exeinto "${DIR}/lib"
+ doexe lib/libfmod*.so
+
+ newicon -s 256 CostumeQuest.png ${PN}.png
+ make_desktop_entry ${PN} "Costume Quest"
+}
+
+pkg_postinst() { xdg_icon_cache_update; }
+pkg_postrm() { xdg_icon_cache_update; }
diff --git a/games-rpg/costume-quest/metadata.xml b/games-rpg/costume-quest/metadata.xml
new file mode 100644
index 000000000000..26079e608bed
--- /dev/null
+++ b/games-rpg/costume-quest/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>