* [gentoo-commits] proj/gamerlay:master commit in: games-strategy/uplink/
@ 2020-03-04 0:08 Azamat H. Hackimov
0 siblings, 0 replies; 2+ messages in thread
From: Azamat H. Hackimov @ 2020-03-04 0:08 UTC (permalink / raw
To: gentoo-commits
commit: b9e7e3755e2c6faf6a583bc51c02f7302ed3b027
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Tue Mar 3 23:00:44 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Tue Mar 3 23:00:44 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=b9e7e375
games-strategy/uplink: update package
Migrate from deprecated eclass.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-strategy/uplink/metadata.xml | 4 ++++
.../{uplink-1.6.ebuild => uplink-1.6-r1.ebuild} | 21 +++++++++++----------
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/games-strategy/uplink/metadata.xml b/games-strategy/uplink/metadata.xml
new file mode 100644
index 0000000..097975e
--- /dev/null
+++ b/games-strategy/uplink/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/games-strategy/uplink/uplink-1.6.ebuild b/games-strategy/uplink/uplink-1.6-r1.ebuild
similarity index 80%
rename from games-strategy/uplink/uplink-1.6.ebuild
rename to games-strategy/uplink/uplink-1.6-r1.ebuild
index 66309f2..c8c2be7 100644
--- a/games-strategy/uplink/uplink-1.6.ebuild
+++ b/games-strategy/uplink/uplink-1.6-r1.ebuild
@@ -1,6 +1,9 @@
-EAPI=5
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
-inherit games
+EAPI=7
+
+inherit desktop eutils
MY_P="${PN}_${PV}-1"
@@ -11,11 +14,11 @@ SRC_URI="amd64? ( ${MY_P}_amd64.tar.gz )
RESTRICT="fetch"
# Bundled libs :(
-QA_PRESTRIPPED="${GAMES_PREFIX_OPT}/${PN}/lib.*"
+QA_PRESTRIPPED="/opt/${PN}/lib.*"
-LICENSE="introversion"
+LICENSE="all-rights-reserved"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="-* ~amd64 ~x86"
IUSE=""
DEPEND=""
@@ -33,7 +36,7 @@ pkg_nofetch() {
src_unpack() {
local root
- unpack "${A}"
+ unpack ${A}
if use amd64; then
root=uplink-x64
@@ -49,7 +52,7 @@ src_unpack() {
S="${WORKDIR}/${PN}"
src_install() {
- local dir="${GAMES_PREFIX_OPT}/${PN}"
+ local dir="/opt/${PN}"
local exe lib
insinto "${dir}"
@@ -77,9 +80,7 @@ src_install() {
doicon uplink.png
make_desktop_entry "${PN}" Uplink uplink
- games_make_wrapper "${PN}" "${dir}/$exe"
+ make_wrapper "${PN}" "${dir}/$exe"
dodoc changes.txt mods.txt readme.txt
-
- prepgamesdirs
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/gamerlay:master commit in: games-strategy/uplink/
@ 2024-01-15 5:48 Vadim Misbakh-Soloviov
0 siblings, 0 replies; 2+ messages in thread
From: Vadim Misbakh-Soloviov @ 2024-01-15 5:48 UTC (permalink / raw
To: gentoo-commits
commit: 5b9de78263e02ed082f2083d4723d56ba8b27648
Author: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 05:45:29 2024 +0000
Commit: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 05:45:29 2024 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=5b9de782
games-strategy/uplink: Migrated to EAPI8
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>
games-strategy/uplink/uplink-1.6-r1.ebuild | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/games-strategy/uplink/uplink-1.6-r1.ebuild b/games-strategy/uplink/uplink-1.6-r1.ebuild
index c8c2be7..9aa25a8 100644
--- a/games-strategy/uplink/uplink-1.6-r1.ebuild
+++ b/games-strategy/uplink/uplink-1.6-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_P="${PN}_${PV}-1"
@@ -18,10 +18,8 @@ QA_PRESTRIPPED="/opt/${PN}/lib.*"
LICENSE="all-rights-reserved"
SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
-DEPEND=""
RDEPEND="${DEPEND}
media-libs/libsdl[opengl]
media-libs/sdl-mixer[mikmod]
@@ -29,7 +27,7 @@ RDEPEND="${DEPEND}
pkg_nofetch() {
ewarn
- ewarn "Place ${A} to ${DISTDIR}"
+ ewarn "Place ${A} to ${PORTAGE_ACTUAL_DISTDIR}"
ewarn
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-15 5:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-15 5:48 [gentoo-commits] proj/gamerlay:master commit in: games-strategy/uplink/ Vadim Misbakh-Soloviov
-- strict thread matches above, loose matches on Subject: below --
2020-03-04 0:08 Azamat H. Hackimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox