EAPI=5; minor tidying
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 18 Dec 2015 09:10:27 +0000 (04:10 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 18 Dec 2015 09:10:27 +0000 (04:10 -0500)
Package-Manager: portage-2.2.24

games-action/formido/formido-1.0.1.ebuild

index 4413b2482dbf0c39882f4d509596e1a547ca9b05..c1943ecac07fbfde620b54d45fa845d23e6edfa1 100644 (file)
@@ -1,7 +1,8 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
-EAPI=4
+
+EAPI=5
 inherit eutils toolchain-funcs games
 
 DESCRIPTION="A shooting game in the spirit of Phobia games"
@@ -14,10 +15,10 @@ SLOT=0
 KEYWORDS="amd64 ppc x86"
 IUSE=""
 
-DEPEND="media-libs/libsdl
+DEPEND="media-libs/libsdl[sound,video]
        media-libs/sdl-image
        media-libs/sdl-mixer"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
 
 src_unpack() {
        unpack ${P}.tar.gz
@@ -32,8 +33,7 @@ src_prepare() {
                -e "/^LINKFLAGS=/s:=.*:=${LDFLAGS}:" \
                -e "s:\${DATDIR}:${GAMES_DATADIR}/${PN}/data:" \
                -e "s:\${DEFCONFIGDIR}:${GAMES_DATADIR}/${PN}:" \
-               Makefile \
-               || die "sed failed"
+               Makefile || die
 }
 
 src_install() {