diff --git a/games-simulation/youre-the-os/Manifest b/games-simulation/youre-the-os/Manifest new file mode 100644 index 0000000000..d826302c9c --- /dev/null +++ b/games-simulation/youre-the-os/Manifest @@ -0,0 +1 @@ +DIST youre-the-os-1.11.1.tar.gz 1560088 BLAKE2B a2330f045da6268849cf858676e2d2a2ef3f67cfc8ddcca793235924bc42c8978dd4a31b7ad3163c5329b9bc1d068629048d48dca5e353d02f1060df2ecc892e SHA512 7fb440d72a29fc0ae7bdf32262b428795d643099ada80ec70b629cff881a95b22c3c6af6a9f91297ee71285a04b4c61e62a5c7e6aece94eee9f280435a05162a diff --git a/games-simulation/youre-the-os/metadata.xml b/games-simulation/youre-the-os/metadata.xml new file mode 100644 index 0000000000..4dd55640a2 --- /dev/null +++ b/games-simulation/youre-the-os/metadata.xml @@ -0,0 +1,11 @@ + + + + + shimontrolles@gmail.com + Shimon Trolles + + + plbrault/youre-the-os + + diff --git a/games-simulation/youre-the-os/youre-the-os-1.11.1.ebuild b/games-simulation/youre-the-os/youre-the-os-1.11.1.ebuild new file mode 100644 index 0000000000..032c02e7d7 --- /dev/null +++ b/games-simulation/youre-the-os/youre-the-os-1.11.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Game where you are a computer's OS and have to manage processes, memory and I/O" +HOMEPAGE="https://github.com/plbrault/youre-the-os" +SRC_URI="https://github.com/plbrault/youre-the-os/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" +dev-python/pygame +dev-python/pipenv +" + +DEPEND="${RDEPEND}" + +inherit desktop wrapper + +src_install() { + local destdir="/usr/share/${PN}" + insinto "${destdir}" + + doins -r src automation favicon.png run-*.py Pipfile LICENSE.txt + + local script + for script in run-*.py; do + fperms +x "${destdir}/${script}" + done + + make_wrapper "${PN}" "python3 run-desktop.py" "${destdir}" + make_wrapper "${PN}-sandbox" "python3 run-sandbox.py" "${destdir}" + make_wrapper "${PN}-auto" "python3 run-auto.py" "${destdir}" + + newicon favicon.png "${PN}.png" + make_desktop_entry "${PN}" "You're the OS!" "${PN}" "Game;Simulation;" +}