games-strategy/gigalomania - 1.0.1 (guru)

Search

Install

Install this version:

emerge -a =games-strategy/gigalomania-1.0.1

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

autounmask =games-strategy/gigalomania-1.0.1

Or alternatively:

emerge --autounmask-write -a =games-strategy/gigalomania-1.0.1

Package Information

Description:
Libre clone of Mega-Lo-Mania (original from ~1990), supports original resources
Homepage:
https://gigalomania.sourceforge.net
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit toolchain-funcs wrapper

DESCRIPTION="Libre clone of Mega-Lo-Mania (original from ~1990), supports original resources"
HOMEPAGE="https://gigalomania.sourceforge.net"
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}src.zip -> ${P}.zip"

S="${WORKDIR}/${PN}src"

LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	app-arch/unzip
	media-libs/libsdl2
	media-libs/sdl2-image
	media-libs/sdl2-mixer
"

RDEPEND="
	media-libs/libsdl2
	media-libs/sdl2-image
	media-libs/sdl2-mixer
"

PATCHES="
	${FILESDIR}/Makefile.patch
"

src_compile() {
	tc-export CXX
	emake CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
}

src_install() {
	DESTDIR="${ED}" emake install

	make_wrapper ${PN} "./${PN}" /opt/${PN}/
}

pkg_postinst() {
	einfo "Supports using the graphics from Mega-Lo-Mania (from the Amiga version - should be in hard disk format, e.g., Whdload version) if you have that game."
	einfo "The data/ folder should be copied into the main gigalomania/ folder"
	einfo "and then rename the gfx/ folder to something else (e.g., xgfx/)."
	einfo "It's up to you to legally obtain the game if you want this feature!"
}

Inherited Eclasses

Dependencies

RDEPEND

	media-libs/libsdl2
	media-libs/sdl2-image
	media-libs/sdl2-mixer

BDEPEND

	app-arch/unzip
	media-libs/libsdl2
	media-libs/sdl2-image
	media-libs/sdl2-mixer

Manifest for 1.0.1

Type File Size Source URLs
DIST gigalomania-1.0.1.zip 26975134 bytes https://launchpad.net/gigalomania/trunk/1.0.1/+download/gigalomaniasrc.zip