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.
37 lines
774 B
37 lines
774 B
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
inherit eutils flag-o-matic
|
|
|
|
DESCRIPTION="clone of old-school Wizardry(tm) games by SirTech"
|
|
HOMEPAGE="http://icculus.org/gwiz/"
|
|
SRC_URI="http://icculus.org/gwiz/${P}.tar.bz2"
|
|
|
|
KEYWORDS="~alpha ~amd64 ~x86"
|
|
SLOT="0"
|
|
LICENSE="GPL-2"
|
|
IUSE=""
|
|
|
|
DEPEND=">=media-libs/libsdl-1.2.3[joystick,video]
|
|
>=media-libs/sdl-image-1.2.1-r1[png]
|
|
>=media-libs/sdl-ttf-2.0.4"
|
|
RDEPEND=${DEPEND}
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-buffer.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
append-cflags -std=gnu89 # build with gcc5 (bug #572532)
|
|
}
|
|
|
|
src_install() {
|
|
DOCS="AUTHORS ChangeLog README doc/HOWTO-PLAY" \
|
|
default
|
|
newicon pixmaps/gwiz_icon.xpm ${PN}.xpm
|
|
make_desktop_entry gwiz Gwiz
|
|
}
|