1 |
commit: 3e0f2e5a9cb91658fc108caf570185166c0b06c5 |
2 |
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 18 04:37:43 2022 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 19 09:45:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0f2e5a |
7 |
|
8 |
games-fps/prboom-plus: Version bump to 2.6.2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/833587 |
11 |
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/24243 |
13 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
14 |
|
15 |
games-fps/prboom-plus/Manifest | 1 + |
16 |
...e-overriding-of-the-documentation-install.patch | 27 +++++++++ |
17 |
games-fps/prboom-plus/prboom-plus-2.6.2.ebuild | 66 ++++++++++++++++++++++ |
18 |
3 files changed, 94 insertions(+) |
19 |
|
20 |
diff --git a/games-fps/prboom-plus/Manifest b/games-fps/prboom-plus/Manifest |
21 |
index 11f61226eb91..5fe0fab49db5 100644 |
22 |
--- a/games-fps/prboom-plus/Manifest |
23 |
+++ b/games-fps/prboom-plus/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST prboom-plus-2.6.1.tar.gz 1555792 BLAKE2B accb919039b966952340a18b3a37b9c2401a20c1f9562829ba531bf4dafc5e876d7d1212e9ba58886c7469a86b3170c48973cbd8af8ab03d1f2d685813c39607 SHA512 6ae628a453930d4fe3901d186a7c450276d023db6b38e678463f52d463a697819cea1022510030f7405bee8244c3dec04d00741fee8de839775e6e0965f0df39 |
26 |
+DIST prboom-plus-2.6.2.tar.gz 1557494 BLAKE2B 1ce63a893ffa6cb0e04fa3bcb34a06fdef47e2d6886f88bb7df9407f9342c81ddee6a245c15b614c15535fbfd889633f63f4532196b7ae46fd3ce32d20dda559 SHA512 7005fa55bdbfffa1b6b24ff470f5e1962e89367eaa28b23e95ebde0d1385dbe14e1c0f2d67d8ebefb1adfeeca8d551ec2b7b04a23a6af3a0f708b36da09613b3 |
27 |
|
28 |
diff --git a/games-fps/prboom-plus/files/prboom-plus-2.6.2-Revert-force-overriding-of-the-documentation-install.patch b/games-fps/prboom-plus/files/prboom-plus-2.6.2-Revert-force-overriding-of-the-documentation-install.patch |
29 |
new file mode 100644 |
30 |
index 000000000000..856786ccd938 |
31 |
--- /dev/null |
32 |
+++ b/games-fps/prboom-plus/files/prboom-plus-2.6.2-Revert-force-overriding-of-the-documentation-install.patch |
33 |
@@ -0,0 +1,27 @@ |
34 |
+From 395fd2519f9f855b872fc59884cf88f643386a73 Mon Sep 17 00:00:00 2001 |
35 |
+From: William Breathitt Gray <vilhelm.gray@×××××.com> |
36 |
+Date: Fri, 18 Feb 2022 13:54:35 +0900 |
37 |
+Subject: [PATCH] Revert "force overriding of the documentation installation |
38 |
+ directory" |
39 |
+ |
40 |
+This reverts commit daa454465c80231762f66aa2fa2794b547bbaa55. |
41 |
+--- |
42 |
+ prboom2/CMakeLists.txt | 2 +- |
43 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
44 |
+ |
45 |
+diff --git a/prboom2/CMakeLists.txt b/prboom2/CMakeLists.txt |
46 |
+index b5f92c87..18152ea0 100644 |
47 |
+--- a/prboom2/CMakeLists.txt |
48 |
++++ b/prboom2/CMakeLists.txt |
49 |
+@@ -38,7 +38,7 @@ set(PACKAGE_TARNAME "prboom-plus") |
50 |
+ set(PACKAGE_VERSION "${PROJECT_VERSION}") |
51 |
+ set(PACKAGE_HOMEPAGE "${PROJECT_HOMEPAGE_URL}") |
52 |
+ set(PACKAGE_STRING "${PROJECT_NAME} ${PROJECT_VERSION}") |
53 |
+-set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_TARNAME}" CACHE PATH "" FORCE) |
54 |
++set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PACKAGE_TARNAME}" CACHE PATH "") |
55 |
+ |
56 |
+ include(CheckSymbolExists) |
57 |
+ |
58 |
+-- |
59 |
+2.35.1 |
60 |
+ |
61 |
|
62 |
diff --git a/games-fps/prboom-plus/prboom-plus-2.6.2.ebuild b/games-fps/prboom-plus/prboom-plus-2.6.2.ebuild |
63 |
new file mode 100644 |
64 |
index 000000000000..69c554f17f1e |
65 |
--- /dev/null |
66 |
+++ b/games-fps/prboom-plus/prboom-plus-2.6.2.ebuild |
67 |
@@ -0,0 +1,66 @@ |
68 |
+# Copyright 2019-2022 Gentoo Authors |
69 |
+# Distributed under the terms of the GNU General Public License v2 |
70 |
+ |
71 |
+EAPI=8 |
72 |
+ |
73 |
+inherit cmake desktop xdg |
74 |
+ |
75 |
+DESCRIPTION="An enhanced clone of the classic first-person shooter Doom" |
76 |
+HOMEPAGE="https://github.com/coelckers/prboom-plus/" |
77 |
+SRC_URI="http://deb.debian.org/debian/pool/main/p/prboom-plus/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz" |
78 |
+ |
79 |
+LICENSE="GPL-2+ GPL-3+ BSD BSD-2 BSD-with-disclosure CC-BY-3.0 CC0-1.0 LGPL-2.1+ MIT public-domain" |
80 |
+SLOT="0" |
81 |
+KEYWORDS="~amd64 ~x86" |
82 |
+IUSE="alsa dumb fluidsynth mad net +opengl +pcre portmidi sdl2-image +sdl2-mixer server vorbis zlib" |
83 |
+REQUIRED_USE="server? ( net )" |
84 |
+ |
85 |
+DEPEND=" |
86 |
+ media-libs/libsdl2[opengl?,joystick,sound,video] |
87 |
+ alsa? ( media-libs/alsa-lib:= ) |
88 |
+ dumb? ( media-libs/dumb:= ) |
89 |
+ fluidsynth? ( media-sound/fluidsynth:= ) |
90 |
+ mad? ( media-libs/libmad ) |
91 |
+ net? ( media-libs/sdl2-net ) |
92 |
+ pcre? ( dev-libs/libpcre:3 ) |
93 |
+ portmidi? ( media-libs/portmidi ) |
94 |
+ sdl2-image? ( media-libs/sdl2-image ) |
95 |
+ sdl2-mixer? ( media-libs/sdl2-mixer[midi] ) |
96 |
+ vorbis? ( media-libs/libvorbis ) |
97 |
+ zlib? ( sys-libs/zlib )" |
98 |
+RDEPEND="${DEPEND}" |
99 |
+ |
100 |
+S="${WORKDIR}/${P}/prboom2" |
101 |
+ |
102 |
+src_prepare() { |
103 |
+ eapply -p2 "${FILESDIR}/${P}-Revert-force-overriding-of-the-documentation-install.patch" |
104 |
+ cmake_src_prepare |
105 |
+} |
106 |
+ |
107 |
+src_configure() { |
108 |
+ local mycmakeargs=( |
109 |
+ -DBUILD_GL="$(usex opengl)" |
110 |
+ -DWITH_IMAGE="$(usex sdl2-image)" |
111 |
+ -DWITH_MIXER="$(usex sdl2-mixer)" |
112 |
+ -DWITH_NET="$(usex net)" |
113 |
+ -DWITH_PCRE="$(usex pcre)" |
114 |
+ -DWITH_ZLIB="$(usex zlib)" |
115 |
+ -DWITH_MAD="$(usex mad)" |
116 |
+ -DWITH_FLUIDSYNTH="$(usex fluidsynth)" |
117 |
+ -DWITH_DUMB="$(usex dumb)" |
118 |
+ -DWITH_VORBISFILE="$(usex vorbis)" |
119 |
+ -DWITH_PORTMIDI="$(usex portmidi)" |
120 |
+ -DWITH_ALSA="$(usex alsa)" |
121 |
+ -DDOOMWADDIR="${EPREFIX}/usr/share/doom" |
122 |
+ -DPRBOOMDATADIR="${EPREFIX}/usr/share/${PF}" |
123 |
+ -DWAD_DATA_PATH="${EPREFIX}/usr/share/doom" |
124 |
+ -DBUILD_SERVER="$(usex server)" |
125 |
+ ) |
126 |
+ cmake_src_configure |
127 |
+} |
128 |
+ |
129 |
+src_install() { |
130 |
+ doicon -s scalable ICONS/${PN}.svg |
131 |
+ domenu ICONS/${PN}.desktop |
132 |
+ cmake_src_install |
133 |
+} |