Page MenuHomeSolus

D9438.id22805.diff
No OneTemporary

D9438.id22805.diff

diff --git a/files/permit-compilation-with-vulkan-1.2.140.patch b/files/permit-compilation-with-vulkan-1.2.140.patch
new file mode 100644
--- /dev/null
+++ b/files/permit-compilation-with-vulkan-1.2.140.patch
@@ -0,0 +1,33 @@
+--- a/ext/vulkan/vkerror.c
++++ b/ext/vulkan/vkerror.c
+@@ -27,7 +27,7 @@
+ #include "gstvkerror.h"
+
+ /* *INDENT-OFF* */
+-static const struct
++static const struct
+ {
+ VkResult result;
+ const char *str;
+@@ -63,8 +63,6 @@ _vk_result_to_string (VkResult result)
+
+ if (result >= 0)
+ return NULL;
+- if (result < VK_RESULT_BEGIN_RANGE)
+- return "Unknown Error";
+
+ for (i = 0; i < G_N_ELEMENTS (vk_result_string_map); i++) {
+ if (result == vk_result_string_map[i].result)
+@@ -87,8 +85,13 @@ gst_vulkan_error_to_g_error (VkResult result, GError ** error,
+ return result;
+
+ result_str = _vk_result_to_string (result);
+- if (result_str == NULL)
+- return result;
++ if (result_str == NULL) {
++ if (result < 0) {
++ result_str = "Unknown";
++ } else {
++ return result;
++ }
++ }
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,6 +1,6 @@
name : gstreamer-1.0-plugins-bad
version : 1.16.2
-release : 62
+release : 63
source :
- https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.16.2.tar.xz : f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74
license : LGPL-2.0-or-later
@@ -58,6 +58,7 @@
- ladspa-devel
- vulkan-headers
setup : |
+ %patch -p1 < $pkgfiles/permit-compilation-with-vulkan-1.2.140.patch
%meson_configure -D package-name="GStreamer ${version} Solus" \
-D package-origin="https://getsol.us"
build : |
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,8 +2,8 @@
<Source>
<Name>gstreamer-1.0-plugins-bad</Name>
<Packager>
- <Name>Joshua Strobl</Name>
- <Email>joshua@streambits.io</Email>
+ <Name>Martin Reboredo</Name>
+ <Email>yakoyoku@gmail.com</Email>
</Packager>
<License>LGPL-2.0-or-later</License>
<PartOf>multimedia.gstreamer</PartOf>
@@ -211,7 +211,7 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
- <Dependency release="62">gstreamer-1.0-plugins-bad</Dependency>
+ <Dependency release="63">gstreamer-1.0-plugins-bad</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/gstreamer-1.0/gst/audio/audio-bad-prelude.h</Path>
@@ -297,12 +297,12 @@
</Files>
</Package>
<History>
- <Update release="62">
- <Date>2020-06-15</Date>
+ <Update release="63">
+ <Date>2020-08-13</Date>
<Version>1.16.2</Version>
<Comment>Packaging update</Comment>
- <Name>Joshua Strobl</Name>
- <Email>joshua@streambits.io</Email>
+ <Name>Martin Reboredo</Name>
+ <Email>yakoyoku@gmail.com</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 11, 6:45 PM (2 h, 27 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5813176
Default Alt Text
D9438.id22805.diff (3 KB)

Event Timeline