games-puzzle/aaaaxy: new package, add 1.2.377

Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
This commit is contained in:
Nicola Smaniotto
2022-12-05 10:12:46 +01:00
parent 7f72d75caf
commit 71212e8aed
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST aaaaxy-1.2.377-deps.tar.xz 351455932 BLAKE2B 0c634da2d9a2100825bdf38e4e7102f47e5d5ba37021e2a2087036b773a01e0599a495de81e4056ecbffdd7bcc1cc746100720599388b40202807a7798fe6ef7 SHA512 409967ec5eaafdd6a0fe2aee78121edab00c3fd38c33004c7f678ec90b7931f891a65a50c7442691f37819620bd5d0921c3494924da1cb1de5fdaf7b994a35d3
DIST aaaaxy-1.2.377.tar.gz 26654270 BLAKE2B 7538a8a685129a3761aae8b79c6ce263a3f879d2a6b9ada2597a66717b608cd755af1e850c0f6c882c7182febe35031cf623a86a80a40b8ea7cf11a02d78d723 SHA512 d8e761381b2155b15ef4d365fbe503f92fe08bd4af8aa365f610cf80d7658c09489ccc48e4706beca406797517bf38c1c0f154ccb43bf32b9a863dc632c6aa9c

View File

@@ -0,0 +1,47 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop go-module
DEPS_DATE="2022-12-04" # when the deps archive has been created
DESCRIPTION="A nonlinear 2D puzzle platformer taking place in impossible spaces"
HOMEPAGE="https://divverent.github.io/aaaaxy/"
SRC_URI="
https://github.com/divVerent/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://gitlab.com/api/v4/projects/41581401/packages/generic/${PN}/${PV}+${DEPS_DATE}/${P}-deps.tar.xz
"
LICENSE="Apache-2.0 BSD MIT "
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
media-libs/alsa-lib
media-libs/libglvnd
x11-libs/libX11
"
RDEPEND="${DEPEND}"
BDEPEND="
x11-libs/libXcursor
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
"
src_configure() {
GOFLAGS+=" -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
}
src_compile() {
emake AAAAXY_BUILD_USE_VERSION_FILE=true BUILDTYPE=release
}
src_install() {
dobin ${PN}
doicon -s scalable ${PN}.svg
doicon -s 128 ${PN}.png
domenu ${PN}.desktop
}

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>smaniotto.nicola@gmail.com</email>
<name>Nicola Smaniotto</name>
</maintainer>
</pkgmetadata>