summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-action/lugaru/lugaru-20151204-r1.ebuild26
1 files changed, 11 insertions, 15 deletions
diff --git a/games-action/lugaru/lugaru-20151204-r1.ebuild b/games-action/lugaru/lugaru-20151204-r1.ebuild
index 9860f427cdd0..c2abf83066a1 100644
--- a/games-action/lugaru/lugaru-20151204-r1.ebuild
+++ b/games-action/lugaru/lugaru-20151204-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils desktop
@@ -15,11 +15,11 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
- media-libs/libpng:0
- media-libs/libsdl[opengl,video]
- media-libs/libvorbis
- media-libs/openal
- sys-libs/zlib
+ media-libs/libpng:0=
+ media-libs/libsdl:=[opengl,video]
+ media-libs/libvorbis:=
+ media-libs/openal:=
+ sys-libs/zlib:=
virtual/glu
virtual/jpeg:0
virtual/opengl"
@@ -40,21 +40,17 @@ src_prepare() {
}
src_configure() {
- mycmakeargs=(
- "-DCMAKE_VERBOSE_MAKEFILE=TRUE"
- "-DLUGARU_FORCE_INTERNAL_OPENGL=False"
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE
+ -DLUGARU_FORCE_INTERNAL_OPENGL=False
)
cmake-utils_src_configure
}
-src_compile() {
- cmake-utils_src_compile
-}
-
src_install() {
- dobin "${WORKDIR}/${P}_build/lugaru"
+ dobin "${BUILD_DIR}"/lugaru
insinto /usr/share/${PN}
- doins -r Data/
+ doins -r Data
newicon Source/win-res/Lugaru.png ${PN}.png
make_desktop_entry ${PN} Lugaru ${PN}
}