From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/snapshot/
Date: Sat, 29 Feb 2020 13:04:57 +0000 (UTC) [thread overview]
Message-ID: <1582976866.da17ef200ad9ee9879c5809a04fefe6f1e8b0e8f.winterheart@gentoo> (raw)
commit: da17ef200ad9ee9879c5809a04fefe6f1e8b0e8f
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 11:45:56 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 11:47:46 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=da17ef20
games-puzzle/snapshot: 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/snapshot/metadata.xml | 11 ++++++++
.../{snapshot-28.ebuild => snapshot-28-r1.ebuild} | 29 ++++++++++------------
2 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/games-puzzle/snapshot/metadata.xml b/games-puzzle/snapshot/metadata.xml
new file mode 100644
index 0000000..aec4945
--- /dev/null
+++ b/games-puzzle/snapshot/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>mva@mva.name</email>
+<name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/games-puzzle/snapshot/snapshot-28.ebuild b/games-puzzle/snapshot/snapshot-28-r1.ebuild
similarity index 71%
rename from games-puzzle/snapshot/snapshot-28.ebuild
rename to games-puzzle/snapshot/snapshot-28-r1.ebuild
index 308dfde..11b3391 100644
--- a/games-puzzle/snapshot/snapshot-28.ebuild
+++ b/games-puzzle/snapshot/snapshot-28-r1.ebuild
@@ -1,20 +1,19 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: games-puzzle/kinetris/kinetris-1.0.0b_pre5.ebuild frostwork Exp $
-EAPI="5"
+EAPI=7
MY_PN="${PN/s/S}"
BASE_URI="${MY_PN}-linux-v${PV}"
-inherit multilib games
+inherit desktop eutils
-DESCRIPTION="Join PIC on his awesome journey into the unknown armed with only his camera that can capture the world around him!"
+DESCRIPTION="Join PIC on his awesome journey into the unknown armed with only his camera!"
HOMEPAGE="http://www.retroaffect.com/games/1/snapshot/"
SRC_URI="
x86? ( ${BASE_URI}-x86.tar.gz )
amd64? ( ${BASE_URI}-x64.tar.gz )
"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
SLOT="0"
RESTRICT="fetch"
KEYWORDS="~amd64 ~x86"
@@ -57,15 +56,15 @@ RDEPEND="${DEPEND}
x11-libs/libXfixes
x11-libs/libXtst
x11-libs/libXxf86vm
- || ( dev-lang/luajit:2 =dev-lang/lua-5.1 )
+ || ( dev-lang/luajit:2 dev-lang/lua:0 )
luajit? ( dev-lang/luajit:2 )
- !luajit? ( =dev-lang/lua-5.1* )
+ !luajit? ( dev-lang/lua:0 )
"
S="${WORKDIR}"
src_install() {
local lib=liblua.so;
- GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
+ dir="/opt/${PN}"
use luajit && lib=libluajit-5.1.so
@@ -78,16 +77,14 @@ src_install() {
# Fixing bundled lua (requires non-standard soname)
ln -s "/usr/$(get_libdir)/${lib}" "./liblua5.1.so.0"
- exeinto "${GAMEDIR}"
- insinto "${GAMEDIR}"
+ exeinto "${dir}"
+ insinto "${dir}"
doins -r "resources"
doins "liblua5.1.so.0"
doexe "${PN}.bin"
doicon "${FILESDIR}/snapshot.png"
- # install shortcuts
- games_make_wrapper "${PN}" "./${PN}.bin" "${GAMEDIR}" "${GAMEDIR}" || die "install shortcut"
- make_desktop_entry "${PN}" "${PN}" "${PN}"
-
- prepgamesdirs
+ # install shortcuts
+ make_wrapper "${PN}" "./${PN}.bin" "${dir}" "${dir}" || die "install shortcut"
+ make_desktop_entry "${PN}" "${PN}" "${PN}"
}
next 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 --
2022-08-16 2:23 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/snapshot/ Azamat H. Hackimov
2013-05-02 9:58 Vadim A. Misbakh-Soloviov
2013-05-02 9:53 Vadim A. Misbakh-Soloviov
2013-05-01 9:09 Vadim A. Misbakh-Soloviov
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=1582976866.da17ef200ad9ee9879c5809a04fefe6f1e8b0e8f.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