public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/osmos/
Date: Sat, 29 Feb 2020 13:04:57 +0000 (UTC)	[thread overview]
Message-ID: <1582975169.004c4a9de6a2958c45bda2e6684f114949686183.winterheart@gentoo> (raw)

commit:     004c4a9de6a2958c45bda2e6684f114949686183
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 11:19:29 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 11:19:29 2020 +0000
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 <azamat.hackimov <AT> 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 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>gamerboys</herd>
-<maintainer>
+<maintainer type="person">
 <email>azamat.hackimov@gmail.com</email>
 <name>Azamat H. Hackimov</name>
 </maintainer>

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
 }


             reply	other threads:[~2020-02-29 13:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-29 13:04 Azamat H. Hackimov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-15  5:48 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/osmos/ Vadim Misbakh-Soloviov
2013-03-16  5:31 Vadim A. Misbakh-Soloviov
2011-02-28 14:06 Christian Schmitt
2011-02-27 21:34 Azamat H. Hackimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1582975169.004c4a9de6a2958c45bda2e6684f114949686183.winterheart@gentoo \
    --to=winterheart@gentoo.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox