From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27B7A158009 for ; Sat, 17 Jun 2023 14:21:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66D9FE08DA; Sat, 17 Jun 2023 14:21:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BA08E08DA for ; Sat, 17 Jun 2023 14:21:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 562DC340EA8 for ; Sat, 17 Jun 2023 14:21:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82679A90 for ; Sat, 17 Jun 2023 14:21:49 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1687011605.979e9e1e2d51a484ef5b08959f1b8c6960c32bf7.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/psychonauts-gog/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/psychonauts-gog/Manifest games-action/psychonauts-gog/metadata.xml games-action/psychonauts-gog/psychonauts-gog-2.0.0.4.ebuild X-VCS-Directories: games-action/psychonauts-gog/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 979e9e1e2d51a484ef5b08959f1b8c6960c32bf7 X-VCS-Branch: master Date: Sat, 17 Jun 2023 14:21:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0971d6e-b088-4c69-bcff-1b07fd8b61ea X-Archives-Hash: cc140ae4f4d8fbe5f11c25e8105b862b commit: 979e9e1e2d51a484ef5b08959f1b8c6960c32bf7 Author: James Le Cuirot gentoo org> AuthorDate: Sat Jun 17 14:18:33 2023 +0000 Commit: James Le Cuirot gentoo 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 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 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + 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. + + 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 +}