public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-strategy/gigalomania/
Date: Tue,  4 Jun 2024 12:26:27 +0000 (UTC)	[thread overview]
Message-ID: <1717488840.3e6390be5c1d89b3c05ddcc5923cbfa0e7463fab.davidroman@gentoo> (raw)

commit:     3e6390be5c1d89b3c05ddcc5923cbfa0e7463fab
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Tue Jun  4 08:14:00 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jun  4 08:14:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e6390be

games-strategy/gigalomania: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 games-strategy/gigalomania/Manifest                |  1 +
 .../gigalomania/gigalomania-1.0.1.ebuild           | 43 ++++++++++++++++++++++
 games-strategy/gigalomania/metadata.xml            | 11 ++++++
 3 files changed, 55 insertions(+)

diff --git a/games-strategy/gigalomania/Manifest b/games-strategy/gigalomania/Manifest
new file mode 100644
index 000000000..1839391f1
--- /dev/null
+++ b/games-strategy/gigalomania/Manifest
@@ -0,0 +1 @@
+DIST gigalomaniasrc.zip 26975134 BLAKE2B bada94b266e30e54e4f0929673c5d9d53f25a69e84516d6f7fe5905b627a73501714b8ac307488b3ef6872b85023f67d0c862b6e58b40c25ea2091846803fd0d SHA512 255eb3d5ce566fbff42c1075c850cd2c7e2490f91bcf97954aa36ad9fb8bb787c1e817e682b0954e53c758c79ec76c431bedbf37b8197764ee40b48d09e75bcc

diff --git a/games-strategy/gigalomania/gigalomania-1.0.1.ebuild b/games-strategy/gigalomania/gigalomania-1.0.1.ebuild
new file mode 100644
index 000000000..5b0b110b0
--- /dev/null
+++ b/games-strategy/gigalomania/gigalomania-1.0.1.ebuild
@@ -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!"
+}

diff --git a/games-strategy/gigalomania/metadata.xml b/games-strategy/gigalomania/metadata.xml
new file mode 100644
index 000000000..00bbb6c0e
--- /dev/null
+++ b/games-strategy/gigalomania/metadata.xml
@@ -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>


             reply	other threads:[~2024-06-04 12:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04 12:26 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-04 12:26 [gentoo-commits] repo/proj/guru:master commit in: games-strategy/gigalomania/ David Roman
2024-06-07 23:48 Julien Roy
2024-07-11 16:47 David Roman
2024-07-17  8:40 David Roman
2024-07-17  8:40 David Roman
2024-07-17  8:40 David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717488840.3e6390be5c1d89b3c05ddcc5923cbfa0e7463fab.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox