mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
games-strategy/gigalomania: new package
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
1
games-strategy/gigalomania/Manifest
Normal file
1
games-strategy/gigalomania/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST gigalomaniasrc.zip 26975134 BLAKE2B bada94b266e30e54e4f0929673c5d9d53f25a69e84516d6f7fe5905b627a73501714b8ac307488b3ef6872b85023f67d0c862b6e58b40c25ea2091846803fd0d SHA512 255eb3d5ce566fbff42c1075c850cd2c7e2490f91bcf97954aa36ad9fb8bb787c1e817e682b0954e53c758c79ec76c431bedbf37b8197764ee40b48d09e75bcc
|
||||
43
games-strategy/gigalomania/gigalomania-1.0.1.ebuild
Normal file
43
games-strategy/gigalomania/gigalomania-1.0.1.ebuild
Normal file
@@ -0,0 +1,43 @@
|
||||
# Copyright 2024 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit wrapper
|
||||
|
||||
DESCRIPTION="Libra clone of Mega-Lo-Mania (original from ~1990), supports original resources"
|
||||
HOMEPAGE="https://gigalomania.sourceforge.net"
|
||||
SRC_URI="http://launchpad.net/$PN/trunk/$PV/+download/${PN}src.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
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="$D" emake install
|
||||
|
||||
dosym -r /opt/$PN/$PN /usr/bin/$PN
|
||||
|
||||
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!"
|
||||
}
|
||||
11
games-strategy/gigalomania/metadata.xml
Normal file
11
games-strategy/gigalomania/metadata.xml
Normal 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">
|
||||
<name>Vitaly Zdanevich</name>
|
||||
<email>zdanevich.vitaly@ya.ru</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="launchpad">gigalomania</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user