[gentoo-commits] proj/gamerlay:master commit in: games-puzzle/osmos/

2024-01-14 Thread Vadim Misbakh-Soloviov
commit: 8742eac1abb723d125fbacd4cc3c01d00577ed41
Author: Vadim Misbakh-Soloviov  gentoo  org>
AuthorDate: Mon Jan 15 05:25:55 2024 +
Commit: Vadim Misbakh-Soloviov  gentoo  org>
CommitDate: Mon Jan 15 05:25:55 2024 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8742eac1

games-puzzle/osmos: Migrated to EAPI8

Signed-off-by: Vadim Misbakh-Soloviov  gentoo.org>

 games-puzzle/osmos/osmos-1.6.1-r1.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/games-puzzle/osmos/osmos-1.6.1-r1.ebuild 
b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild
index 0cdaa35..9c3338e 100644
--- a/games-puzzle/osmos/osmos-1.6.1-r1.ebuild
+++ b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit desktop eutils
+inherit desktop wrapper
 
 MY_PN="Osmos"
 MY_P="${MY_PN}_${PV}"
@@ -14,8 +14,7 @@ SRC_URI="${MY_P}.tar.gz"
 
 LICENSE="OSMOS"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
 RESTRICT="fetch strip"
 
 RDEPEND="
@@ -23,7 +22,6 @@ RDEPEND="
virtual/glu
x11-libs/libX11
media-libs/freetype:2
-   sys-libs/glibc
media-libs/openal
media-libs/libvorbis
 "
@@ -32,7 +30,7 @@ DEPEND="${RDEPEND}"
 S="${WORKDIR}/${MY_PN}"
 
 pkg_nofetch() {
-   einfo "Please download ${MY_P}.tar.gz and place it into ${DISTDIR}"
+   einfo "Please download ${MY_P}.tar.gz and place it into 
${PORTAGE_ACTUAL_DISTDIR}"
 }
 
 src_install() {



[gentoo-commits] proj/gamerlay:master commit in: games-puzzle/osmos/

2020-02-29 Thread Azamat H. Hackimov
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
 }