games-puzzle/generic-tetromino-game: new package, add 9999

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2023-07-21 22:11:37 +02:00
parent 94a6d1d6e0
commit 95640105bf
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="Faithful clone of NES Tetris but with new features and mods API"
HOMEPAGE="https://generic-tetromino-game.sebsite.pw/"
EGIT_REPO_URI="https://git.sr.ht/~sebsite/generic-tetromino-game"
# GPL-3: Engine
# all-right-reserved:
# - Sound effects extracted from NES Tetris
# - Tiles if copyrightable
# - SiIvaGunner rips
LICENSE="GPL-3 all-rights-reserved"
SLOT="0"
KEYWORDS=""
# Note: Lua version is hardcoded
RDEPEND="
dev-lang/lua:5.4
media-libs/libsdl2
media-libs/sdl2-mixer
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_install() {
emake DESTDIR="${ED}" PREFIX="/usr" install
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>contact@hacktivis.me</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
</pkgmetadata>