diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-01 20:11:21 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-01 20:11:21 +0000 |
commit | 971d154447286eac17abeb3da7439dad4d26e346 (patch) | |
tree | 53ad1d1e8ac5a9bad0b9907a60fbc1963bcb1e0d /games-arcade/slimevolley | |
parent | Import from Perl overlay, dependency of sci-visualization/circos (diff) | |
download | gentoo-2-971d154447286eac17abeb3da7439dad4d26e346.tar.gz gentoo-2-971d154447286eac17abeb3da7439dad4d26e346.tar.bz2 gentoo-2-971d154447286eac17abeb3da7439dad4d26e346.zip |
rev bump to make network support optional
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/slimevolley')
-rw-r--r-- | games-arcade/slimevolley/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/slimevolley/metadata.xml | 3 | ||||
-rw-r--r-- | games-arcade/slimevolley/slimevolley-2.4.1-r1.ebuild | 52 |
3 files changed, 62 insertions, 1 deletions
diff --git a/games-arcade/slimevolley/ChangeLog b/games-arcade/slimevolley/ChangeLog index 9293090437c0..536097e77edc 100644 --- a/games-arcade/slimevolley/ChangeLog +++ b/games-arcade/slimevolley/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/slimevolley # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/slimevolley/ChangeLog,v 1.2 2010/04/27 15:22:27 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/slimevolley/ChangeLog,v 1.3 2010/05/01 20:11:21 mr_bones_ Exp $ + +*slimevolley-2.4.1-r1 (01 May 2010) + + 01 May 2010; Michael Sterrett <mr_bones_@gentoo.org> + +slimevolley-2.4.1-r1.ebuild, metadata.xml: + rev bump to make network support optional 27 Apr 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> slimevolley-2.4.1.ebuild: diff --git a/games-arcade/slimevolley/metadata.xml b/games-arcade/slimevolley/metadata.xml index d3c2cc926f0b..4f008a8be0cf 100644 --- a/games-arcade/slimevolley/metadata.xml +++ b/games-arcade/slimevolley/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> +<use> +<flag name="net">Enable network support</flag> +</use> </pkgmetadata> diff --git a/games-arcade/slimevolley/slimevolley-2.4.1-r1.ebuild b/games-arcade/slimevolley/slimevolley-2.4.1-r1.ebuild new file mode 100644 index 000000000000..6ad9e00aebc8 --- /dev/null +++ b/games-arcade/slimevolley/slimevolley-2.4.1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/slimevolley/slimevolley-2.4.1-r1.ebuild,v 1.1 2010/05/01 20:11:21 mr_bones_ Exp $ + +EAPI=2 +inherit cmake-utils games + +DESCRIPTION="A simple volleyball game" +HOMEPAGE="http://slime.tuxfamily.org/index.php" +SRC_URI="http://downloads.tuxfamily.org/slime/debian/dists/stable/main/source/${PN}_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="net" + +RDEPEND="media-libs/libsdl[X,audio,video] + media-libs/sdl-ttf + media-libs/sdl-image[png] + net? ( media-libs/sdl-net ) + virtual/libintl" +DEPEND="${RDEPEND} + sys-devel/gettext" + +DOCS="CREDIT proto_reseau.txt README sv_portable.txt TODO" + +src_prepare() { + sed -i \ + -e '/^Encoding/d' \ + debian/${PN}.desktop || die + + sed -i \ + -e "/DESTINATION/s:games:${GAMES_BINDIR}:" \ + CMakeLists.txt || die +} + +src_configure() { + mycmakeargs=( + "-DCMAKE_VERBOSE_MAKEFILE=TRUE" + $(use net && echo "-DNO_NET=0" || echo "-DNO_NET=1") + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + prepgamesdirs +} |