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.
67 lines
1.5 KiB
67 lines
1.5 KiB
7 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
|
inherit desktop
|
||
13 years ago
|
|
||
|
DESCRIPTION="GPL Arcade Volleyball"
|
||
|
HOMEPAGE="http://gav.sourceforge.net/"
|
||
|
# the themes are behind a lame php-counter script.
|
||
|
SRC_URI="mirror://sourceforge/gav/${P}.tar.gz
|
||
|
mirror://gentoo/fabeach.tgz
|
||
|
mirror://gentoo/florindo.tgz
|
||
|
mirror://gentoo/inverted.tgz
|
||
|
mirror://gentoo/naive.tgz
|
||
|
mirror://gentoo/unnamed.tgz
|
||
|
mirror://gentoo/yisus.tgz
|
||
|
mirror://gentoo/yisus2.tgz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
|
DEPEND="media-libs/sdl-image[jpeg,png]
|
||
|
media-libs/sdl-net
|
||
|
media-libs/libsdl[joystick,video]"
|
||
10 years ago
|
RDEPEND="${DEPEND}"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
7 years ago
|
default
|
||
|
|
||
13 years ago
|
local d
|
||
|
|
||
7 years ago
|
eapply "${FILESDIR}"/${P}-ldflags.patch
|
||
13 years ago
|
|
||
|
for d in . automa menu net ; do
|
||
|
cp ${d}/Makefile.Linux ${d}/Makefile || die "cp ${d}/Makefile failed"
|
||
|
done
|
||
|
|
||
7 years ago
|
eapply "${FILESDIR}"/${P}-gcc43.patch
|
||
13 years ago
|
sed -i \
|
||
|
-e "/^CXXFLAGS=/s: -g : ${CXXFLAGS} :" CommonHeader \
|
||
|
|| die "sed failed"
|
||
|
|
||
|
# Now, move the additional themes in the proper directory
|
||
|
mv ../{fabeach,florindo,inverted,naive,unnamed,yisus,yisus2} themes
|
||
|
|
||
|
# no reason to have executable files in the themes
|
||
|
find themes -type f -exec chmod a-x \{\} \;
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
# bug #41530 - doesn't like the hot parallel make action.
|
||
10 years ago
|
emake -C automa
|
||
|
emake -C menu
|
||
|
emake -C net
|
||
|
emake
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
7 years ago
|
dodir /usr/bin
|
||
10 years ago
|
emake ROOT="${D}" install
|
||
7 years ago
|
insinto /usr/share/${PN}
|
||
10 years ago
|
doins -r sounds
|
||
7 years ago
|
einstalldocs
|
||
13 years ago
|
}
|