summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-05-14 13:22:19 +0200
committerUlrich Müller <ulm@gentoo.org>2021-05-19 23:07:37 +0200
commit07c4109f5b7aca4f1a721217ae6ee9f581d8bf0b (patch)
treec450d4ab672869cbb712173a994c38e683c85ff4 /games-puzzle/amoebax/amoebax-0.2.1-r2.ebuild
parentmedia-gfx/flameshot: Update LICENSE to Free-Art-1.3 (diff)
downloadgentoo-07c4109f5b7aca4f1a721217ae6ee9f581d8bf0b.tar.gz
gentoo-07c4109f5b7aca4f1a721217ae6ee9f581d8bf0b.tar.bz2
gentoo-07c4109f5b7aca4f1a721217ae6ee9f581d8bf0b.zip
games-puzzle/amoebax: License FreeArt renamed to Free-Art-1.2
Also GPL-2+ instead of GPL-2. Bug: https://bugs.gentoo.org/693516 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'games-puzzle/amoebax/amoebax-0.2.1-r2.ebuild')
-rw-r--r--games-puzzle/amoebax/amoebax-0.2.1-r2.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/games-puzzle/amoebax/amoebax-0.2.1-r2.ebuild b/games-puzzle/amoebax/amoebax-0.2.1-r2.ebuild
new file mode 100644
index 000000000000..a0b1fdd1e35a
--- /dev/null
+++ b/games-puzzle/amoebax/amoebax-0.2.1-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="A cute and addictive action-puzzle game, similar to tetris"
+HOMEPAGE="http://www.emma-soft.com/games/amoebax/"
+SRC_URI="http://www.emma-soft.com/games/amoebax/download/${P}.tar.bz2"
+
+LICENSE="Free-Art-1.2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,joystick,video]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ default
+
+ eapply \
+ "${FILESDIR}"/${P}-aclocal.patch \
+ "${FILESDIR}"/${P}-compile.patch
+
+ sed -i \
+ -e "/^SUBDIRS/s:doc ::" \
+ Makefile.am || die
+ sed -i \
+ -e "/^iconsdir/s:=.*:=/usr/share/pixmaps:" \
+ -e "/^desktopdir/s:=.*:=/usr/share/applications:" \
+ data/Makefile.am || die
+ sed -i \
+ -e '/Encoding/d' \
+ -e '/Icon/s/.svg//' \
+ data/amoebax.desktop || die
+ AT_M4DIR=m4 eautoreconf
+}