Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/devilutionx/
Date: Thu, 30 Jun 2022 02:03:05
Message-Id: 1656554395.18a27f0913413b84af17431c7e7f27dde3456144.ionen@gentoo
1 commit: 18a27f0913413b84af17431c7e7f27dde3456144
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 01:45:16 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 01:59:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a27f09
7
8 games-engines/devilutionx: drop broken live ebuild
9
10 This needs additional tools to generate assets and fetching/moving
11 sources if not from a release tarball (formerly was kept in git,
12 but not anymore) and would rather not maintain that.
13
14 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
15
16 games-engines/devilutionx/devilutionx-9999.ebuild | 72 -----------------------
17 1 file changed, 72 deletions(-)
18
19 diff --git a/games-engines/devilutionx/devilutionx-9999.ebuild b/games-engines/devilutionx/devilutionx-9999.ebuild
20 deleted file mode 100644
21 index 2a2abba3eba0..000000000000
22 --- a/games-engines/devilutionx/devilutionx-9999.ebuild
23 +++ /dev/null
24 @@ -1,72 +0,0 @@
25 -# Copyright 1999-2022 Gentoo Authors
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=7
29 -
30 -# Sometimes build with ninja fails.
31 -# Please check occasionally if we can revert back to ninja.
32 -# Latest known issue:
33 -#
34 -#CMAKE_MAKEFILE_GENERATOR="emake"
35 -
36 -inherit cmake
37 -
38 -DESCRIPTION="Diablo engine for modern operating systems"
39 -HOMEPAGE="https://github.com/diasurgical/devilutionX"
40 -if [[ "${PV}" == 9999 ]] ; then
41 - inherit git-r3
42 - EGIT_REPO_URI="https://github.com/diasurgical/devilutionX.git"
43 -else
44 - SRC_URI="https://github.com/diasurgical/devilutionX/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 - KEYWORDS="~amd64 ~x86"
46 - S="${WORKDIR}/devilutionX-${PV}"
47 -fi
48 -
49 -LICENSE="public-domain"
50 -SLOT="0"
51 -
52 -IUSE="debug lto"
53 -
54 -RDEPEND="
55 - dev-libs/libsodium:=
56 - media-fonts/sil-charis
57 - media-libs/libsdl2[haptic]
58 - media-libs/sdl2-mixer
59 - media-libs/sdl2-ttf
60 -"
61 -DEPEND="${RDEPEND}"
62 -BDEPEND="
63 - virtual/pkgconfig
64 -"
65 -
66 -PATCHES=(
67 - "${FILESDIR}/${PN}-1.2.0_pre-no_bundled_font.patch" #704508
68 - "${FILESDIR}/${PN}-1.2.1-disable-ccache.patch" #813768
69 -)
70 -
71 -DOCS=( docs/CHANGELOG.md )
72 -
73 -src_configure() {
74 - local mycmakeargs=(
75 - -DASAN="OFF"
76 - -DDEBUG="$(usex debug)"
77 - -DDISABLE_LTO="$(usex !lto)"
78 - # Must be off to force dynamic linking.
79 - # See bug #791031
80 - -DDIST="OFF"
81 - -DUBSAN="OFF"
82 - )
83 -
84 - if [[ "${PV}" != 9999 ]] ; then
85 - mycmakeargs+=( -DVERSION_NUM="${PV}" )
86 - fi
87 -
88 - cmake_src_configure
89 -}
90 -
91 -pkg_postinst() {
92 - einfo "In order to play the game you need to install the file"
93 - einfo " diabdat.mpq"
94 - einfo "from the original game CD into the following directory:"
95 - einfo " \${HOME}/.local/share/diasurgical/devilution/"
96 -}