public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/psychonauts-gog/
@ 2023-06-17 14:21 James Le Cuirot
  0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot @ 2023-06-17 14:21 UTC (permalink / raw
  To: gentoo-commits

commit:     979e9e1e2d51a484ef5b08959f1b8c6960c32bf7
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 14:18:33 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 14:20:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979e9e1e

games-action/psychonauts-gog: New package

Closes: https://bugs.gentoo.org/435830
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-action/psychonauts-gog/Manifest              |  1 +
 games-action/psychonauts-gog/metadata.xml          | 14 ++++++
 .../psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild | 57 ++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/games-action/psychonauts-gog/Manifest b/games-action/psychonauts-gog/Manifest
new file mode 100644
index 000000000000..1099011ecc8a
--- /dev/null
+++ b/games-action/psychonauts-gog/Manifest
@@ -0,0 +1 @@
+DIST gog_psychonauts_2.0.0.4.sh 4424617772 BLAKE2B 4102a7e23f71857c969349be3eb5b5fa4780d02ec92945a0be13098af4fa30d04fe4294e0fd5b3bd64dfe731a252ee4bcb73c07ca15df4dc532f26e12ed0335d SHA512 5f8cbcbd2eecab66f0a3bc555a6850536dd124fe720d6fe7eba0a56964978b045daac14630ec2e2f9129a3c6cf263baf5cbe65b15f08bc5cd5f754f35b3629a9

diff --git a/games-action/psychonauts-gog/metadata.xml b/games-action/psychonauts-gog/metadata.xml
new file mode 100644
index 000000000000..6366a89a523f
--- /dev/null
+++ b/games-action/psychonauts-gog/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<longdescription lang="en">
+		A Psychic Odyssey Through the Mental Worlds of Misfits, Monsters, and
+		Mind Readers. This classic action/adventure platformer from acclaimed
+		developers Double Fine Productions follows the story of a young psychic
+		named Razputin.
+	</longdescription>
+</pkgmetadata>

diff --git a/games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild b/games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild
new file mode 100644
index 000000000000..2c30c1827211
--- /dev/null
+++ b/games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker wrapper xdg
+
+MY_PN="Psychonauts"
+
+DESCRIPTION="A mind-bending platforming adventure from Double Fine Productions"
+HOMEPAGE="https://www.doublefine.com/games/psychonauts"
+SRC_URI="gog_${MY_PN,,}_${PV}.sh"
+
+LICENSE="GOG-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="bindist fetch strip"
+
+BDEPEND="app-arch/unzip"
+
+RDEPEND="
+	media-libs/libsdl[abi_x86_32,opengl,video]
+	media-libs/openal[abi_x86_32]
+	>=sys-devel/gcc-3.4
+	sys-libs/glibc
+	!games-action/${MY_PN,,}
+"
+
+S="${WORKDIR}/data/noarch"
+dir="/opt/${MY_PN,,}"
+QA_PREBUILT="${dir#/}/*"
+
+pkg_nofetch() {
+	elog "Please buy and download ${SRC_URI} from:"
+	elog "  https://www.gog.com/game/${MY_PN,,}"
+	elog "and move it to your distfiles directory."
+}
+
+src_unpack() {
+	unpack_zip ${A}
+}
+
+src_install() {
+	exeinto "${dir}"
+	doexe game/${MY_PN}
+	make_wrapper ${MY_PN,,} "${dir}"/${MY_PN}
+
+	insinto "${dir}"
+	doins -r game/{icon.bmp,WorkResource/,*.pkg}
+
+	newicon -s 256 support/icon.png ${MY_PN,,}.png
+	make_desktop_entry ${MY_PN,,} ${MY_PN} ${MY_PN,,}
+
+	dodoc \
+		docs/"Psychonauts Manual Win.pdf" \
+		game/Documents/Readmes/*.txt
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/psychonauts-gog/
@ 2023-06-17 14:57 James Le Cuirot
  0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot @ 2023-06-17 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     73f2ad08a20038a2c3b3635feb55015df12ee337
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 14:55:06 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 14:56:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f2ad08

games-action/psychonauts-gog: Some last minute adjustments

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

 .../psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild | 24 +++++++++++++---------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild b/games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild
index 2c30c1827211..bfe45f2b11b3 100644
--- a/games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild
+++ b/games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-inherit desktop unpacker wrapper xdg
+CHECKREQS_DISK_BUILD="5238M"
+inherit check-reqs desktop unpacker wrapper xdg
 
 MY_PN="Psychonauts"
 
@@ -14,21 +15,24 @@ SRC_URI="gog_${MY_PN,,}_${PV}.sh"
 LICENSE="GOG-EULA"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-RESTRICT="bindist fetch strip"
+RESTRICT="bindist fetch splitdebug"
 
-BDEPEND="app-arch/unzip"
+BDEPEND="
+	app-arch/unzip
+"
 
 RDEPEND="
 	media-libs/libsdl[abi_x86_32,opengl,video]
 	media-libs/openal[abi_x86_32]
-	>=sys-devel/gcc-3.4
+	>=sys-devel/gcc-3.4[cxx]
 	sys-libs/glibc
-	!games-action/${MY_PN,,}
+	!${CATEGORY}/${MY_PN,,}
+	!${CATEGORY}/${MY_PN,,}-hb
 "
 
 S="${WORKDIR}/data/noarch"
-dir="/opt/${MY_PN,,}"
-QA_PREBUILT="${dir#/}/*"
+DIR="/opt/${MY_PN,,}"
+QA_PREBUILT="${DIR#/}/*"
 
 pkg_nofetch() {
 	elog "Please buy and download ${SRC_URI} from:"
@@ -41,11 +45,11 @@ src_unpack() {
 }
 
 src_install() {
-	exeinto "${dir}"
+	exeinto "${DIR}"
 	doexe game/${MY_PN}
-	make_wrapper ${MY_PN,,} "${dir}"/${MY_PN}
+	make_wrapper ${MY_PN,,} "${DIR}"/${MY_PN}
 
-	insinto "${dir}"
+	insinto "${DIR}"
 	doins -r game/{icon.bmp,WorkResource/,*.pkg}
 
 	newicon -s 256 support/icon.png ${MY_PN,,}.png


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

end of thread, other threads:[~2023-06-17 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-17 14:21 [gentoo-commits] repo/gentoo:master commit in: games-action/psychonauts-gog/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2023-06-17 14:57 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