123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # Copyright 1999-2017 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=6
- inherit eutils autotools gnome2-utils
- DESCRIPTION="A 2D multiplayer arcade game resembling V-Wing"
- 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"
- LICENSE="GPL-2"
- SLOT="0"
- KEYWORDS="~amd64 ~ppc ~x86"
- IUSE=""
- RDEPEND="media-libs/libsdl[X,sound,joystick,video]
- media-libs/sdl-gfx
- media-libs/sdl-image[jpeg,png]
- media-libs/sdl-mixer
- media-libs/sdl-ttf"
- DEPEND="${RDEPEND}"
- PATCHES=(
- "${FILESDIR}"/${P}-underlink.patch
- )
- src_prepare() {
- default
- eautoreconf
- }
- src_configure() {
- econf --enable-sound
- }
- src_install() {
- emake DESTDIR="${D}" install
- insinto /usr/share/${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
- }
- pkg_preinst() {
- gnome2_icon_savelist
- }
- pkg_postinst() {
- gnome2_icon_cache_update
- }
- pkg_postrm() {
- gnome2_icon_cache_update
- }
|