diff --git a/12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch b/12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch new file mode 100644 index 0000000..cd5eec3 --- /dev/null +++ b/12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch @@ -0,0 +1,31 @@ +From 12509c0f1ee8c22ae163017f0a5e7b8a9d983a17 Mon Sep 17 00:00:00 2001 +From: Nicolas Chauvet +Date: Tue, 29 Jul 2025 11:42:35 +0200 +Subject: [PATCH] vulkan/utils_gen: fix for python 3.14 + +Python 3.14+ has added more type checking. This patch fixes usage + +Fixes: https://github.com/haasn/libplacebo/issues/335 + +Signed-off-by: Nicolas Chauvet +--- + src/vulkan/utils_gen.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/vulkan/utils_gen.py b/src/vulkan/utils_gen.py +index 9a97d35f3..9b803d82b 100644 +--- a/src/vulkan/utils_gen.py ++++ b/src/vulkan/utils_gen.py +@@ -202,7 +202,8 @@ if __name__ == '__main__': + if not xmlfile or xmlfile == '': + xmlfile = find_registry_xml(datadir) + +- registry = VkXML(ET.parse(xmlfile)) ++ tree = ET.parse(xmlfile) ++ registry = VkXML(tree.getroot()) + with open(outfile, 'w') as f: + f.write(TEMPLATE.render( + vkresults = get_vkenum(registry, 'VkResult'), +-- +GitLab + diff --git a/com.github.KRTirtho.Spotube.yml b/com.github.KRTirtho.Spotube.yml index b5a231a..16c31b7 100644 --- a/com.github.KRTirtho.Spotube.yml +++ b/com.github.KRTirtho.Spotube.yml @@ -1,16 +1,9 @@ # yaml-language-server: $schema=https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json app-id: com.github.KRTirtho.Spotube runtime: org.gnome.Platform -runtime-version: "48" +runtime-version: "49" sdk: org.gnome.Sdk command: spotube -add-extensions: - org.freedesktop.Platform.ffmpeg-full: - version: '24.08' - directory: lib/ffmpeg - add-ld-path: . -cleanup-commands: - - mkdir -p ${FLATPAK_DEST}/lib/ffmpeg finish-args: - --socket=fallback-x11 - --socket=wayland @@ -29,7 +22,6 @@ finish-args: - --own-name=org.mpris.MediaPlayer2.spotube.* modules: - shared-modules/libappindicator/libappindicator-gtk3-12.10.json - - shared-modules/libsecret/libsecret.json - name: libnotify buildsystem: meson config-opts: @@ -99,8 +91,8 @@ modules: - -Ddemos=False sources: - type: archive - url: https://code.videolan.org/videolan/libplacebo/-/archive/v7.349.0/libplacebo-v7.349.0.tar.gz - sha256: 79120e685a1836344b51b13b6a5661622486a84e4d4a35f6c8d01679a20fbc86 + url: https://code.videolan.org/videolan/libplacebo/-/archive/v7.351.0/libplacebo-v7.351.0.tar.gz + sha256: 4efe1c8d4da3c61295eb5fdfa50e6037409d8425eb3c15dd86788679c4ce59ee x-checker-data: type: anitya project-id: 20101 @@ -122,6 +114,8 @@ modules: type: anitya project-id: 300234 url-template: https://github.com/Dav1dde/glad/archive/refs/tags/v$version.tar.gz + - type: patch + path: 12509c0f1ee8c22ae163017f0a5e7b8a9d983a17.patch - name: libass config-opts: diff --git a/shared-modules b/shared-modules index 2743615..137a4f4 160000 --- a/shared-modules +++ b/shared-modules @@ -1 +1 @@ -Subproject commit 274361549c3af53aff26d56df26bd7b77fa4f5e4 +Subproject commit 137a4f488c7fc4cca531a379076f78a8e6f7c22d