mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix: big files downloads failing in flatpak app (#391)
This commit is contained in:
parent
f3e920ac79
commit
e15869fe1d
1 changed files with 16 additions and 82 deletions
|
|
@ -1,9 +1,18 @@
|
||||||
id: nl.jknaapen.fladder
|
id: nl.jknaapen.fladder
|
||||||
runtime: org.gnome.Platform
|
runtime: org.gnome.Platform
|
||||||
runtime-version: '46'
|
runtime-version: '48'
|
||||||
sdk: org.gnome.Sdk
|
sdk: org.gnome.Sdk
|
||||||
|
|
||||||
command: Fladder
|
command: Fladder
|
||||||
|
add-extensions:
|
||||||
|
org.freedesktop.Platform.ffmpeg-full:
|
||||||
|
directory: lib/ffmpeg
|
||||||
|
version: '24.08'
|
||||||
|
add-ld-path: .
|
||||||
|
|
||||||
|
cleanup-commands:
|
||||||
|
- mkdir -p /app/lib/ffmpeg
|
||||||
|
|
||||||
finish-args:
|
finish-args:
|
||||||
# X11/Wayland access
|
# X11/Wayland access
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
|
|
@ -15,6 +24,8 @@ finish-args:
|
||||||
- --share=network
|
- --share=network
|
||||||
# File access for downloads/media
|
# File access for downloads/media
|
||||||
- --filesystem=home
|
- --filesystem=home
|
||||||
|
# File access for downloads temporary directory
|
||||||
|
- --filesystem=/tmp
|
||||||
# Allow access to PipeWire socket for mpv
|
# Allow access to PipeWire socket for mpv
|
||||||
- --filesystem=xdg-run/pipewire-0:ro
|
- --filesystem=xdg-run/pipewire-0:ro
|
||||||
# Hardware acceleration
|
# Hardware acceleration
|
||||||
|
|
@ -61,42 +72,12 @@ modules:
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/FFmpeg/nv-codec-headers.git
|
url: https://github.com/FFmpeg/nv-codec-headers.git
|
||||||
tag: n12.2.72.0
|
tag: n13.0.19.0
|
||||||
commit: c69278340ab1d5559c7d7bf0edf615dc33ddbba7
|
commit: e844e5b26f46bb77479f063029595293aa8f812d
|
||||||
x-checker-data:
|
x-checker-data:
|
||||||
type: git
|
type: git
|
||||||
tag-pattern: ^n([\d.]+)$
|
tag-pattern: ^n([\d.]+)$
|
||||||
|
|
||||||
- name: ffmpeg
|
|
||||||
config-opts:
|
|
||||||
- --enable-shared
|
|
||||||
- --disable-static
|
|
||||||
- --enable-gnutls
|
|
||||||
- --enable-pic
|
|
||||||
- --disable-doc
|
|
||||||
- --disable-programs
|
|
||||||
- --disable-encoders
|
|
||||||
- --disable-muxers
|
|
||||||
- --disable-devices
|
|
||||||
- --enable-vaapi
|
|
||||||
- --enable-cuvid
|
|
||||||
- --enable-libdav1d
|
|
||||||
- --enable-gpl
|
|
||||||
cleanup:
|
|
||||||
- /lib/pkgconfig
|
|
||||||
- /share
|
|
||||||
- /include
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/FFmpeg/FFmpeg.git
|
|
||||||
tag: n7.1
|
|
||||||
commit: b08d7969c550a804a59511c7b83f2dd8cc0499b8
|
|
||||||
x-checker-data:
|
|
||||||
type: git
|
|
||||||
tag-pattern: ^n([\d.]+)$
|
|
||||||
|
|
||||||
- shared-modules/luajit/luajit.json
|
- shared-modules/luajit/luajit.json
|
||||||
|
|
||||||
- name: libass
|
- name: libass
|
||||||
config-opts:
|
config-opts:
|
||||||
- --enable-shared
|
- --enable-shared
|
||||||
|
|
@ -113,7 +94,6 @@ modules:
|
||||||
x-checker-data:
|
x-checker-data:
|
||||||
type: git
|
type: git
|
||||||
tag-pattern: ^([\d.]+)$
|
tag-pattern: ^([\d.]+)$
|
||||||
|
|
||||||
- name: uchardet
|
- name: uchardet
|
||||||
buildsystem: cmake-ninja
|
buildsystem: cmake-ninja
|
||||||
config-opts:
|
config-opts:
|
||||||
|
|
@ -134,15 +114,12 @@ modules:
|
||||||
url: https://www.freedesktop.org/software/uchardet/releases/
|
url: https://www.freedesktop.org/software/uchardet/releases/
|
||||||
version-pattern: uchardet-(\d+\.\d+\.\d+)\.tar\.xz
|
version-pattern: uchardet-(\d+\.\d+\.\d+)\.tar\.xz
|
||||||
url-template: https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz
|
url-template: https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz
|
||||||
|
|
||||||
- name: libplacebo
|
- name: libplacebo
|
||||||
buildsystem: meson
|
buildsystem: meson
|
||||||
config-opts:
|
config-opts:
|
||||||
- -Dvulkan=enabled
|
- -Dvulkan=enabled
|
||||||
- -Dshaderc=enabled
|
- -Dshaderc=enabled
|
||||||
cleanup:
|
- --libdir=lib
|
||||||
- /include
|
|
||||||
- /lib/pkgconfig
|
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://code.videolan.org/videolan/libplacebo.git
|
url: https://code.videolan.org/videolan/libplacebo.git
|
||||||
|
|
@ -151,49 +128,6 @@ modules:
|
||||||
x-checker-data:
|
x-checker-data:
|
||||||
type: git
|
type: git
|
||||||
tag-pattern: ^v([\d.]+)$
|
tag-pattern: ^v([\d.]+)$
|
||||||
modules:
|
|
||||||
- name: shaderc
|
|
||||||
buildsystem: cmake-ninja
|
|
||||||
builddir: true
|
|
||||||
config-opts:
|
|
||||||
- -DSHADERC_SKIP_COPYRIGHT_CHECK=ON
|
|
||||||
- -DSHADERC_SKIP_EXAMPLES=ON
|
|
||||||
- -DSHADERC_SKIP_TESTS=ON
|
|
||||||
- -DSPIRV_SKIP_EXECUTABLES=ON
|
|
||||||
- -DENABLE_GLSLANG_BINARIES=OFF
|
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
|
||||||
cleanup:
|
|
||||||
- /bin
|
|
||||||
- /include
|
|
||||||
- /lib/*.a
|
|
||||||
- /lib/cmake
|
|
||||||
- /lib/pkgconfig
|
|
||||||
sources:
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/google/shaderc.git
|
|
||||||
tag: v2024.2
|
|
||||||
commit: 3ac03b8ad85a8e328a6182cddee8d05810bd5a2c
|
|
||||||
x-checker-data:
|
|
||||||
type: git
|
|
||||||
tag-pattern: ^v([\d.]+)$
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/KhronosGroup/SPIRV-Tools.git
|
|
||||||
tag: v2023.2
|
|
||||||
commit: 44d72a9b36702f093dd20815561a56778b2d181e
|
|
||||||
dest: third_party/spirv-tools
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/KhronosGroup/SPIRV-Headers.git
|
|
||||||
tag: sdk-1.3.250.1
|
|
||||||
commit: 268a061764ee69f09a477a695bf6a11ffe311b8d
|
|
||||||
dest: third_party/spirv-headers
|
|
||||||
- type: git
|
|
||||||
url: https://github.com/KhronosGroup/glslang.git
|
|
||||||
tag: 14.3.0
|
|
||||||
commit: fa9c3deb49e035a8abcabe366f26aac010f6cbfb
|
|
||||||
dest: third_party/glslang
|
|
||||||
x-checker-data:
|
|
||||||
type: git
|
|
||||||
tag-pattern: ^([\d.]+)$
|
|
||||||
|
|
||||||
- name: zenity
|
- name: zenity
|
||||||
buildsystem: meson
|
buildsystem: meson
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue