games-puzzle/aaaaxy - 1.5.250 (guru)

Search

Install

Install this version:

emerge -a =games-puzzle/aaaaxy-1.5.250

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-puzzle/aaaaxy-1.5.250

Or alternatively:

emerge --autounmask-write -a =games-puzzle/aaaaxy-1.5.250

Package Information

Description:
A nonlinear 2D puzzle platformer taking place in impossible spaces
Homepage:
https://divverent.github.io/aaaaxy/
License:
Apache-2.0 BSD MIT FTL OFL-1.1

Ebuild Details

Version EAPI Keywords Slot
1.5.250 8 ~amd64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop go-module

DEPS_DATE="2025-01-10" # 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 FTL OFL-1.1"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	media-libs/alsa-lib
	media-libs/libglvnd
	x11-libs/libX11
"
RDEPEND="${DEPEND}"
BDEPEND="
	app-arch/advancecomp
	app-arch/zip
	x11-libs/libXcursor
	x11-libs/libXi
	x11-libs/libXinerama
	x11-libs/libXrandr
	x11-libs/libXxf86vm
"

src_prepare() {
	eapply_user

	# some dependencies use -Werror
	find "${WORKDIR}" -type f -exec sed -i "s/\-Werror//g" {} + || die "Could not remove -Werror"
}

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
}

Inherited Eclasses

Dependencies

DEPEND

	media-libs/alsa-lib
	media-libs/libglvnd
	x11-libs/libX11

RDEPEND

	media-libs/alsa-lib
	media-libs/libglvnd
	x11-libs/libX11

BDEPEND

	app-arch/advancecomp
	app-arch/zip
	x11-libs/libXcursor
	x11-libs/libXi
	x11-libs/libXinerama
	x11-libs/libXrandr
	x11-libs/libXxf86vm

Manifest for 1.5.250

Type File Size Source URLs
DIST aaaaxy-1.5.250-deps.tar.xz 126888108 bytes https://gitlab.com/api/v4/projects/41581401/packages/generic/aaaaxy/1.5.250+2025-01-10/aaaaxy-1.5.250-deps.tar.xz
DIST aaaaxy-1.5.250.tar.gz 28511533 bytes https://github.com/divVerent/aaaaxy/archive/refs/tags/v1.5.250.tar.gz