diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-08-04 11:04:39 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-10-10 22:21:57 +0200 |
commit | 525708d22e085b50b70e8157f378b6a6656397ee (patch) | |
tree | 282de9d234226eb98dc77d8ec6a7c747a85cc43c /games-arcade/defendguin | |
parent | games-arcade/bumprace: add remote-id (diff) | |
download | gentoo-525708d22e085b50b70e8157f378b6a6656397ee.tar.gz gentoo-525708d22e085b50b70e8157f378b6a6656397ee.tar.bz2 gentoo-525708d22e085b50b70e8157f378b6a6656397ee.zip |
games-arcade/defendguin: add 0.0.13
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37942
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-arcade/defendguin')
-rw-r--r-- | games-arcade/defendguin/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/defendguin/defendguin-0.0.13.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest index 410c7a2bc99c..b6fb3953b345 100644 --- a/games-arcade/defendguin/Manifest +++ b/games-arcade/defendguin/Manifest @@ -1,2 +1,3 @@ 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 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 +} |