summaryrefslogtreecommitdiff
path: root/games-arcade/defendguin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-11 04:04:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-11 04:04:15 +0100
commit61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (patch)
treefd4966f3b19ef9b18ed5024d7e2f48ef73eb2fee /games-arcade/defendguin
parent3aae425b3c39d02e2dc917db0fae8c225c158ca1 (diff)
gentoo auto-resync : 11:10:2024 - 04:04:14
Diffstat (limited to 'games-arcade/defendguin')
-rw-r--r--games-arcade/defendguin/Manifest2
-rw-r--r--games-arcade/defendguin/defendguin-0.0.13.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest
index 115bb16d0f43..0fd0db6d3559 100644
--- a/games-arcade/defendguin/Manifest
+++ b/games-arcade/defendguin/Manifest
@@ -1,4 +1,6 @@
DIST defendguin-0.0.12.tar.gz 2235694 BLAKE2B 4e694edb5a8e51948e343da8ba4555062505c1c7f2563e291cc4f421624b791630dec7b0c7ce08df0ca0db40070418cd67f750fbe525ef1b1d1577951a5224bd SHA512 3a62c7ac62b016eeb6fc63655e8a8c1ac6c5c7cae7eee03c4ab0b9951ba605c7634336d94adb538e94ccbf1d9f927ac530f58da87413a4b1555b2684681e4167
+DIST defendguin-0.0.13.tar.gz 10355991 BLAKE2B 4666f39e4f658d3c1fc75ca85c3984ad3c69635004308be54704bd548c4220e96473ad18bb37df8c5a49aa0e004c455021066b1ffdc6178f948102c4a94bb666 SHA512 56fa736efadb76a49e0d8125b2467bf4b3accf3cdc8ade1aaacfd10d5c2d0881d3a0db277dcbf5e10ea495f1dbb8e6a8aff66994cf314ddb6898e9b2d175510f
DIST defendguin.png 4444 BLAKE2B 54790605accf524c8fff3b465ace1d09f2a320a66dd4dcf7a216eb74489a02ff029c95aaec32ad31ca4491809ccc8bdf5eecab44c7a6ce7060db96bd01d2c8de SHA512 3adc8db2ea8c3f726b03fdfafba3e79121edb8b3ca70a4006c288ccbebb5d35c104f0095d3812a7c094dc23760bd846902133d5252ae7e186ddf1a114bfb37e7
EBUILD defendguin-0.0.12-r2.ebuild 977 BLAKE2B 16b4126c97b1ffc196fbaa4942f2071a9e00c511ee042c95a72a566444695f4133f82337e8a5f3852b1c6bfac2041534863cb54a1821f17c46514181f2a24e55 SHA512 2734c468d1481d62bbe595012cc6a54c53d07360a6763d0440f7ecb76c4d7a60501d1a81338fa97187376d3d6b96408ccc31ec2549b7f443153dc97936e3b6a1
+EBUILD defendguin-0.0.13.ebuild 1013 BLAKE2B be6b958777ec53032259d686ecbdd8352b033a106ffba802ed6c0d11c83e5dbd19df45f8a57f61edf005d27df5326c7dcd5fae3463a17c7d11bfa5b65f1fe373 SHA512 c3c71c3b746e7700bd2c605719a665c7667804f1e62a8007bebd41ac707dc5befd6846564af10a1ca8acec0607d9414619782d5bdae7f774a63c3d3dfe5d13fb
MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610
diff --git a/games-arcade/defendguin/defendguin-0.0.13.ebuild b/games-arcade/defendguin/defendguin-0.0.13.ebuild
new file mode 100644
index 000000000000..20dc96b8cc88
--- /dev/null
+++ b/games-arcade/defendguin/defendguin-0.0.13.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="Clone of the arcade game Defender, but with a Linux theme"
+HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
+SRC_URI="
+ ftp://ftp.tuxpaint.org/unix/x/defendguin/src/${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ media-libs/libsdl[joystick,sound,video]
+ media-libs/sdl-mixer[mod,vorbis]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -e "s|\$(DATA_PREFIX)|${EPREFIX}/usr/share/${PN}/|" \
+ -e '/^CFLAGS=.*-O2/d' \
+ -e '/^CFLAGS=/s|=|+= $(CPPFLAGS) $(LDFLAGS) |' \
+ -i Makefile || die
+ rm data/images/l2r.sh || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+
+ insinto /usr/share/${PN}
+ doins -r data/.
+
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} ${PN^}
+
+ doman src/${PN}.6
+ dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt
+}