summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-02-22 00:13:21 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-02-22 01:14:30 -0500
commit6b1b9a168bfe8e202e7722f10ff855aa276840ff (patch)
treeedb6a7ae707badb324697abfe31b0473e266b87f /games-engines
parentgames-emulation/mgba: drop 0.10.2-r1 (diff)
downloadgentoo-6b1b9a168bfe8e202e7722f10ff855aa276840ff.tar.gz
gentoo-6b1b9a168bfe8e202e7722f10ff855aa276840ff.tar.bz2
gentoo-6b1b9a168bfe8e202e7722f10ff855aa276840ff.zip
games-engines/devilutionx: drop 1.5.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/devilutionx/Manifest1
-rw-r--r--games-engines/devilutionx/devilutionx-1.5.1.ebuild88
2 files changed, 0 insertions, 89 deletions
diff --git a/games-engines/devilutionx/Manifest b/games-engines/devilutionx/Manifest
index d24cec6bdc4f..511b29de8cd0 100644
--- a/games-engines/devilutionx/Manifest
+++ b/games-engines/devilutionx/Manifest
@@ -1,2 +1 @@
-DIST devilutionx-1.5.1.tar.xz 21971268 BLAKE2B fdcbfad36ded01ca40643d114ffd49b300ccf98b11415cbc396f226d42aa315502319e94e9075a2308f1f003db9611d1232170564f30cc3f09cb4b4db7f82b35 SHA512 c712c8215947a117777313bfe24c8b24e8efa702a211e67bee1ae7276176be782394dc32f1cc4509e1539fdca8b1181884f5bc9dc4cf46890f4c57a378fb5d3b
DIST devilutionx-1.5.2.tar.xz 21968848 BLAKE2B 5a8c280f262e2d0f47ee5978cfc858ea62481eac838ad691996f359f1c4889499e4c78b5e6a1f2dc998cf0fc89ebbdf79296a25adb411e30e9248cce1b07d3a8 SHA512 b7fd5814c8671e439d4349297cfda0d89eb1f7a0945ec11bdf7a83637371664c9c39c036249e1650911397111e1b5d9e931f221ffd2d4a1f9e80d5ca58357dcf
diff --git a/games-engines/devilutionx/devilutionx-1.5.1.ebuild b/games-engines/devilutionx/devilutionx-1.5.1.ebuild
deleted file mode 100644
index 1ad3e2aafedd..000000000000
--- a/games-engines/devilutionx/devilutionx-1.5.1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg
-
-DESCRIPTION="Diablo engine for modern operating systems"
-HOMEPAGE="https://github.com/diasurgical/devilutionX/"
-SRC_URI="
- https://github.com/diasurgical/devilutionX/releases/download/${PV}/devilutionx-src.tar.xz
- -> ${P}.tar.xz
-"
-S="${WORKDIR}/${PN}-src-${PV}"
-
-LICENSE="Unlicense CC-BY-4.0 GPL-2+ LGPL-2.1+ MIT OFL-1.1 zerotier? ( BUSL-1.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug +sodium test zerotier"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- app-arch/bzip2:=
- dev-libs/libfmt:=
- media-libs/libsdl2[haptic,joystick,opengl,video]
- media-libs/sdl2-image[png]
- sys-libs/zlib:=
- media-libs/sdl_audiolib
- sodium? ( dev-libs/libsodium:= )
-"
-DEPEND="
- ${RDEPEND}
- dev-cpp/asio
- dev-cpp/simpleini
- test? ( dev-cpp/gtest )
-"
-BDEPEND="sys-devel/gettext"
-
-src_prepare() {
- cmake_src_prepare
-
- # use system asio
- echo 'add_library(asio INTERFACE)' > 3rdParty/asio/CMakeLists.txt || die
-
- # ensure system copies are used
- rm -r dist/{asio,simpleini,sdl_audiolib}-src || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_TESTING=$(usex test)
- -DCCACHE_PROGRAM=no #813768
- -DDEBUG=$(usex debug)
- -DDISABLE_LTO=yes # let CFLAGS control this
- -DDISABLE_ZERO_TIER=$(usex !zerotier)
- -DPACKET_ENCRYPTION=$(usex sodium)
- -DPIE=yes
- -DFETCHCONTENT_FULLY_DISCONNECTED=yes
- )
-
- cmake_src_configure
-}
-
-src_test() {
- # timedemo tests only pass when game assets are available
- cmake_src_test -E Timedemo.
-}
-
-src_install() {
- local DOCS=( Packaging/nix/README.txt docs/*.md )
- cmake_src_install
-
- rm "${ED}"/usr/share/diasurgical/devilutionx/README.txt || die
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if [[ ! ${REPLACING_VERSIONS} ]]; then
- elog "In order to play the game, you will need to copy the following data file"
- elog "from the original game, and optionally the hellfire expansion files:"
- elog " - DIABDAT.MPQ"
- elog " - hellfire.mpq hfmonk.mpq hfmusic.mpq hfvoice.mpq"
- elog "to ~/.local/share/diasurgical/devilution/"
- elog
- elog "See ${EROOT}/usr/share/doc/${PF}/README.txt* for details."
- fi
-}