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

games-arcade/briquolo/briquolo-0.5.7.ebuild

index 2690ebcf66e121ca838d3f63df2fa7049e7d1d47..efd0d53f629d7ceeea5cd797dda72b22f984a560 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Breakout with 3D representation based on OpenGL"
@@ -16,10 +16,10 @@ IUSE="nls"
 
 RDEPEND="virtual/opengl
        virtual/glu
-       media-libs/libsdl
+       media-libs/libsdl[joystick,sound,video]
        media-libs/sdl-mixer
        media-libs/sdl-ttf
-       media-libs/libpng
+       media-libs/libpng:0
        nls? ( virtual/libintl )"
 DEPEND="${RDEPEND}
        nls? ( sys-devel/gettext )"
@@ -30,22 +30,18 @@ src_prepare() {
        # no thanks we'll take care of it.
        sed -i \
                -e '/^SUBDIRS/s/desktop//' \
-               Makefile.in \
-               || die "sed Makefile.in failed"
+               Makefile.in || die
        sed -i \
                -e "/CXXFLAGS/s:-O3:${CXXFLAGS}:" \
                -e 's:=.*share/locale:=/usr/share/locale:' \
-               configure \
-               || die "sed configure failed"
+               configure || die
        sed -i \
                -e 's:$(datadir)/locale:/usr/share/locale:' \
-               po/Makefile.in.in \
-               || die "sed Makefile.in.in failed"
+               po/Makefile.in.in || die
 }
 
 src_configure() {
-       egamesconf \
-               $(use_enable nls)
+       egamesconf $(use_enable nls)
 }
 
 src_install() {