blob: a0b1fdd1e35a2d1f13f1187cee8c4e815ab7483c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
}
|