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 @@ gstreamer-1.0-plugins-bad - Joshua Strobl - joshua@streambits.io + Martin Reboredo + yakoyoku@gmail.com LGPL-2.0-or-later multimedia.gstreamer @@ -211,7 +211,7 @@ programming.devel - gstreamer-1.0-plugins-bad + gstreamer-1.0-plugins-bad /usr/include/gstreamer-1.0/gst/audio/audio-bad-prelude.h @@ -297,12 +297,12 @@ - - 2020-06-15 + + 2020-08-13 1.16.2 Packaging update - Joshua Strobl - joshua@streambits.io + Martin Reboredo + yakoyoku@gmail.com \ No newline at end of file