commit: 74a5f6520b3da1f166fdc184ad2668e79125e30e Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Thu Feb 6 20:19:26 2020 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Thu Feb 6 21:22:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=74a5f652
games-arcade/frogatto: update EAPI Remove deprecated games eclass Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> games-arcade/frogatto/frogatto-1.3.1.ebuild | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/games-arcade/frogatto/frogatto-1.3.1.ebuild b/games-arcade/frogatto/frogatto-1.3.1.ebuild index 900524c..370bf4b 100644 --- a/games-arcade/frogatto/frogatto-1.3.1.ebuild +++ b/games-arcade/frogatto/frogatto-1.3.1.ebuild @@ -1,14 +1,13 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI=5 +EAPI=6 -inherit eutils games +inherit desktop eutils DESCRIPTION="a frog, and a platform game" HOMEPAGE="http://frogatto.com/" -SRC_URI="http://github.com/frogatto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/frogatto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3 free-noncomm" SLOT="0" @@ -17,7 +16,7 @@ KEYWORDS="~amd64 ~x86" IUSE="extras" DEPEND="dev-libs/boost - media-libs/glew + media-libs/glew:0 media-libs/libpng:0 media-libs/libsdl[X,joystick,opengl,sound,video] media-libs/sdl-image[png] @@ -29,13 +28,12 @@ DEPEND="dev-libs/boost RDEPEND="${DEPEND}" src_prepare() { + default # drop some CXXFLAGS sed -i \ -e '/BASE_CXXFLAGS/s/-Werror //' \ -e '/BASE_CXXFLAGS/s/-g //' \ Makefile || die 'sed on Makefile failed' - - epatch_user } src_compile() { @@ -43,8 +41,8 @@ src_compile() { } src_install() { - insinto "${GAMES_DATADIR}/${PN}" - newgamesbin game "${PN}.orig" + insinto "/usr/share/${PN}" + newbin game "${PN}.orig" doins -r data images music *.ttf if use extras; then @@ -52,14 +50,12 @@ src_install() { doins -r modules else # Install only frogatto module by default - insinto "${GAMES_DATADIR}/${PN}/modules" + insinto "/usr/share/${PN}/modules" doins -r modules/frogatto fi newicon images/window-icon.png "${PN}.png" - games_make_wrapper "${PN}" "${GAMES_BINDIR}/${PN}.orig" "${GAMES_DATADIR}/${PN}" + make_wrapper "${PN}" "/usr/bin/${PN}.orig" "/usr/share/${PN}" make_desktop_entry "${PN}" "Frogatto and Friends" - - prepgamesdirs }