diff options
author | David Seifert <soap@gentoo.org> | 2019-04-11 19:20:26 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-04-11 19:21:54 +0200 |
commit | 8eae0b2d70c6e8eb65f40625d486046d549c8f0c (patch) | |
tree | f0682a27c831671cca8864fdebbac7c01bef669d /games-action/lugaru | |
parent | games-action/lugaru: Fix building with media-libs/jpeg (diff) | |
download | gentoo-8eae0b2d70c6e8eb65f40625d486046d549c8f0c.tar.gz gentoo-8eae0b2d70c6e8eb65f40625d486046d549c8f0c.tar.bz2 gentoo-8eae0b2d70c6e8eb65f40625d486046d549c8f0c.zip |
games-action/lugaru: Port to EAPI 7
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-action/lugaru')
-rw-r--r-- | games-action/lugaru/lugaru-20151204-r1.ebuild | 26 |
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} } |