From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/doom-data/
Date: Sun, 29 Apr 2018 17:13:20 +0000 (UTC) [thread overview]
Message-ID: <1525021990.85efa495fa96d2f6b335a49ac6fefe2f1b556d3c.pacho@gentoo> (raw)
commit: 85efa495fa96d2f6b335a49ac6fefe2f1b556d3c
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 29 16:58:02 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr 29 17:13:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85efa495
games-fps/doom-data: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
games-fps/doom-data/doom-data-1-r2.ebuild | 40 +++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/games-fps/doom-data/doom-data-1-r2.ebuild b/games-fps/doom-data/doom-data-1-r2.ebuild
new file mode 100644
index 00000000000..dcbff4655ed
--- /dev/null
+++ b/games-fps/doom-data/doom-data-1-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Collection of doom wad files from id"
+HOMEPAGE="http://www.idsoftware.com/"
+SRC_URI="mirror://gentoo/doom1.wad.bz2"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doomsday"
+
+RDEPEND="doomsday? ( games-fps/doomsday )"
+DEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/doom-data
+ doins *.wad
+ if use doomsday; then
+ # Make wrapper for doomsday
+ make_wrapper doomsday-demo "jdoom -file \
+ /usr/share/doom-data/doom1.wad"
+ make_desktop_entry doomsday-demo "Doomsday - Demo"
+ fi
+}
+
+pkg_postinst() {
+ if use doomsday; then
+ elog "To use the doomsday engine, run doomsday-demo"
+ else
+ elog "A Doom engine is required to play the wad"
+ elog "Enable the doomsday use flag if you want to use"
+ elog " the doomsday engine"
+ fi
+}
next reply other threads:[~2018-04-29 17:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-29 17:13 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-19 5:19 [gentoo-commits] repo/gentoo:master commit in: games-fps/doom-data/ Sam James
2022-09-19 6:42 Michał Górny
2019-06-18 21:23 James Le Cuirot
2018-04-29 17:13 Pacho Ramos
2017-11-25 14:19 Patrick Lauer
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=1525021990.85efa495fa96d2f6b335a49ac6fefe2f1b556d3c.pacho@gentoo \
--to=pacho@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