1 |
commit: 71c83c6e3b85eeffc8e58e7c85551a57006d8189 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 7 13:39:37 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 7 13:59:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71c83c6e |
7 |
|
8 |
games-engines/devilutionx: drop 1.4.0 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-engines/devilutionx/Manifest | 1 - |
13 |
games-engines/devilutionx/devilutionx-1.4.0.ebuild | 79 ---------------------- |
14 |
.../devilutionx-1.4.0-system-sdl_audiolib.patch | 18 ----- |
15 |
3 files changed, 98 deletions(-) |
16 |
|
17 |
diff --git a/games-engines/devilutionx/Manifest b/games-engines/devilutionx/Manifest |
18 |
index be798b6b8683..c36842a8700d 100644 |
19 |
--- a/games-engines/devilutionx/Manifest |
20 |
+++ b/games-engines/devilutionx/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST devilutionx-1.4.0.tar.xz 19752052 BLAKE2B 3a79e9d88cc2f5623dfd7d4ad2a0a547361cde8d95197be36dc7076e0b56fa1a915c57bf5537f5e4508201c3b5a283ab90d13db93b3836b0f12c6108abf1578a SHA512 9519c0bd52798f35fc986fab867b0005010f089b35200b5d54b7ed94145c2df54270a570cd3b0ff1c260f645d624a145e3581d744b48ae513919eb2258331bcf |
23 |
DIST devilutionx-1.4.1.tar.xz 19679968 BLAKE2B 51ae007d5d1dce25a9af20b98017826534d835c2a74bfcd78cb4fb3c8e86b4e2e55a302e0412cbbcff8f931ad33a2baab806199769660351f31cc49fa91814b6 SHA512 9709600395abfd697bc45757bd2cf3e5cf0e07e2c55c86a48a73e9f52003c274724e26306b4fcb36c2eda0776c51dbab96599c0d14744244c8c037fd5dd14263 |
24 |
|
25 |
diff --git a/games-engines/devilutionx/devilutionx-1.4.0.ebuild b/games-engines/devilutionx/devilutionx-1.4.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index d96c2032f7ce..000000000000 |
28 |
--- a/games-engines/devilutionx/devilutionx-1.4.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,79 +0,0 @@ |
31 |
-# Copyright 1999-2022 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=8 |
35 |
- |
36 |
-inherit cmake xdg |
37 |
- |
38 |
-DESCRIPTION="Diablo engine for modern operating systems" |
39 |
-HOMEPAGE="https://github.com/diasurgical/devilutionX/" |
40 |
-SRC_URI="https://github.com/diasurgical/devilutionX/releases/download/${PV}/devilutionx-src.tar.xz -> ${P}.tar.xz" |
41 |
-S="${WORKDIR}/${PN}-src-${PV}" |
42 |
- |
43 |
-LICENSE="Unlicense CC-BY-4.0 GPL-2+ LGPL-2.1+ MIT OFL-1.1 zerotier? ( BSL-1.1 )" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~amd64 ~x86" |
46 |
-IUSE="debug +sodium test zerotier" |
47 |
-RESTRICT="!test? ( test )" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- app-arch/bzip2:= |
51 |
- dev-libs/libfmt:= |
52 |
- media-libs/libsdl2[haptic,joystick,opengl,video] |
53 |
- media-libs/sdl2-image[png] |
54 |
- sys-libs/zlib:= |
55 |
- media-libs/sdl_audiolib |
56 |
- sodium? ( dev-libs/libsodium:= )" |
57 |
-DEPEND=" |
58 |
- ${RDEPEND} |
59 |
- dev-cpp/asio |
60 |
- test? ( dev-cpp/gtest )" |
61 |
-BDEPEND="sys-devel/gettext" |
62 |
- |
63 |
-PATCHES=( |
64 |
- "${FILESDIR}"/${P}-system-sdl_audiolib.patch |
65 |
-) |
66 |
- |
67 |
-src_prepare() { |
68 |
- cmake_src_prepare |
69 |
- |
70 |
- # use system asio |
71 |
- echo 'add_library(asio INTERFACE)' > 3rdParty/asio/CMakeLists.txt || die |
72 |
-} |
73 |
- |
74 |
-src_configure() { |
75 |
- local mycmakeargs=( |
76 |
- # TODO: unbundle simpleini next version (will use system by default) |
77 |
- -DBUILD_TESTING=$(usex test) |
78 |
- -DCCACHE_PROGRAM=OFF #813768 |
79 |
- -DDEBUG=$(usex debug) |
80 |
- -DDISABLE_LTO=ON # let CFLAGS control this |
81 |
- -DDISABLE_ZERO_TIER=$(usex !zerotier) |
82 |
- -DPACKET_ENCRYPTION=$(usex sodium) |
83 |
- -DPIE=ON |
84 |
- -DVERSION_NUM=${PV} |
85 |
- ) |
86 |
- |
87 |
- cmake_src_configure |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- local DOCS=( Packaging/nix/README.txt docs/*.md ) |
92 |
- cmake_src_install |
93 |
- |
94 |
- rm "${ED}"/usr/share/diasurgical/devilutionx/README.txt || die |
95 |
-} |
96 |
- |
97 |
-pkg_postinst() { |
98 |
- xdg_pkg_postinst |
99 |
- |
100 |
- if [[ ! ${REPLACING_VERSIONS} ]]; then |
101 |
- elog "In order to play the game, you will need to copy the following data file" |
102 |
- elog "from the original game, and optionally the hellfire expansion files:" |
103 |
- elog " - DIABDAT.MPQ" |
104 |
- elog " - hellfire.mpq hfmonk.mpq hfmusic.mpq hfvoice.mpq" |
105 |
- elog "to ~/.local/share/diasurgical/devilution/" |
106 |
- elog |
107 |
- elog "See ${EROOT}/usr/share/doc/${PF}/README.txt* for details." |
108 |
- fi |
109 |
-} |
110 |
|
111 |
diff --git a/games-engines/devilutionx/files/devilutionx-1.4.0-system-sdl_audiolib.patch b/games-engines/devilutionx/files/devilutionx-1.4.0-system-sdl_audiolib.patch |
112 |
deleted file mode 100644 |
113 |
index 26d0b0045022..000000000000 |
114 |
--- a/games-engines/devilutionx/files/devilutionx-1.4.0-system-sdl_audiolib.patch |
115 |
+++ /dev/null |
116 |
@@ -1,18 +0,0 @@ |
117 |
-Short version of upstreamed: |
118 |
-https://github.com/diasurgical/devilutionX/pull/4464 |
119 |
---- a/CMake/Dependencies.cmake |
120 |
-+++ b/CMake/Dependencies.cmake |
121 |
-@@ -118,9 +118,11 @@ |
122 |
- endif() |
123 |
- |
124 |
- if(NOT NOSOUND) |
125 |
-- dependency_options("SDL_audiolib" DEVILUTIONX_SYSTEM_SDL_AUDIOLIB OFF DEVILUTIONX_STATIC_SDL_AUDIOLIB) |
126 |
-+ dependency_options("SDL_audiolib" DEVILUTIONX_SYSTEM_SDL_AUDIOLIB ON DEVILUTIONX_STATIC_SDL_AUDIOLIB) |
127 |
- if(DEVILUTIONX_SYSTEM_SDL_AUDIOLIB) |
128 |
-- find_package(SDL_audiolib REQUIRED) |
129 |
-+ find_package(PkgConfig REQUIRED) |
130 |
-+ pkg_check_modules(SDL_audiolib REQUIRED IMPORTED_TARGET SDL_audiolib) |
131 |
-+ add_library(SDL_audiolib ALIAS PkgConfig::SDL_audiolib) |
132 |
- else() |
133 |
- add_subdirectory(3rdParty/SDL_audiolib) |
134 |
- endif() |