summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 04:45:53 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 04:45:53 -0500
commit1771defc441edb01dadc60a809fb4e4d79ece869 (patch)
tree2dd9945c7410a307df7f90ebb2ddd147155013de /games-arcade/opensonic
parentEAPI=5; minor tidying (diff)
downloadgentoo-1771defc441edb01dadc60a809fb4e4d79ece869.tar.gz
gentoo-1771defc441edb01dadc60a809fb4e4d79ece869.tar.bz2
gentoo-1771defc441edb01dadc60a809fb4e4d79ece869.zip
EAPI=5; minor tidying
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-arcade/opensonic')
-rw-r--r--games-arcade/opensonic/opensonic-0.1.4-r1.ebuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild b/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild
index f0802026e693..8382954cfafd 100644
--- a/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild
+++ b/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild
@@ -2,8 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
-
+EAPI=5
inherit cmake-utils eutils games
MY_PN=opensnc
@@ -11,30 +10,24 @@ MY_P=${MY_PN}-src-${PV}
DESCRIPTION="A free open-source game based on the Sonic the Hedgehog universe"
HOMEPAGE="http://opensnc.sourceforge.net/"
-SRC_URI="${MY_P}.tar.gz"
+SRC_URI="https://sourceforge.net/projects/opensnc/files/Open%20Sonic/${PV}/opensnc-src-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-RESTRICT="fetch" # unsure about legality of graphics
+RESTRICT="mirror" # unsure about legality of graphics
DEPEND="media-libs/allegro:0[X,jpeg,png,vorbis]
media-libs/libogg
media-libs/libpng:0
media-libs/libvorbis
sys-libs/zlib
- virtual/jpeg"
+ virtual/jpeg:0"
+RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P}
-pkg_nofetch() {
- einfo "Please download ${SRC_URI} from:"
- einfo "http://sourceforge.net/projects/opensnc/files/Open%20Sonic/0.1.4/"
- einfo "and move it to ${DISTDIR}"
- echo
-}
-
src_prepare() {
epatch "${FILESDIR}"/${PF}-cmake.patch
}