From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/hotline-miami/
Date: Tue, 6 Apr 2021 22:47:33 +0000 (UTC) [thread overview]
Message-ID: <1617749240.a6a0d6fe27366413ee715036d6860f4d6edce5da.sam@gentoo> (raw)
commit: a6a0d6fe27366413ee715036d6860f4d6edce5da
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 6 22:12:36 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 6 22:47:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a0d6fe
games-action/hotline-miami: port to EAPI 7, games.eclass--
Signed-off-by: Sam James <sam <AT> gentoo.org>
...ld => hotline-miami-1.0.9a_p20140221-r2.ebuild} | 28 +++++++++++-----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r1.ebuild b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r2.ebuild
similarity index 82%
rename from games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r1.ebuild
rename to games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r2.ebuild
index fa19d6e68fd..1a6a8e0ef21 100644
--- a/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r1.ebuild
+++ b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r2.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# TODO: unbundle Qt5
+EAPI=7
-EAPI=5
-inherit eutils games
+inherit desktop wrapper
DESCRIPTION="High-octane action game overflowing with raw brutality"
HOMEPAGE="http://www.devolverdigital.com/games/view/hotline-miami"
SRC_URI="HotlineMiami_linux_1392944501.tar.gz"
+S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
@@ -16,11 +16,14 @@ KEYWORDS="~amd64 ~x86"
IUSE="bundled-libs +launcher"
RESTRICT="bindist fetch splitdebug"
-MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
-QA_PREBUILT="${MYGAMEDIR#/}/lib/*
+MYGAMEDIR=opt/${PN}
+QA_PREBUILT="
+ ${MYGAMEDIR#/}/lib/*
${MYGAMEDIR#/}/Hotline
- ${MYGAMEDIR#/}/hotline_launcher"
+ ${MYGAMEDIR#/}/hotline_launcher
+"
+# TODO: unbundle Qt5
RDEPEND="
amd64? (
>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
@@ -53,9 +56,8 @@ RDEPEND="
x11-libs/libXrender
x11-libs/libxcb
)
- )"
-
-S=${WORKDIR}
+ )
+"
pkg_nofetch() {
einfo "Please buy & download ${SRC_URI} from:"
@@ -75,12 +77,10 @@ src_install() {
use launcher && doexe lib/libQt5*
use bundled-libs && doexe libCg* libopenal*
- games_make_wrapper ${PN} "./Hotline" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
+ make_wrapper ${PN} "./Hotline" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
make_desktop_entry ${PN}
if use launcher ; then
- games_make_wrapper ${PN}-launcher "./hotline_launcher" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
+ make_wrapper ${PN}-launcher "./hotline_launcher" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
make_desktop_entry ${PN}-launcher "${PN} (launcher)"
fi
-
- prepgamesdirs
}
next reply other threads:[~2021-04-06 22:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 22:47 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-03 21:43 [gentoo-commits] repo/gentoo:master commit in: games-action/hotline-miami/ James Le Cuirot
2018-12-20 17:25 Ben Kohler
2018-05-06 16:08 Mart Raudsepp
2015-09-30 14:37 Ian Stakenvicius
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=1617749240.a6a0d6fe27366413ee715036d6860f4d6edce5da.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