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: Mon, 9 Mar 2020 09:20:46 +0000 (UTC) [thread overview]
Message-ID: <1583745643.238181727f7ad733bb1b56657d85a13c4acadc51.polynomial-c@gentoo> (raw)
commit: 238181727f7ad733bb1b56657d85a13c4acadc51
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 9 09:20:33 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 9 09:20:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23818172
games-engines/devilutionx: Bump to version 1.0.1
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
games-engines/devilutionx/Manifest | 1 +
games-engines/devilutionx/devilutionx-1.0.1.ebuild | 76 ++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/games-engines/devilutionx/Manifest b/games-engines/devilutionx/Manifest
index dac3464a12f..0930937b2ce 100644
--- a/games-engines/devilutionx/Manifest
+++ b/games-engines/devilutionx/Manifest
@@ -1 +1,2 @@
DIST devilutionx-1.0.0.tar.gz 1798349 BLAKE2B f2e49e92d8607974dce25ab4de589f01d5603cec4f96e10e55dbdd55b0352ce46d397c91290812dcd8faaa5794c3ab5b23b922098cab9e44dcaf6d049164f6ae SHA512 65eed32e03051880e2e859984911a76c6aae1853cb57491a04090026d6df9cdadf839a0dbb5433691ed1c83cfa7403c72fede38890d494ffd4eff6bef9030c37
+DIST devilutionx-1.0.1.tar.gz 2005920 BLAKE2B 96441436f86430028ebca51a108758c9980b785db1d79de132730b284037d7bfe9f2e7eb23e49108ac520a37479fd3756b2a7605fbaab0232b38039c20f9ed2f SHA512 8c08db37664f4d9971650675866671411fe0fc00fedf4d2b2db040d48fc07e36def3bd78fa892c2be012d46df9519f28a31fe0b3e14f46e1037476458f60cb6d
diff --git a/games-engines/devilutionx/devilutionx-1.0.1.ebuild b/games-engines/devilutionx/devilutionx-1.0.1.ebuild
new file mode 100644
index 00000000000..b363bc7378a
--- /dev/null
+++ b/games-engines/devilutionx/devilutionx-1.0.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2020 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:
+# https://github.com/diasurgical/devilutionX/issues/490
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake desktop
+
+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
+"
+
+src_prepare() {
+ sed "/PROJECT_VERSION/s|@PROJECT_VERSION@|${PV}|" \
+ -i SourceS/config.h.in || die
+ sed 's/CharisSILB.ttf/CharisSIL-B.ttf/g' \
+ -i SourceX/DiabloUI/fonts.h || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DASAN="OFF"
+ -DDEBUG="$(usex debug)"
+ -DDIST="ON"
+ -DFASTER="OFF"
+ -DLTO="$(usex lto)"
+ -DUBSAN="OFF"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ dobin "${BUILD_DIR}/${PN}"
+
+ newicon -s 32 Packaging/resources/Diablo_32.png ${PN}.png
+ newicon -s 48 Packaging/resources/Diablo_48.png ${PN}.png
+ make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png"
+}
+
+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/"
+ einfo "and make sure it's writeable (chmod u+w)."
+}
next reply other threads:[~2020-03-09 9:20 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 9:20 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-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-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=1583745643.238181727f7ad733bb1b56657d85a13c4acadc51.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