commit:     0837fbac306fbd984027c9cd8c9969009dd34f10
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 03:53:33 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 03:53:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0837fbac

use epatch to apply patch; update HOMEPAGE; better deps

Package-Manager: portage-2.2.20.1

 games-arcade/sable/sable-1.0.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/games-arcade/sable/sable-1.0.ebuild 
b/games-arcade/sable/sable-1.0.ebuild
index c2eded7..6f9001f 100644
--- a/games-arcade/sable/sable-1.0.ebuild
+++ b/games-arcade/sable/sable-1.0.ebuild
@@ -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}"

Reply via email to