2014-05-16 12:23:09 +04:00
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
2013-02-17 18:15:56 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2013-02-17 18:15:56 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils autotools gnome2-utils games
|
|
|
|
|
|
|
|
DESCRIPTION="A 2D multiplayer arcade game resembling V-Wing"
|
2013-11-12 10:19:11 +04:00
|
|
|
HOMEPAGE="https://freecode.com/projects/luola"
|
|
|
|
SRC_URI="mirror://gentoo/${P}.tar.gz
|
|
|
|
mirror://gentoo/stdlevels-6.0.tar.gz
|
|
|
|
mirror://gentoo/nostalgia-1.2.tar.gz"
|
2013-02-17 18:15:56 +04:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2013-12-26 12:47:01 +04:00
|
|
|
KEYWORDS="amd64 ppc x86"
|
2013-02-17 18:15:56 +04:00
|
|
|
IUSE=""
|
|
|
|
|
2014-05-16 12:23:09 +04:00
|
|
|
RDEPEND="media-libs/libsdl[X,sound,joystick,video]
|
2013-02-17 18:15:56 +04:00
|
|
|
media-libs/sdl-gfx
|
|
|
|
media-libs/sdl-image[jpeg,png]
|
|
|
|
media-libs/sdl-mixer
|
|
|
|
media-libs/sdl-ttf"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/${P}-underlink.patch
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
egamesconf --enable-sound
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install
|
|
|
|
insinto "${GAMES_DATADIR}"/${PN}/levels
|
|
|
|
doins "${WORKDIR}"/*.{lev,png}
|
|
|
|
dodoc AUTHORS ChangeLog DATAFILE FAQ LEVELFILE README TODO \
|
|
|
|
RELEASENOTES.txt ../README.Nostalgia
|
|
|
|
newdoc ../README README.stdlevels
|
|
|
|
doicon -s 64 luola.png
|
|
|
|
make_desktop_entry luola Luola
|
|
|
|
prepgamesdirs
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_preinst() {
|
|
|
|
games_pkg_preinst
|
|
|
|
gnome2_icon_savelist
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
games_pkg_postinst
|
|
|
|
gnome2_icon_cache_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
gnome2_icon_cache_update
|
|
|
|
}
|