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-fps/doomsday/
Date: Tue, 12 Jan 2021 15:22:09 +0000 (UTC)	[thread overview]
Message-ID: <1610464925.966ceefb3283f34d7f82fb5a92f5028e1dcc4834.sam@gentoo> (raw)

commit:     966ceefb3283f34d7f82fb5a92f5028e1dcc4834
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 15:20:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 15:22:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966ceefb

games-fps/doomsday: bump to 2.3.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-fps/doomsday/Manifest              |  1 +
 games-fps/doomsday/doomsday-2.3.0.ebuild | 81 ++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/games-fps/doomsday/Manifest b/games-fps/doomsday/Manifest
index 4726ace45e3..e6ef0b454e3 100644
--- a/games-fps/doomsday/Manifest
+++ b/games-fps/doomsday/Manifest
@@ -1 +1,2 @@
 DIST doomsday-2.1.1.tar.gz 47526008 BLAKE2B bf941048d160058273df09d67b09e140c10d141cd73ff56d0f3162045696d81533aba9a8c9ff39fc29530248ee8b2f6dd2b3da76a929fb6263c311e65bcbdd82 SHA512 9df0afa0465ef3c3bb30cccf8ca51596e8e6e5584775a695c9c3278f15bcf7e9f7aaeaa0917f0a1de9fbb1174f2ae83a1ee85fba63bef6e49be957836f1107a3
+DIST doomsday-2.3.0.tar.gz 47838189 BLAKE2B 807204cd5e716f57291e383b6a2f0570c01f3e4a92d575f5e585cf1e793785031edd845399dd6896766b1c77425b2fefd6f5f5913adc5fcb7bb1415b2f906c98 SHA512 46d92743e981804eca3ed6e486c4a748114621053d6269a0c0bc5fa84a591f6556ad3226ab6fb3cbc8642ac2f128885261c0bdc78bb5f2012a25f2cab6413461

diff --git a/games-fps/doomsday/doomsday-2.3.0.ebuild b/games-fps/doomsday/doomsday-2.3.0.ebuild
new file mode 100644
index 00000000000..47cd24259c1
--- /dev/null
+++ b/games-fps/doomsday/doomsday-2.3.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit cmake python-any-r1 qmake-utils readme.gentoo-r1
+
+DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
+HOMEPAGE="https://www.dengine.net"
+SRC_URI="https://downloads.sourceforge.net/project/deng/Doomsday%20Engine/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3+ LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="demo fmod freedoom fluidsynth openal tools"
+
+RDEPEND="
+	dev-qt/qtcore:5=
+	dev-qt/qtgui:5=[-gles2-only]
+	dev-qt/qtnetwork:5=
+	dev-qt/qtopengl:5=
+	dev-qt/qtwidgets:5=
+	dev-qt/qtx11extras:5=
+	media-libs/assimp
+	net-misc/curl
+	sys-libs/zlib
+	fmod? ( media-libs/fmod:1 )
+	fluidsynth? ( media-sound/fluidsynth:= )
+	openal? ( media-libs/openal )
+	tools? ( sys-libs/ncurses:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+	virtual/pkgconfig
+"
+PDEPEND="
+	demo? ( games-fps/doom-data )
+	freedoom? ( games-fps/freedoom )
+"
+
+S="${WORKDIR}/${P}/${PN}"
+
+DOC_CONTENTS="You need to copy Doom, Doom 2, Chex Quest, Heretic, Hexen, HexenDD, or Doom64 wads to a folder of your choice and then tell the game engine where that folder is. This is different to older versions, which had separate launchers for each game and required the files to be in a specific place."
+
+src_prepare() {
+	cmake_src_prepare
+
+	# Fix QA warning for "installing to one or more unexpected paths"
+	sed -e "10s:/texc:/${PF}:" -i tools/texc/CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DDENG_ASSIMP_EMBEDDED="OFF"
+		-DDENG_ENABLE_TOOLS="$(usex tools)"
+		-DPYTHON_EXECUTABLE="${PYTHON}"
+		-DQMAKE=$(qt5_get_bindir)/qmake
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use tools; then
+		mv -v "${ED}"/usr/bin/md2tool{,.${PN}} || die
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
+
+	if use tools; then
+		einfo "In order to prevent a file collision with games-fps/eduke32[tools],"
+		einfo "the utility md2tool has been renamed to md2tool.doomsday."
+	fi
+}


             reply	other threads:[~2021-01-12 15:22 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 15:22 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-08  9:56 [gentoo-commits] repo/gentoo:master commit in: games-fps/doomsday/ James Le Cuirot
2024-03-25  9:21 Sam James
2024-03-25  9:21 Sam James
2023-12-19  5:19 Sam James
2022-09-19  6:42 Michał Górny
2022-06-07 23:07 James Le Cuirot
2022-06-07 23:07 James Le Cuirot
2022-06-03 12:34 Joonas Niilola
2022-02-11 23:16 Ionen Wolkens
2021-03-06  2:34 Sam James
2021-03-06  2:34 Sam James
2021-01-12 15:22 Sam James
2020-11-22  0:12 Andreas Sturmlechner
2020-04-03 20:07 Andreas Sturmlechner
2019-09-15  9:17 Mikle Kolyada
2019-07-22  9:25 Michał Górny
2019-05-04  9:14 James Le Cuirot
2019-05-04  9:14 James Le Cuirot
2019-05-04  9:14 James Le Cuirot
2019-05-04  9:14 James Le Cuirot
2019-05-04  9:14 James Le Cuirot
2019-05-04  9:14 James Le Cuirot
2018-04-29 17:13 Pacho Ramos
2018-04-29 17:13 Pacho Ramos
2018-04-29 17:13 Pacho Ramos
2016-11-03  9:14 Michael Palimaka
2016-11-03  9:14 Michael Palimaka
2016-05-09 18:11 Michael Sterrett
2016-04-20 15:17 Ian Stakenvicius
2016-04-07  3:23 Michael Sterrett
2016-03-06 12:58 Agostino Sarubbo
2016-01-15 19:33 Michael Sterrett
2016-01-14 21:28 Michael Sterrett
2016-01-13  6:29 Michael Sterrett
2016-01-13  6:29 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=1610464925.966ceefb3283f34d7f82fb5a92f5028e1dcc4834.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