public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/
Date: Tue,  6 Apr 2021 09:25:08 +0000 (UTC)	[thread overview]
Message-ID: <1617701101.d0ab7d6f367e56c254eecb54599ef352e7939bcb.polynomial-c@gentoo> (raw)

commit:     d0ab7d6f367e56c254eecb54599ef352e7939bcb
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 09:21:55 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 09:25:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ab7d6f

games-engines/devilutionx: Bump to version 1.2.0

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 games-engines/devilutionx/Manifest                 |  1 +
 games-engines/devilutionx/devilutionx-1.2.0.ebuild | 67 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/games-engines/devilutionx/Manifest b/games-engines/devilutionx/Manifest
index db8b4caaf6a..79c675779d8 100644
--- a/games-engines/devilutionx/Manifest
+++ b/games-engines/devilutionx/Manifest
@@ -1,2 +1,3 @@
 DIST devilutionx-1.0.3.tar.gz 2010213 BLAKE2B 820917f7587c7afff5272d8dc49fd5dfb6d435be0e43c8f65e0767845bc94e0ae7bb23cddb7c0a7ea4f559e0958cb2eb59ade338334f2c9d481fda4cbcc343d8 SHA512 34840f44d0b72d1f9bc6cab8d1c0cf14414b95b3eff916b397078022e66f96e5aef24365f694da45d5b8729a6b0c876b584039710ceebaec040f1337c218caaa
 DIST devilutionx-1.1.0.tar.gz 2271614 BLAKE2B 8afdffafd86477bdeb62c2c3abb96d35dcccde7f7c44cb5ca5bbd8b46ae5f3998262eae4fa23f5c84a3ffdbcbdfc27cf91dc758cb69bfe24b301959085fbe31e SHA512 341e7f2e74e7af4a7b42054b58b6518c2f286f2fdcb21c5553a15912c044ea08f6c7b07a2079e7e795a5146e7a301789fe32b6fda5ff9fbec0654d886d423b38
+DIST devilutionx-1.2.0.tar.gz 3571940 BLAKE2B 26001a8dc594777dbf6822c41ce89ad08e6cdff5621c04083ede1398cd12d4c4496da91e4cfed674e73c5411b2c569539a37102c4a418d552bb383a71527a4f2 SHA512 30ae94feacb9125345f877981c0e23ccbc3a0db96be6c5b1a402c7c5685b5f60f825c9dcde91dbf344b845c03b0b77358e5c656aac7869b5c450b72457da02c9

diff --git a/games-engines/devilutionx/devilutionx-1.2.0.ebuild b/games-engines/devilutionx/devilutionx-1.2.0.ebuild
new file mode 100644
index 00000000000..6f93a6c2ac0
--- /dev/null
+++ b/games-engines/devilutionx/devilutionx-1.2.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Sometimes build with ninja fails.
+# Please check occasionally if we can revert back to ninja.
+# Latest known issue:
+#
+#CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+DESCRIPTION="Diablo engine for modern operating systems"
+HOMEPAGE="https://github.com/diasurgical/devilutionX"
+if [[ "${PV}" == 9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/diasurgical/devilutionX.git"
+else
+	SRC_URI="https://github.com/diasurgical/devilutionX/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/devilutionX-${PV}"
+fi
+
+LICENSE="public-domain"
+SLOT="0"
+
+IUSE="debug lto"
+
+RDEPEND="
+	dev-libs/libsodium
+	media-fonts/sil-charis
+	media-libs/libsdl2[haptic]
+	media-libs/sdl2-mixer
+	media-libs/sdl2-ttf
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.2.0_pre-no_bundled_font.patch" #704508
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DASAN="OFF"
+		-DDEBUG="$(usex debug)"
+		-DDISABLE_LTO="$(usex !lto)"
+		-DDIST="ON"
+		-DUBSAN="OFF"
+	)
+
+	if [[ "${PV}" != 9999 ]] ; then
+		mycmakeargs+=( -DVERSION_NUM="${PV}" )
+	fi
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	einfo "In order to play the game you need to install the file"
+	einfo "  diabdat.mpq"
+	einfo "from the original game CD into the following directory:"
+	einfo "  \${HOME}/.local/share/diasurgical/devilution/"
+}


             reply	other threads:[~2021-04-06  9:25 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06  9:25 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-14  8:18 [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/ Ionen Wolkens
2025-02-26  8:47 Ionen Wolkens
2025-02-22  3:07 Ionen Wolkens
2024-12-17 19:52 Ionen Wolkens
2024-12-17 19:52 Ionen Wolkens
2024-11-04 16:15 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-02-05  9:15 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2023-09-24  7:02 Ionen Wolkens
2023-08-11  9:42 Ulrich Müller
2023-07-14 21:32 Ionen Wolkens
2023-06-14 13:55 Ionen Wolkens
2022-07-25 23:20 Ionen Wolkens
2022-07-03  4:43 Ionen Wolkens
2022-07-03  4:22 Ionen Wolkens
2022-06-30  2:47 Ionen Wolkens
2022-06-30  2:02 Ionen Wolkens
2022-06-30  2:02 Ionen Wolkens
2022-06-29  8:08 Ionen Wolkens
2021-09-17 19:56 Sam James
2021-09-17 19:56 Sam James
2021-04-13  6:33 Lars Wendler
2021-04-06 10:25 Lars Wendler
2021-04-06  9:25 Lars Wendler
2021-04-06  9:25 Lars Wendler
2021-04-04  7:22 Sam James
2021-03-31 15:47 Lars Wendler
2021-02-25 15:25 Lars Wendler
2021-02-22 13:00 Lars Wendler
2021-01-17 23:20 Lars Wendler
2020-10-12 13:23 Lars Wendler
2020-10-12 13:23 Lars Wendler
2020-10-11  7:24 Lars Wendler
2020-10-10 15:58 Lars Wendler
2020-10-10 15:58 Lars Wendler
2020-10-10 15:58 Lars Wendler
2020-03-23 15:22 Lars Wendler
2020-03-09  9:20 Lars Wendler
2020-01-02 11:49 Lars Wendler
2020-01-02 11:49 Lars Wendler
2020-01-02 11:49 Lars Wendler
2020-01-01 11:59 Lars Wendler
2020-01-01 11:59 Lars Wendler
2019-09-02 11:05 Lars Wendler

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=1617701101.d0ab7d6f367e56c254eecb54599ef352e7939bcb.polynomial-c@gentoo \
    --to=polynomial-c@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