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.
39 lines
733 B
39 lines
733 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
|
||
4 years ago
|
EAPI=7
|
||
|
|
||
|
inherit autotools desktop
|
||
13 years ago
|
|
||
|
DESCRIPTION="Asteroids Clone for X using SDL"
|
||
|
HOMEPAGE="http://david.hedbor.org/projects/sdlroids/"
|
||
|
SRC_URI="mirror://sourceforge/sdlroids/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
5 years ago
|
KEYWORDS="~alpha ~amd64 ~x86"
|
||
13 years ago
|
|
||
4 years ago
|
RDEPEND="
|
||
3 years ago
|
media-libs/libsdl[joystick]
|
||
4 years ago
|
media-libs/sdl-mixer"
|
||
|
DEPEND="${RDEPEND}"
|
||
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-sound.patch
|
||
|
"${FILESDIR}"/${P}-Makefile.patch
|
||
|
"${FILESDIR}"/${P}-fno-common.patch
|
||
|
)
|
||
13 years ago
|
|
||
10 years ago
|
src_prepare() {
|
||
6 years ago
|
default
|
||
4 years ago
|
mv configure.{in,ac} || die
|
||
|
eautoreconf
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
10 years ago
|
default
|
||
4 years ago
|
|
||
13 years ago
|
newicon icons/sdlroids-48x48.xpm ${PN}.xpm
|
||
|
make_desktop_entry ${PN} SDLRoids ${PN}
|
||
|
}
|