1 |
commit: 7a764027a90d303368bccecd6f703b0b6543fbea |
2 |
Author: Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja> |
3 |
AuthorDate: Sat Jan 28 10:03:22 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 05:58:23 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a764027 |
7 |
|
8 |
games-fps/alephone: add 20230119, drop 20221126 |
9 |
|
10 |
Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/29314 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
games-fps/alephone/Manifest | 2 +- |
15 |
...ne-20221126.ebuild => alephone-20230119.ebuild} | 4 +- |
16 |
games-fps/alephone/alephone-99999999.ebuild | 2 +- |
17 |
.../alephone/files/alephone-20230119-c99.patch | 99 ++++++++++++++++++++++ |
18 |
4 files changed, 104 insertions(+), 3 deletions(-) |
19 |
|
20 |
diff --git a/games-fps/alephone/Manifest b/games-fps/alephone/Manifest |
21 |
index e0f3565ec87f..24554b54aee2 100644 |
22 |
--- a/games-fps/alephone/Manifest |
23 |
+++ b/games-fps/alephone/Manifest |
24 |
@@ -1 +1 @@ |
25 |
-DIST release-20221126.tar.gz 6968670 BLAKE2B d4437f845fd9cc1c6f99620e3ff5b2e5e3fabda82622343589246999ee8c654f4762a0a2e13fc9e595ec34d1d1db7a114b4f8436967da559737af8ca86bfd559 SHA512 ca6acc4de03b65c27829c57bfabd7f6e49e78111c94aac29cf03aeb8606c9c6d8e56a477ebfbbd0b6079b2d8ed0946717883de27855532917ac4758ab43d108d |
26 |
+DIST release-20230119.tar.gz 6968352 BLAKE2B 06bc87b4c2bc6a311ee90f854f7c35fb4da2862c417b192a4364dbd38cac9c0c02c4439abf07e6bc7c2d68899fae4dd938464896039943f1fa6ae5a4a644260f SHA512 d1ede53c20a24b74f5525e2e8c09fdbbb05fa0262bbd8f6c1abe6c3698cdfd1dea2436487ec8f64c79a7e1f150367e40ea48838f8a42031b45c0b1498a0e77d1 |
27 |
|
28 |
diff --git a/games-fps/alephone/alephone-20221126.ebuild b/games-fps/alephone/alephone-20230119.ebuild |
29 |
similarity index 96% |
30 |
rename from games-fps/alephone/alephone-20221126.ebuild |
31 |
rename to games-fps/alephone/alephone-20230119.ebuild |
32 |
index 70b887308564..67bf15ff6d89 100644 |
33 |
--- a/games-fps/alephone/alephone-20221126.ebuild |
34 |
+++ b/games-fps/alephone/alephone-20230119.ebuild |
35 |
@@ -1,4 +1,4 @@ |
36 |
-# Copyright 1999-2022 Gentoo Authors |
37 |
+# Copyright 1999-2023 Gentoo Authors |
38 |
# Distributed under the terms of the GNU General Public License v2 |
39 |
|
40 |
EAPI=8 |
41 |
@@ -57,6 +57,8 @@ BDEPEND=" |
42 |
virtual/pkgconfig |
43 |
" |
44 |
|
45 |
+PATCHES=( "${FILESDIR}/${P}-c99.patch" ) |
46 |
+ |
47 |
src_prepare() { |
48 |
default |
49 |
eautoreconf |
50 |
|
51 |
diff --git a/games-fps/alephone/alephone-99999999.ebuild b/games-fps/alephone/alephone-99999999.ebuild |
52 |
index 70b887308564..15a4810f346c 100644 |
53 |
--- a/games-fps/alephone/alephone-99999999.ebuild |
54 |
+++ b/games-fps/alephone/alephone-99999999.ebuild |
55 |
@@ -1,4 +1,4 @@ |
56 |
-# Copyright 1999-2022 Gentoo Authors |
57 |
+# Copyright 1999-2023 Gentoo Authors |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
|
60 |
EAPI=8 |
61 |
|
62 |
diff --git a/games-fps/alephone/files/alephone-20230119-c99.patch b/games-fps/alephone/files/alephone-20230119-c99.patch |
63 |
new file mode 100644 |
64 |
index 000000000000..7340e1fb2be0 |
65 |
--- /dev/null |
66 |
+++ b/games-fps/alephone/files/alephone-20230119-c99.patch |
67 |
@@ -0,0 +1,99 @@ |
68 |
+https://github.com/Aleph-One-Marathon/alephone/pull/405 |
69 |
+From: Matt Jolly <Matt.Jolly@××××××××.ninja> |
70 |
+Date: Sat, 28 Jan 2023 18:03:51 +1100 |
71 |
+Subject: [PATCH] use designated initialisers for SDL_ffmpegCodec* |
72 |
+ |
73 |
+These were failing to compile under clang16 as the old `audioBitrate` |
74 |
+was being jammed into `crf`, causing an incompatible integer conversion. |
75 |
+--- a/Source_Files/FFmpeg/SDL_ffmpeg.c |
76 |
++++ b/Source_Files/FFmpeg/SDL_ffmpeg.c |
77 |
+@@ -155,41 +155,55 @@ int SDL_ffmpegDecodeVideoFrame( SDL_ffmpegFile*, AVPacket*, SDL_ffmpegVideoFrame |
78 |
+ |
79 |
+ const SDL_ffmpegCodec SDL_ffmpegCodecAUTO = |
80 |
+ { |
81 |
+- -1, |
82 |
+- 720, 576, |
83 |
+- 1, 25, |
84 |
+- 6000000, |
85 |
+- -1, -1, |
86 |
+- -1, |
87 |
+- 2, 48000, |
88 |
+- 192000, |
89 |
+- -1, -1 |
90 |
++ .videoCodecID=-1, |
91 |
++ .width=720, |
92 |
++ .height=576, |
93 |
++ .framerateNum=1, |
94 |
++ .framerateDen=25, |
95 |
++ .videoBitrate=6000000, |
96 |
++ .videoMinRate=-1, |
97 |
++ .videoMaxRate=-1, |
98 |
++ .audioCodecID=-1, |
99 |
++ .channels=2, |
100 |
++ .sampleRate=48000, |
101 |
++ .cpuCount=-1, |
102 |
++ .audioQuality=-1 |
103 |
+ }; |
104 |
+ |
105 |
++ |
106 |
++ |
107 |
+ const SDL_ffmpegCodec SDL_ffmpegCodecPALDVD = |
108 |
+ { |
109 |
+- AV_CODEC_ID_MPEG2VIDEO, |
110 |
+- 720, 576, |
111 |
+- 1, 25, |
112 |
+- 6000000, |
113 |
+- -1, -1, |
114 |
+- AV_CODEC_ID_MP2, |
115 |
+- 2, 48000, |
116 |
+- 192000, |
117 |
+- -1, -1 |
118 |
++ .videoCodecID=AV_CODEC_ID_MPEG2VIDEO, |
119 |
++ .width=720, |
120 |
++ .height=576, |
121 |
++ .framerateNum=1, |
122 |
++ .framerateDen=25, |
123 |
++ .videoBitrate=6000000, |
124 |
++ .videoMinRate=-1, |
125 |
++ .videoMaxRate=-1, |
126 |
++ .audioCodecID=AV_CODEC_ID_MP2, |
127 |
++ .channels=2, |
128 |
++ .sampleRate=48000, |
129 |
++ .cpuCount=-1, |
130 |
++ .audioQuality=-1 |
131 |
+ }; |
132 |
+ |
133 |
+ const SDL_ffmpegCodec SDL_ffmpegCodecPALDV = |
134 |
+ { |
135 |
+- AV_CODEC_ID_DVVIDEO, |
136 |
+- 720, 576, |
137 |
+- 1, 25, |
138 |
+- 6553600, |
139 |
+- -1, -1, |
140 |
+- AV_CODEC_ID_DVAUDIO, |
141 |
+- 2, 48000, |
142 |
+- 256000, |
143 |
+- -1, -1 |
144 |
++ .videoCodecID=AV_CODEC_ID_DVVIDEO, |
145 |
++ .width=720, |
146 |
++ .height=576, |
147 |
++ .framerateNum=1, |
148 |
++ .framerateDen=25, |
149 |
++ .videoBitrate=6553600, |
150 |
++ .videoMinRate=-1, |
151 |
++ .videoMaxRate=-1, |
152 |
++ .audioCodecID=AV_CODEC_ID_DVAUDIO, |
153 |
++ .channels=2, |
154 |
++ .sampleRate=48000, |
155 |
++ .cpuCount=-1, |
156 |
++ .audioQuality=-1 |
157 |
+ }; |
158 |
+ |
159 |
+ SDL_ffmpegFile* SDL_ffmpegCreateFile() |
160 |
+@@ -2269,4 +2283,4 @@ int SDL_ffmpegDecodeVideoFrame( SDL_ffmpegFile* file, AVPacket *pack, SDL_ffmpeg |
161 |
+ /** |
162 |
+ \endcond |
163 |
+ */ |
164 |
+-#endif |
165 |
+\ No newline at end of file |
166 |
++#endif |