[gentoo-commits] proj/gamerlay:master commit in: games-arcade/rush/

2024-01-14 Thread Vadim Misbakh-Soloviov
commit: a08c1ecfaec2703ca30a76be868508b34c2a42b4
Author: Vadim Misbakh-Soloviov  gentoo  org>
AuthorDate: Mon Jan 15 03:49:06 2024 +
Commit: Vadim Misbakh-Soloviov  gentoo  org>
CommitDate: Mon Jan 15 03:49:06 2024 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=a08c1ecf

games-arcade/rush: Migrated to EAPI8

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

 games-arcade/rush/rush-20130703.ebuild | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/games-arcade/rush/rush-20130703.ebuild 
b/games-arcade/rush/rush-20130703.ebuild
index 7f8d1c0..9c9c8be 100644
--- a/games-arcade/rush/rush-20130703.ebuild
+++ b/games-arcade/rush/rush-20130703.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 unpacker-nixstaller
+inherit desktop wrapper unpacker-nixstaller
 
 MY_PN="${PN^^}"
 TS="1372878397"
@@ -16,8 +16,7 @@ RESTRICT="fetch"
 
 LICENSE="all-rights-reserved"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
media-libs/libsdl2
@@ -27,7 +26,7 @@ RDEPEND="
 
 pkg_nofetch() {
ewarn
-   ewarn "Place ${A} to ${DISTDIR}"
+   ewarn "Place ${A} to ${PORTAGE_ACTUAL_DISTDIR}"
ewarn
 }
 



[gentoo-commits] proj/gamerlay:master commit in: games-arcade/rush/

2020-02-28 Thread Azamat H. Hackimov
commit: 9de99dd86d9e4c4c571008e9577aa486fbeef106
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Sat Feb 29 00:47:32 2020 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Sat Feb 29 00:47:32 2020 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=9de99dd8

games-arcade/rush: 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-arcade/rush/metadata.xml |  4 
 games-arcade/rush/rush-20130703.ebuild | 25 -
 2 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/games-arcade/rush/metadata.xml b/games-arcade/rush/metadata.xml
new file mode 100644
index 000..097975e
--- /dev/null
+++ b/games-arcade/rush/metadata.xml
@@ -0,0 +1,4 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+

diff --git a/games-arcade/rush/rush-20130703.ebuild 
b/games-arcade/rush/rush-20130703.ebuild
index c5cc279..7f8d1c0 100644
--- a/games-arcade/rush/rush-20130703.ebuild
+++ b/games-arcade/rush/rush-20130703.ebuild
@@ -1,24 +1,25 @@
-EAPI="5"
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
 
-inherit base games unpacker-nixstaller
-# multilib
+EAPI=7
+
+inherit desktop eutils unpacker-nixstaller
 
 MY_PN="${PN^^}"
 TS="1372878397"
 MY_P="${MY_PN}_${PV:0:4}-${PV:4:2}-${PV:6:2}_Linux_${TS}"
 
-DESCRIPTION="A simple puzzler that’ll have you mesmerized with a synchronized 
swarm of brightly colored blocks."
+DESCRIPTION="A simple puzzler that'll have you mesmerized with a synchronized 
swarm of blocks"
 HOMEPAGE="http://twotribes.com/message/rush/;
 SRC_URI="${MY_P}.sh"
 RESTRICT="fetch"
 
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}
+RDEPEND="
media-libs/libsdl2
media-libs/openal
sys-libs/zlib
@@ -41,15 +42,16 @@ src_unpack() {
 }
 
 src_install() {
-   local dir="${GAMES_PREFIX_OPT}/${PN}"
-   local arch=x86
+   local dir="/opt/${PN}"
+   local arch
use amd64 && arch=x86_64
+   use x86 && arch=x86
 
exeinto "${dir}"
insinto "${dir}"
 
make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
-   games_make_wrapper "${PN}" "./${PN}" "${dir}"
+   make_wrapper "${PN}" "./${PN}" "${dir}"
 
newexe "${MY_PN}.bin.${arch}" "${PN}"
newicon "${MY_PN}.png" "${PN}.png"
@@ -68,8 +70,5 @@ src_install() {
"loc" \
"rubiks" \
"shared"
-
-   prepgamesdirs
-
base_src_install_docs
 }