From 004c4a9de6a2958c45bda2e6684f114949686183 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Sat, 29 Feb 2020 14:19:29 +0300 Subject: 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 --- games-puzzle/osmos/metadata.xml | 3 +- games-puzzle/osmos/osmos-1.6.1-r1.ebuild | 60 +++++++++++++++++++++++++++++ games-puzzle/osmos/osmos-1.6.1.ebuild | 66 -------------------------------- 3 files changed, 61 insertions(+), 68 deletions(-) create mode 100644 games-puzzle/osmos/osmos-1.6.1-r1.ebuild delete mode 100644 games-puzzle/osmos/osmos-1.6.1.ebuild (limited to 'games-puzzle') 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 @@ -gamerboys - + azamat.hackimov@gmail.com Azamat H. Hackimov diff --git a/games-puzzle/osmos/osmos-1.6.1-r1.ebuild b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild new file mode 100644 index 0000000..0cdaa35 --- /dev/null +++ b/games-puzzle/osmos/osmos-1.6.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils + +MY_PN="Osmos" +MY_P="${MY_PN}_${PV}" + +DESCRIPTION="Play as a single-celled organism absorbing others" +HOMEPAGE="http://www.hemispheregames.com/osmos/" +SRC_URI="${MY_P}.tar.gz" + +LICENSE="OSMOS" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="fetch strip" + +RDEPEND=" + virtual/opengl + virtual/glu + x11-libs/libX11 + media-libs/freetype:2 + sys-libs/glibc + media-libs/openal + media-libs/libvorbis +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}" + +pkg_nofetch() { + einfo "Please download ${MY_P}.tar.gz and place it into ${DISTDIR}" +} + +src_install() { + local dir="/opt/${PN}" + local exe + + if use amd64 ; then + exe="${MY_PN}.bin64" + fi + if use x86 ; then + exe="${MY_PN}.bin32" + fi + + exeinto "${dir}" + doexe "${exe}" || die "doexe" + + dodoc readme.html + insinto "${dir}" + doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg || die "doins failed" + + newicon "Icons/256x256.png" "${PN}.png" + + make_wrapper "${PN}" "./${exe}" "${dir}" + make_desktop_entry "${PN}" "Osmos" +} diff --git a/games-puzzle/osmos/osmos-1.6.1.ebuild b/games-puzzle/osmos/osmos-1.6.1.ebuild deleted file mode 100644 index fafe623..0000000 --- a/games-puzzle/osmos/osmos-1.6.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils games - -MY_PN="Osmos" -MY_P="${MY_PN}_${PV}" - -DESCRIPTION="Play as a single-celled organism absorbing others" -HOMEPAGE="http://www.hemispheregames.com/osmos/" -SRC_URI="${MY_P}.tar.gz" - -LICENSE="OSMOS" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" -RESTRICT="fetch strip" -PROPERTIES="interactive" - -RDEPEND=" - virtual/opengl - virtual/glu - x11-libs/libX11 - media-libs/freetype:2 - sys-libs/glibc - media-libs/openal - media-libs/libvorbis -" -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 exe - - if use amd64 ; then - exe="${MY_PN}.bin64" - fi - if use x86 ; then - exe="${MY_PN}.bin32" - fi - - exeinto "${GAMEDIR}" - doexe "${exe}" || die "doexe" - - dohtml readme.html - insinto "${GAMEDIR}" - doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg || die "doins failed" - - newicon "Icons/256x256.png" "${PN}.png" - - games_make_wrapper "${PN}" "./${exe}" "${GAMEDIR}" - make_desktop_entry "${PN}" "Osmos" - - prepgamesdirs -} -- cgit v1.2.3-18-g5258