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.
36 lines
719 B
36 lines
719 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
inherit desktop
|
|
|
|
DESCRIPTION="A game, similar to Barrack by Ambrosia Software"
|
|
HOMEPAGE="http://late.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/late/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="media-libs/libsdl[video]
|
|
media-libs/sdl-image[jpeg]"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
default
|
|
eapply \
|
|
"${FILESDIR}"/${P}-gcc43.patch \
|
|
"${FILESDIR}"/${P}-gcc46.patch
|
|
sed -i \
|
|
-e "/chown/d" \
|
|
Makefile.in \
|
|
|| die "sed failed"
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
newicon graphics/latebg2.jpg ${PN}.jpg
|
|
make_desktop_entry late Late /usr/share/pixmaps/${PN}.jpg
|
|
}
|