Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/
Date: Sat, 10 Oct 2020 15:58:47
Message-Id: 1602345520.5034b3be0cf12eda01846d9f210ca79bafbe8eaf.polynomial-c@gentoo
1 commit: 5034b3be0cf12eda01846d9f210ca79bafbe8eaf
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 15:54:03 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 15:58:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5034b3be
7
8 games-engines/devilutionx: Removed old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 games-engines/devilutionx/Manifest | 1 -
14 .../devilutionx/devilutionx-1.0.0-r1.ebuild | 76 ----------------------
15 2 files changed, 77 deletions(-)
16
17 diff --git a/games-engines/devilutionx/Manifest b/games-engines/devilutionx/Manifest
18 index 7e238cc664a..26bc86bcb62 100644
19 --- a/games-engines/devilutionx/Manifest
20 +++ b/games-engines/devilutionx/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST devilutionx-1.0.0.tar.gz 1798349 BLAKE2B f2e49e92d8607974dce25ab4de589f01d5603cec4f96e10e55dbdd55b0352ce46d397c91290812dcd8faaa5794c3ab5b23b922098cab9e44dcaf6d049164f6ae SHA512 65eed32e03051880e2e859984911a76c6aae1853cb57491a04090026d6df9cdadf839a0dbb5433691ed1c83cfa7403c72fede38890d494ffd4eff6bef9030c37
23 DIST devilutionx-1.0.1.tar.gz 2005920 BLAKE2B 96441436f86430028ebca51a108758c9980b785db1d79de132730b284037d7bfe9f2e7eb23e49108ac520a37479fd3756b2a7605fbaab0232b38039c20f9ed2f SHA512 8c08db37664f4d9971650675866671411fe0fc00fedf4d2b2db040d48fc07e36def3bd78fa892c2be012d46df9519f28a31fe0b3e14f46e1037476458f60cb6d
24 DIST devilutionx-1.0.2.tar.gz 2010077 BLAKE2B 4e89d20263d2ab31e1fca7e8389f0774f4c97f607f633ffc27d0a1ad225b5a351f508ddc9a875d21b64a07e21098cf520e84388712a12ad6c9639b61b2ebdc07 SHA512 dfa5f08a77988eb9ca244b586ecbb4ed430459d369fc98e7853e293c16a06eca7bdd3abb88fa95dff5bcae6be4fd9c20de92389b4c85446487ff5a79480b88a1
25
26 diff --git a/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild b/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild
27 deleted file mode 100644
28 index b363bc7378a..00000000000
29 --- a/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild
30 +++ /dev/null
31 @@ -1,76 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -# Sometimes build with ninja fails.
38 -# Please check occasionally if we can revert back to ninja.
39 -# Latest known issue:
40 -# https://github.com/diasurgical/devilutionX/issues/490
41 -CMAKE_MAKEFILE_GENERATOR="emake"
42 -
43 -inherit cmake desktop
44 -
45 -DESCRIPTION="Diablo engine for modern operating systems"
46 -HOMEPAGE="https://github.com/diasurgical/devilutionX"
47 -if [[ "${PV}" == 9999 ]] ; then
48 - inherit git-r3
49 - EGIT_REPO_URI="https://github.com/diasurgical/devilutionX.git"
50 -else
51 - SRC_URI="https://github.com/diasurgical/devilutionX/archive/${PV}.tar.gz -> ${P}.tar.gz"
52 - KEYWORDS="~amd64 ~x86"
53 - S="${WORKDIR}/devilutionX-${PV}"
54 -fi
55 -
56 -LICENSE="public-domain"
57 -SLOT="0"
58 -
59 -IUSE="debug lto"
60 -
61 -RDEPEND="
62 - dev-libs/libsodium
63 - media-fonts/sil-charis
64 - media-libs/libsdl2[haptic]
65 - media-libs/sdl2-mixer
66 - media-libs/sdl2-ttf
67 -"
68 -DEPEND="${RDEPEND}"
69 -BDEPEND="
70 - virtual/pkgconfig
71 -"
72 -
73 -src_prepare() {
74 - sed "/PROJECT_VERSION/s|@PROJECT_VERSION@|${PV}|" \
75 - -i SourceS/config.h.in || die
76 - sed 's/CharisSILB.ttf/CharisSIL-B.ttf/g' \
77 - -i SourceX/DiabloUI/fonts.h || die
78 - cmake_src_prepare
79 -}
80 -
81 -src_configure() {
82 - local mycmakeargs=(
83 - -DASAN="OFF"
84 - -DDEBUG="$(usex debug)"
85 - -DDIST="ON"
86 - -DFASTER="OFF"
87 - -DLTO="$(usex lto)"
88 - -DUBSAN="OFF"
89 - )
90 - cmake_src_configure
91 -}
92 -
93 -src_install() {
94 - dobin "${BUILD_DIR}/${PN}"
95 -
96 - newicon -s 32 Packaging/resources/Diablo_32.png ${PN}.png
97 - newicon -s 48 Packaging/resources/Diablo_48.png ${PN}.png
98 - make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png"
99 -}
100 -
101 -pkg_postinst() {
102 - einfo "In order to play the game you need to install the file"
103 - einfo " diabdat.mpq"
104 - einfo "from the original game CD into the following directory:"
105 - einfo " \${HOME}/.local/share/diasurgical/devilution/"
106 - einfo "and make sure it's writeable (chmod u+w)."
107 -}