public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/costume-quest/
@ 2019-05-06 15:09 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2019-05-06 15:09 UTC (permalink / raw
  To: gentoo-commits

commit:     46a45ff08e849676f4f6c5c61f5baa74a82ae02b
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon May  6 15:09:20 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon May  6 15:09:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a45ff0

games-rpg/costume-quest: New package

This only supports the GOG version for now. This is probably the GOG
version number rather than the upstream one but I can't find an
upstream one.

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-rpg/costume-quest/Manifest                   |  1 +
 .../costume-quest/costume-quest-2.0.0.3.ebuild     | 55 ++++++++++++++++++++++
 games-rpg/costume-quest/metadata.xml               |  8 ++++
 3 files changed, 64 insertions(+)

diff --git a/games-rpg/costume-quest/Manifest b/games-rpg/costume-quest/Manifest
new file mode 100644
index 00000000000..5c5e94d9aa4
--- /dev/null
+++ b/games-rpg/costume-quest/Manifest
@@ -0,0 +1 @@
+DIST gog_costume_quest_2.0.0.3.sh 565855108 BLAKE2B 779d0b0b408921589bb78256cf1b69b912a57143472e3f2d7b6aebf95c07fcd8b86831234519a0c7a30b15c645668d81c0c7502d058465caa337f76ad0311cdf SHA512 9e7ab258b860ec6ee5bef3aab1e745d3dfa02defd6011d195925b50c7a0fd068f4e9e7d483734ad002bcc8353a436a349d9246d947c863b2e3d63e17c41acd71

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 00000000000..822f7a14687
--- /dev/null
+++ b/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
@@ -0,0 +1,55 @@
+# 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}/*"
+
+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 00000000000..26079e608be
--- /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>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/costume-quest/
@ 2019-05-06 16:17 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2019-05-06 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     7edc434f0c15802d38e89d6a244e460edf95b6d9
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon May  6 16:17:10 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon May  6 16:17:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7edc434f

games-rpg/costume-quest: Forgot to add pkg_nofetch

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

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
index 822f7a14687..e6e61a06ac2 100644
--- a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
+++ b/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
@@ -25,6 +25,12 @@ 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}
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/costume-quest/
@ 2024-05-19 16:17 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2024-05-19 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     b133854fd1f0ac225c3c5c40a7492fe03789898c
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun May 19 16:02:02 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun May 19 16:16:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b133854f

games-rpg/costume-quest: libsdl2 will drop the threads USE flag, EAPI 8

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 ...st-2.0.0.3.ebuild => costume-quest-2.0.0.3-r1.ebuild} | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

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-r1.ebuild
similarity index 80%
rename from games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
rename to games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild
index e6e61a06ac24..021bee51a35f 100644
--- a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
+++ b/games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit desktop unpacker xdg-utils
+inherit desktop unpacker xdg
 
 DESCRIPTION="A Halloween adventure from Tim Schafer's Double Fine Productions"
 HOMEPAGE="https://www.doublefine.com"
 SRC_URI="gog_${PN//-/_}_${PV}.sh"
+S="${WORKDIR}/data/noarch/game"
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
@@ -15,13 +16,11 @@ RESTRICT="bindist fetch splitdebug"
 
 RDEPEND="
 	media-libs/glu[abi_x86_32]
-	media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video]
+	media-libs/libglvnd[abi_x86_32,X]
+	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}/*"
 
@@ -56,6 +55,3 @@ src_install() {
 	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; }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-19 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-19 16:17 [gentoo-commits] repo/gentoo:master commit in: games-rpg/costume-quest/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2019-05-06 16:17 James Le Cuirot
2019-05-06 15:09 James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox