commit: 004c4a9de6a2958c45bda2e6684f114949686183
Author: Azamat H. Hackimov gmail com>
AuthorDate: Sat Feb 29 11:19:29 2020 +
Commit: Azamat H. Hackimov gentoo ru>
CommitDate: Sat Feb 29 11:19:29 2020 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=004c4a9d
games-puzzle/osmos: update package
Migrate from deprecated eclass.
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov gmail.com>
games-puzzle/osmos/metadata.xml| 3 +--
.../{osmos-1.6.1.ebuild => osmos-1.6.1-r1.ebuild} | 22 --
2 files changed, 9 insertions(+), 16 deletions(-)
diff --git a/games-puzzle/osmos/metadata.xml b/games-puzzle/osmos/metadata.xml
index 974ec88..46b0991 100644
--- a/games-puzzle/osmos/metadata.xml
+++ b/games-puzzle/osmos/metadata.xml
@@ -1,8 +1,7 @@
http://www.gentoo.org/dtd/metadata.dtd;>
-gamerboys
-
+
azamat.hacki...@gmail.com
Azamat H. Hackimov
diff --git a/games-puzzle/osmos/osmos-1.6.1.ebuild
b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild
similarity index 74%
rename from games-puzzle/osmos/osmos-1.6.1.ebuild
rename to games-puzzle/osmos/osmos-1.6.1-r1.ebuild
index fafe623..0cdaa35 100644
--- a/games-puzzle/osmos/osmos-1.6.1.ebuild
+++ b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-EAPI=5
+EAPI=7
-inherit eutils games
+inherit desktop eutils
MY_PN="Osmos"
MY_P="${MY_PN}_${PV}"
@@ -18,7 +17,6 @@ SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="fetch strip"
-PROPERTIES="interactive"
RDEPEND="
virtual/opengl
@@ -33,14 +31,12 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_PN}"
-GAMES_CHECK_LICENSE="yes"
-
pkg_nofetch() {
einfo "Please download ${MY_P}.tar.gz and place it into ${DISTDIR}"
}
src_install() {
- local GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
+ local dir="/opt/${PN}"
local exe
if use amd64 ; then
@@ -50,17 +46,15 @@ src_install() {
exe="${MY_PN}.bin32"
fi
- exeinto "${GAMEDIR}"
+ exeinto "${dir}"
doexe "${exe}" || die "doexe"
- dohtml readme.html
- insinto "${GAMEDIR}"
+ dodoc readme.html
+ insinto "${dir}"
doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg || die "doins failed"
newicon "Icons/256x256.png" "${PN}.png"
- games_make_wrapper "${PN}" "./${exe}" "${GAMEDIR}"
+ make_wrapper "${PN}" "./${exe}" "${dir}"
make_desktop_entry "${PN}" "Osmos"
-
- prepgamesdirs
}