From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/transfusion-bin/
Date: Sat, 10 Apr 2021 13:31:09 +0000 (UTC) [thread overview]
Message-ID: <1618061439.9587b31cb5bd60a51efb7a3a4e179b621e79a0af.sam@gentoo> (raw)
commit: 9587b31cb5bd60a51efb7a3a4e179b621e79a0af
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 13:20:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 13:30:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9587b31c
games-fps/transfusion-bin: port to EAPI 7, missing deps, silence QA warnings
Closes: https://bugs.gentoo.org/724810
Closes: https://bugs.gentoo.org/724832
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../transfusion-bin/transfusion-bin-1.01-r1.ebuild | 28 ++++++++++++++--------
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/games-fps/transfusion-bin/transfusion-bin-1.01-r1.ebuild b/games-fps/transfusion-bin/transfusion-bin-1.01-r1.ebuild
index beeb5e9eb35..72ae024af23 100644
--- a/games-fps/transfusion-bin/transfusion-bin-1.01-r1.ebuild
+++ b/games-fps/transfusion-bin/transfusion-bin-1.01-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=7
+
+inherit desktop wrapper
MY_PN="${PN/-bin/}"
DESCRIPTION="Blood remake"
@@ -10,18 +11,25 @@ HOMEPAGE="https://www.transfusion-game.com/"
SRC_URI="mirror://sourceforge/blood/${MY_PN}-1.0-linux.i386.zip
mirror://sourceforge/blood/${MY_PN}-patch-${PV}-linux.i386.zip
mirror://gentoo/${MY_PN}.png"
+S="${WORKDIR}/${MY_PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
RESTRICT="strip"
-RDEPEND="sys-libs/glibc"
-DEPEND="${RDEPEND}
- app-arch/unzip"
+RDEPEND="
+ sys-libs/glibc
+ x11-libs/libX11
+ x11-libs/libXext
+"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
-S="${WORKDIR}/${MY_PN}"
+QA_PREBUILT="
+ opt/transfusion/transfusion-dedicated
+ opt/transfusion/transfusion-glx
+"
dir="/opt/${MY_PN}"
Ddir="${D}/${dir}"
@@ -32,14 +40,14 @@ src_install() {
HTML_DOCS="${MY_PN}/doc/*.html" einstalldocs
#...then mass copy everything to the install dir...
- dodir "${dir}"
+ dodir ${dir}
cp -R * "${Ddir}" || die
# ...and remove the docs since we don't need them installed twice.
rm -rf \
"${Ddir}"/${MY_PN}/doc \
"${Ddir}"/qw/*txt \
- "${Ddir}"/${MY_PN}/*txt
+ "${Ddir}"/${MY_PN}/*txt || die
doicon "${DISTDIR}"/${MY_PN}.png
make_wrapper ${MY_PN} ./${MY_PN}-glx "${dir}" "${dir}"
next reply other threads:[~2021-04-10 13:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-10 13:31 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-01-02 8:49 [gentoo-commits] repo/gentoo:master commit in: games-fps/transfusion-bin/ Michael Sterrett
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=1618061439.9587b31cb5bd60a51efb7a3a4e179b621e79a0af.sam@gentoo \
--to=sam@gentoo.org \
--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