commit: cc984d5d917a8a74e87c5d05302606b32a53be2d Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sat Apr 14 21:23:22 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sat Apr 14 21:38:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc984d5d
games-puzzle/amoebax: Stop using games.eclass Package-Manager: Portage-2.3.28, Repoman-2.3.9 games-puzzle/amoebax/amoebax-0.2.1-r1.ebuild | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/games-puzzle/amoebax/amoebax-0.2.1-r1.ebuild b/games-puzzle/amoebax/amoebax-0.2.1-r1.ebuild new file mode 100644 index 00000000000..316d438bcdd --- /dev/null +++ b/games-puzzle/amoebax/amoebax-0.2.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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="FreeArt 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 +}
