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..591b5da 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 @@ -27,20 +20,12 @@ finish-args: - --filesystem=xdg-run/pipewire-0:ro - --filesystem=xdg-run/app/com.discordapp.Discord:create - --own-name=org.mpris.MediaPlayer2.spotube.* +cleanup: + - /include + - /lib/pkgconfig modules: - shared-modules/libappindicator/libappindicator-gtk3-12.10.json - - shared-modules/libsecret/libsecret.json - - name: libnotify - buildsystem: meson - config-opts: - - -Dtests=false - - -Dintrospection=disabled - - -Dgtk_doc=false - - -Ddocbook_docs=disabled - sources: - - type: archive - url: https://download.gnome.org/sources/libnotify/0.7/libnotify-0.7.8.tar.xz - sha256: 69209e0b663776a00c7b6c0e560302a8dbf66b2551d55616304f240bba66e18c + - name: yt-dlp no-autogen: true no-make-install: true @@ -53,6 +38,7 @@ modules: - type: archive url: "https://github.com/yt-dlp/yt-dlp/archive/refs/tags/2025.09.23.tar.gz" sha256: "ba2f0ebf715836a506f54e3062ff1448bfa8314c9db7b8ed7697a26decafdda8" + - name: jsoncpp buildsystem: meson config-opts: @@ -99,8 +85,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 +108,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: @@ -162,7 +150,3 @@ modules: sha256: f05dab6262fe577a895a5d1005d090182cb041dfbac19b8fc531cf2efbcb4740 only-arches: - aarch64 - - type: git - dest: spotube-src - url: https://github.com/KRTirtho/spotube - tag: v5.0.0 diff --git a/shared-modules b/shared-modules index 2743615..cb06063 160000 --- a/shared-modules +++ b/shared-modules @@ -1 +1 @@ -Subproject commit 274361549c3af53aff26d56df26bd7b77fa4f5e4 +Subproject commit cb060638c39e333014306c8ab9daa2f2256fd688