public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/intrusion2/
Date: Mon,  5 Apr 2021 16:24:48 +0000 (UTC)	[thread overview]
Message-ID: <1617639880.71d6a2cdd5b73506e43b9ae6cc01dabf32254b3c.sam@gentoo> (raw)

commit:     71d6a2cdd5b73506e43b9ae6cc01dabf32254b3c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  5 16:22:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  5 16:24:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d6a2cd

games-action/intrusion2: port to EAPI 7, games.eclass--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-action/intrusion2/intrusion2-1.024-r1.ebuild | 63 ++++++++++++++++++
 games-action/intrusion2/intrusion2-1.024.ebuild    | 74 ----------------------
 2 files changed, 63 insertions(+), 74 deletions(-)

diff --git a/games-action/intrusion2/intrusion2-1.024-r1.ebuild b/games-action/intrusion2/intrusion2-1.024-r1.ebuild
new file mode 100644
index 00000000000..144d88aeeae
--- /dev/null
+++ b/games-action/intrusion2/intrusion2-1.024-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop wrapper
+
+USELESS_ID="1370288626"
+DESCRIPTION="Fast paced action sidescroller set in a sci-fi environment"
+HOMEPAGE="http://intrusion2.com"
+SRC_URI="intrusion2-${USELESS_ID}-bin"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch"
+
+MYGAMEDIR=opt/${PN}
+QA_PREBUILT="${MYGAMEDIR#/}"/${PN}
+
+COMMON_DEPEND="
+	>=dev-libs/glib-2.34.3:2[abi_x86_32(-)]
+	>=dev-libs/atk-2.10.0[abi_x86_32(-)]
+	>=media-libs/gst-plugins-base-0.10.36[abi_x86_32(-)]
+	>=media-libs/gstreamer-0.10.36-r2[abi_x86_32(-)]
+	>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
+	>=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
+	>=x11-libs/gdk-pixbuf-2.30.7[abi_x86_32(-)]
+	>=x11-libs/gtk+-2.24.23:2[abi_x86_32(-)]
+	>=x11-libs/pango-1.36.3[abi_x86_32(-)]
+	>=x11-libs/libSM-1.2.1-r1[abi_x86_32(-)]
+	>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
+	>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
+	>=x11-libs/libXinerama-1.1.3[abi_x86_32(-)]
+	>=x11-libs/libXtst-1.2.1-r1[abi_x86_32(-)]
+"
+
+RDEPEND="
+	amd64? (
+		${COMMON_DEPEND}
+	)
+	x86? (
+		${COMMON_DEPEND//\[abi_x86_32(-)\]/}
+	)
+"
+
+pkg_nofetch() {
+	einfo "Please buy & download ${SRC_URI} from:"
+	einfo "  ${HOMEPAGE}"
+	einfo "and move it to your DISTFILES directory."
+	einfo
+}
+
+src_unpack() { :; }
+
+src_install() {
+	exeinto "/${MYGAMEDIR}"
+	newexe "${DISTDIR}"/${SRC_URI} ${PN}
+
+	make_wrapper ${PN} "${MYGAMEDIR}"/${PN}
+	make_desktop_entry ${PN}
+}

diff --git a/games-action/intrusion2/intrusion2-1.024.ebuild b/games-action/intrusion2/intrusion2-1.024.ebuild
deleted file mode 100644
index 627e48003a2..00000000000
--- a/games-action/intrusion2/intrusion2-1.024.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-USELESS_ID="1370288626"
-DESCRIPTION="Fast paced action sidescroller set in a sci-fi environment"
-HOMEPAGE="http://intrusion2.com"
-SRC_URI="intrusion2-${USELESS_ID}-bin"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="bindist fetch"
-
-MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
-QA_PREBUILT="${MYGAMEDIR#/}/${PN}"
-
-RDEPEND="
-	amd64? (
-		>=dev-libs/glib-2.34.3:2[abi_x86_32(-)]
-		>=dev-libs/atk-2.10.0[abi_x86_32(-)]
-		>=x11-libs/gdk-pixbuf-2.30.7[abi_x86_32(-)]
-		>=x11-libs/gtk+-2.24.23:2[abi_x86_32(-)]
-		>=x11-libs/pango-1.36.3[abi_x86_32(-)]
-		>=media-libs/gst-plugins-base-0.10.36[abi_x86_32(-)]
-		>=media-libs/gstreamer-0.10.36-r2[abi_x86_32(-)]
-		>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
-		>=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
-		>=x11-libs/libSM-1.2.1-r1[abi_x86_32(-)]
-		>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
-		>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
-		>=x11-libs/libXinerama-1.1.3[abi_x86_32(-)]
-		>=x11-libs/libXtst-1.2.1-r1[abi_x86_32(-)]
-	)
-	x86? (
-		dev-libs/glib:2
-		dev-libs/atk
-		x11-libs/gdk-pixbuf
-		x11-libs/gtk+:2
-		x11-libs/pango
-		media-libs/gst-plugins-base
-		media-libs/gstreamer
-		media-libs/fontconfig
-		media-libs/freetype
-		x11-libs/libSM
-		x11-libs/libX11
-		x11-libs/libXext
-		x11-libs/libXinerama
-		x11-libs/libXtst
-	)"
-
-S=${WORKDIR}
-
-pkg_nofetch() {
-	einfo "Please buy & download ${SRC_URI} from:"
-	einfo "  ${HOMEPAGE}"
-	einfo "and move it to your DISTFILES directory."
-	einfo
-}
-
-src_unpack() { :; }
-
-src_install() {
-	exeinto "${MYGAMEDIR}"
-	newexe "${DISTDIR}"/${SRC_URI} ${PN}
-
-	games_make_wrapper ${PN} "${MYGAMEDIR}/${PN}"
-	make_desktop_entry ${PN}
-
-	prepgamesdirs
-}


             reply	other threads:[~2021-04-05 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05 16:24 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-12-19 14:31 [gentoo-commits] repo/gentoo:master commit in: games-action/intrusion2/ Ben Kohler
2018-05-06 16:08 Mart Raudsepp

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=1617639880.71d6a2cdd5b73506e43b9ae6cc01dabf32254b3c.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