games-simulation/youre-the-os: new package, add 1.11.1

Signed-off-by: Shimon Trolles <shimontrolles@gmail.com>
This commit is contained in:
Shimon Trolles
2026-07-11 18:13:47 +03:00
parent a4297bbdad
commit 866b1ff20a
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST youre-the-os-1.11.1.tar.gz 1560088 BLAKE2B a2330f045da6268849cf858676e2d2a2ef3f67cfc8ddcca793235924bc42c8978dd4a31b7ad3163c5329b9bc1d068629048d48dca5e353d02f1060df2ecc892e SHA512 7fb440d72a29fc0ae7bdf32262b428795d643099ada80ec70b629cff881a95b22c3c6af6a9f91297ee71285a04b4c61e62a5c7e6aece94eee9f280435a05162a

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>shimontrolles@gmail.com</email>
<name>Shimon Trolles</name>
</maintainer>
<upstream>
<remote-id type="github">plbrault/youre-the-os</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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;"
}