You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.0 KiB
56 lines
1.0 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=7
|
||
|
|
||
|
inherit autotools flag-o-matic
|
||
13 years ago
|
|
||
10 years ago
|
DESCRIPTION="A fast-paced multiplayer deathmatch arcade game"
|
||
13 years ago
|
HOMEPAGE="http://greenridge.sourceforge.net"
|
||
|
SRC_URI="mirror://sourceforge/greenridge/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
5 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE="gtk editor"
|
||
|
|
||
3 years ago
|
DEPEND="
|
||
|
media-libs/libsdl[video]
|
||
13 years ago
|
media-libs/sdl-mixer
|
||
3 years ago
|
gtk? ( x11-libs/gtk+:2 )
|
||
|
"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-fpe.patch
|
||
|
)
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
3 years ago
|
default
|
||
|
|
||
13 years ago
|
sed -i \
|
||
|
-e "/appicondir/s:\$(prefix):/usr:" \
|
||
|
-e "/desktopdir/s:\$(prefix):/usr:" \
|
||
|
$(find icons -name Makefile.am) \
|
||
9 years ago
|
Makefile.am || die
|
||
3 years ago
|
|
||
13 years ago
|
sed -i \
|
||
3 years ago
|
-e "s:\$*[({]prefix[})]/share:/var/lib/:" \
|
||
13 years ago
|
configure.in \
|
||
|
graphics/Makefile.am \
|
||
|
levels/Makefile.am \
|
||
9 years ago
|
sounds/Makefile.am || die
|
||
3 years ago
|
|
||
|
mv configure.{in,ac} || die
|
||
|
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
filter-flags -fforce-addr
|
||
3 years ago
|
econf \
|
||
13 years ago
|
--disable-launcher1 \
|
||
|
$(use_enable gtk launcher2) \
|
||
|
$(use_enable editor)
|
||
|
}
|