use epatch to apply patch; update HOMEPAGE; better deps
authorMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 03:53:33 +0000 (22:53 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 03:53:33 +0000 (22:53 -0500)
Package-Manager: portage-2.2.20.1

games-arcade/sable/sable-1.0.ebuild

index c2eded71b95f4f9aded17aa2225567616026e69e..6f9001fdcabe7d546fd76cf083af301890d95f87 100644 (file)
@@ -6,8 +6,8 @@ EAPI=5
 inherit eutils games
 
 DESCRIPTION="A frantic 3D space shooter"
-HOMEPAGE="http://www.stanford.edu/~mcmartin/sable/"
-SRC_URI="http://www.stanford.edu/~mcmartin/${PN}/${P}-src.tgz
+HOMEPAGE="http://jeuxlibres.net/showgame/sable.html"
+SRC_URI="mirror://gentoo/${P}-src.tgz
        mirror://gentoo/${PN}.png"
 
 LICENSE="GPL-2"
@@ -16,13 +16,16 @@ KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="virtual/opengl
-       media-libs/libsdl
+       media-libs/libsdl[joystick,opengl,sound,video]
        media-libs/sdl-image[png]
        media-libs/sdl-mixer"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
+
 S=${WORKDIR}/${PN}
 
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-gentoo.patch
+}
 
 src_compile() {
        emake INSTALL_RESDIR="${GAMES_DATADIR}"