Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/opensonic/
Date: Fri, 18 Dec 2015 10:14:15
Message-Id: 1450431953.1771defc441edb01dadc60a809fb4e4d79ece869.mr_bones_@gentoo
1 commit: 1771defc441edb01dadc60a809fb4e4d79ece869
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 18 09:45:53 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 18 09:45:53 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1771defc
7
8 EAPI=5; minor tidying
9
10 Package-Manager: portage-2.2.24
11
12 games-arcade/opensonic/opensonic-0.1.4-r1.ebuild | 17 +++++------------
13 1 file changed, 5 insertions(+), 12 deletions(-)
14
15 diff --git a/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild b/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild
16 index f080202..8382954 100644
17 --- a/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild
18 +++ b/games-arcade/opensonic/opensonic-0.1.4-r1.ebuild
19 @@ -2,8 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 -EAPI=4
24 -
25 +EAPI=5
26 inherit cmake-utils eutils games
27
28 MY_PN=opensnc
29 @@ -11,30 +10,24 @@ MY_P=${MY_PN}-src-${PV}
30
31 DESCRIPTION="A free open-source game based on the Sonic the Hedgehog universe"
32 HOMEPAGE="http://opensnc.sourceforge.net/"
33 -SRC_URI="${MY_P}.tar.gz"
34 +SRC_URI="https://sourceforge.net/projects/opensnc/files/Open%20Sonic/${PV}/opensnc-src-${PV}.tar.gz"
35
36 LICENSE="GPL-2"
37 SLOT="0"
38 KEYWORDS="amd64 x86"
39 IUSE=""
40 -RESTRICT="fetch" # unsure about legality of graphics
41 +RESTRICT="mirror" # unsure about legality of graphics
42
43 DEPEND="media-libs/allegro:0[X,jpeg,png,vorbis]
44 media-libs/libogg
45 media-libs/libpng:0
46 media-libs/libvorbis
47 sys-libs/zlib
48 - virtual/jpeg"
49 + virtual/jpeg:0"
50 +RDEPEND=${DEPEND}
51
52 S=${WORKDIR}/${MY_P}
53
54 -pkg_nofetch() {
55 - einfo "Please download ${SRC_URI} from:"
56 - einfo "http://sourceforge.net/projects/opensnc/files/Open%20Sonic/0.1.4/"
57 - einfo "and move it to ${DISTDIR}"
58 - echo
59 -}
60 -
61 src_prepare() {
62 epatch "${FILESDIR}"/${PF}-cmake.patch
63 }