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 D7FA7158011 for ; Sun, 4 Sep 2022 10:52:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18BB1E01E4; Sun, 4 Sep 2022 10:52:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CA5E2E01E4 for ; Sun, 4 Sep 2022 10:52:17 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03E2B340EC3 for ; Sun, 4 Sep 2022 10:52:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9BF4A56A for ; Sun, 4 Sep 2022 10:52:15 +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: <1662288719.2bcd079aabc431e62e55b5a087ad4c63e56d0014.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/a-story-about-my-uncle/, games-action/a-story-about-my-uncle/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/a-story-about-my-uncle/Manifest games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild games-action/a-story-about-my-uncle/files/wrapper.sh games-action/a-story-about-my-uncle/metadata.xml X-VCS-Directories: games-action/a-story-about-my-uncle/ games-action/a-story-about-my-uncle/files/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 2bcd079aabc431e62e55b5a087ad4c63e56d0014 X-VCS-Branch: master Date: Sun, 4 Sep 2022 10:52:15 +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: bf3c1b00-98ce-40ee-b69d-09b8240110ac X-Archives-Hash: 27549d59332cd208c1864f26270ddab9 commit: 2bcd079aabc431e62e55b5a087ad4c63e56d0014 Author: James Le Cuirot gentoo org> AuthorDate: Sun Sep 4 10:50:21 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun Sep 4 10:51:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bcd079a games-action/a-story-about-my-uncle: New package at version 5188 Signed-off-by: James Le Cuirot gentoo.org> games-action/a-story-about-my-uncle/Manifest | 2 + .../a-story-about-my-uncle-5188.ebuild | 71 ++++++++++++++++++++++ .../a-story-about-my-uncle/files/wrapper.sh | 9 +++ games-action/a-story-about-my-uncle/metadata.xml | 22 +++++++ 4 files changed, 104 insertions(+) diff --git a/games-action/a-story-about-my-uncle/Manifest b/games-action/a-story-about-my-uncle/Manifest new file mode 100644 index 000000000000..9706fb85be4f --- /dev/null +++ b/games-action/a-story-about-my-uncle/Manifest @@ -0,0 +1,2 @@ +DIST ASAMU.png 5451 BLAKE2B 767d4cb7ba77430a70b776370e1c25e486c02cac14a9bfdff18be2fd869b38ed27d43d756409a0aeb319b1e5653a28dfa45f6310139f1c752796a7545b506f98 SHA512 1871986ee96e4c6cb4225e418b83ce970674f71504d97b8a9f764716ae85e9a1ef01831a12e1010d9e2c681b93ac35ee2a35429612aaa6d37a42a6b9756c5024 +DIST Linux-NoDRM-ASAMU_5188.zip 997974042 BLAKE2B fe7920e18d4d867203fb10db3ab22b7b831abd08c07c6611a0e52249244aa519bbbee235382ae5b00ba85126a5c456700836331a8bf3f8542c14837de879b3ba SHA512 2ae3e811cb35f61d69cedf7d9ac35db88b6bb78ef8b43599732f5f7db13cf13993a6f01d7b097d8fe98e50265652003988c785e4132c18251a3b7335521fea96 diff --git a/games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild b/games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild new file mode 100644 index 000000000000..f6d88f93d2ec --- /dev/null +++ b/games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHECKREQS_DISK_BUILD="1219M" +inherit check-reqs desktop prefix xdg + +MY_PN="ASAMU" +MY_P="${MY_PN}_${PV}" +DESCRIPTION="First person platforming adventure game about a boy who searches for his lost uncle" +HOMEPAGE="https://www.humblebundle.com/store/a-story-about-my-uncle" +SRC_URI="Linux-NoDRM-${MY_P}.zip + fetch+https://dev.gentoo.org/~chewi/distfiles/${MY_PN}.png" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch splitdebug" + +BDEPEND=" + app-arch/unzip +" + +RDEPEND=" + media-libs/libsdl2[opengl,sound,video] + sys-apps/bubblewrap + >=sys-devel/gcc-3.4 + >=sys-libs/glibc-2.14 + virtual/opengl +" + +S="${WORKDIR}" +DIR="/opt/${MY_PN}" +QA_PREBUILT="${DIR#/}/*" + +pkg_nofetch() { + einfo "Please buy and download Linux-NoDRM-${MY_P}.zip from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_prepare() { + default + rm -v Binaries/*/libSDL2-2.0.so.0 || die +} + +src_install() { + insinto "${DIR}" + doins -r ${MY_PN}/ Engine/ + + # The game resets the user config when the timestamps of the other config + # files change, and doins does not preserve timestamps. Reduce the impact of + # this by preserving the original timestamps with touch + local file + find -type f -name "*.ini" -print0 | while read -rd '' file; do + touch -r "${file}" "${ED}${DIR}/${file}" || die + done + + local platform=linux-$(usex amd64 amd64 x86) + insinto "${DIR}"/Binaries/gentoo + exeinto "${DIR}"/Binaries/gentoo + doins Binaries/${platform}/steam_appid.txt + doexe Binaries/${platform}/{${MY_PN},*.so*} + + keepdir "${DIR}"/${MY_PN}/Saves + newbin $(prefixify_ro "${FILESDIR}"/wrapper.sh) ${MY_PN} + + doicon -s 64 "${DISTDIR}"/${MY_PN}.png + make_desktop_entry ${MY_PN} "A Story About My Uncle" ${MY_PN} +} diff --git a/games-action/a-story-about-my-uncle/files/wrapper.sh b/games-action/a-story-about-my-uncle/files/wrapper.sh new file mode 100644 index 000000000000..b81badb1f99f --- /dev/null +++ b/games-action/a-story-about-my-uncle/files/wrapper.sh @@ -0,0 +1,9 @@ +#!/bin/sh -eu + +# Unfortunately, this game always writes within its own installation directory +# rather than HOME. We work around this with bubblewrap. + +DIR="${HOME}"/.local/share/ASAMU +mkdir -p "${DIR}"/Saves +cp -r --preserve=timestamps /opt/ASAMU/ASAMU/Config/ "${DIR}"/ +exec bwrap --bind / / --dev-bind /dev /dev --bind "${DIR}"/Config /opt/ASAMU/ASAMU/Config --bind "${DIR}"/Saves /opt/ASAMU/ASAMU/Saves /opt/ASAMU/Binaries/gentoo/ASAMU "${@}" diff --git a/games-action/a-story-about-my-uncle/metadata.xml b/games-action/a-story-about-my-uncle/metadata.xml new file mode 100644 index 000000000000..9388d049a4d3 --- /dev/null +++ b/games-action/a-story-about-my-uncle/metadata.xml @@ -0,0 +1,22 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + A Story About My Uncle is a first person platforming adventure game + about a boy who searches for his lost uncle, and ends up in a world he + couldn’t imagine existed. Take help of your uncle’s mysterious + inventions that let you jump incredibly high and far through beautiful + scenery, uncover clues to your uncle’s whereabouts, and meet fantastical + creatures that will help you on your journey. + + The movement in A Story About My Uncle is a crucial part of its core + gameplay – focusing on swinging through the world with a grappling hook + that gives the player a wonderful sense of speed and freedom. Soar + through a game world with a unique art style and a mysterious story that + unravels before you. + +