Skip to content

Commit

Permalink
EAPI=5; minor tidying
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.24
  • Loading branch information
Michael Sterrett committed Dec 18, 2015
1 parent cb50915 commit 78f8b90
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions games-arcade/briquolo/briquolo-0.5.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 )"
Expand All @@ -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() {
Expand Down

0 comments on commit 78f8b90

Please sign in to comment.