summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-09-04 16:15:06 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-09-04 16:15:06 +0100
commit37eceb9c3b241c3ab9404500498b4966c6b24972 (patch)
tree41ff85b7acf765ea5065ec22231485e038475dd2
parentsys-apps/systemd-tmpfiles: add warning for prefix users (diff)
downloadgentoo-37eceb9c3b241c3ab9404500498b4966c6b24972.tar.gz
gentoo-37eceb9c3b241c3ab9404500498b4966c6b24972.tar.bz2
gentoo-37eceb9c3b241c3ab9404500498b4966c6b24972.zip
games-action/abuse: Version bump to 0.9.0, EAPI 8
There is a segfault issue if FluidSynth support is enabled in sdl2-mixer but this affects the older version too. Closes: https://bugs.gentoo.org/808913 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--games-action/abuse/Manifest1
-rw-r--r--games-action/abuse/abuse-0.9.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/games-action/abuse/Manifest b/games-action/abuse/Manifest
index 411e98d2994a..c3c0391654e5 100644
--- a/games-action/abuse/Manifest
+++ b/games-action/abuse/Manifest
@@ -1,2 +1,3 @@
DIST abuse-0.8.tar.gz 6053500 BLAKE2B 4f52256b7bf13e0efa77ef50147a976fdf1fceec4ce20fb4b855a9961a7c816cf08bf51286b424da42072956a137bc3385357cfdb61bf37ff9f907284d99e09c SHA512 5c60dcf6910f9f751da26e919cd289c12349bb82eb925f9a41dc921263ece0d0f5f24c2ab2d1c718c0a5d0315453f92dfcba665fe5082eb4135ed737d2859d18
+DIST abuse-0.9.0.tar.gz 4666196 BLAKE2B 3896f5b986120e0d0385daf194e7ac158a77bea07aa5b508b9beb8ee8f9423b375a0daebd8e66124719b80a57cabb101d0258176d16d63cab030c8332ca2dfcc SHA512 6c8b85920412234986f11b5333a18c85e227ba421843373b5e1d5086e596f1b63adc8c320c657b3cddafd43af9de9b163f4617a9e78a5ea3f2d0281d0408ca1c
DIST abuse-0.9_p20181213.tar.gz 4668746 BLAKE2B 5834d9a3a3172ec6364adf4ffc4196e76b2f104a77d7c5eb94f72cb00e326a66b56bf66083ab8fd566d1bc97b7f8ac6ac1edb4ad60605526761487a45a4136ac SHA512 4a7bdd67880a86a686f896d42b9a7f0c3a6e8a9e8891e514ebb68634b6b31641f5ade91da0f0bd4e6da7081b67c3bf944246ec3538a547e5ee68b4d8f4cebbeb
diff --git a/games-action/abuse/abuse-0.9.0.ebuild b/games-action/abuse/abuse-0.9.0.ebuild
new file mode 100644
index 000000000000..08462ae0f003
--- /dev/null
+++ b/games-action/abuse/abuse-0.9.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop xdg
+
+DATA_PV="0.8"
+
+DESCRIPTION="Port of Abuse by Crack Dot Com"
+HOMEPAGE="https://github.com/Xenoveritas/abuse"
+SRC_URI="https://github.com/Xenoveritas/abuse/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ http://abuse.zoy.org/raw-attachment/wiki/download/${PN}-${DATA_PV}.tar.gz"
+
+LICENSE="GPL-2 public-domain WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=media-libs/libsdl2-2.0.3[sound,video]
+ media-libs/sdl2-mixer[midi,wav]"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ ln -snf ../../${PN}-${DATA_PV}/data/{music,sfx} data/ || die
+ cmake_src_prepare
+}
+
+src_install() {
+ cmake_src_install
+ doicon -s 32 doc/${PN}.png
+ make_desktop_entry abuse Abuse
+}