-
-
Notifications
You must be signed in to change notification settings - Fork 87
chore: Flathub Integration #573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f7b4246
flathub integration
schembriaiden 9f9e60b
Added dhub fix
schembriaiden f611f05
fix flatptak issue
schembriaiden 2a9042f
updated metadata
schembriaiden eab2a7f
updated metainfo
schembriaiden f062ee3
update flathub yaml
schembriaiden 71af269
updated flathub.yaml
schembriaiden 4094b0c
Merge branch 'develop' into flathub-automation
schembriaiden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,206 @@ | ||
| id: nl.jknaapen.fladder | ||
| runtime: org.gnome.Platform | ||
| runtime-version: '48' | ||
| sdk: org.gnome.Sdk | ||
|
|
||
| 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: | ||
| # X11/Wayland access | ||
| - --share=ipc | ||
| - --socket=fallback-x11 | ||
| - --socket=wayland | ||
| # Audio playback | ||
| - --socket=pulseaudio | ||
| # Network access for Jellyfin streaming | ||
| - --share=network | ||
| # File access for downloads/media | ||
| - --filesystem=home | ||
| # File access for downloads temporary directory | ||
| - --filesystem=/tmp | ||
| # Allow access to PipeWire socket for mpv | ||
| - --filesystem=xdg-run/pipewire-0:ro | ||
| # Hardware acceleration | ||
| - --device=dri | ||
| # Allow notification access | ||
| - --talk-name=org.freedesktop.Notifications | ||
| - --talk-name=org.freedesktop.PowerManagement | ||
| - --talk-name=org.freedesktop.ScreenSaver | ||
| - --talk-name=org.freedesktop.portal.* | ||
| # DBus system bus access for NetworkManager (connectivity checking) | ||
| - --system-talk-name=org.freedesktop.NetworkManager | ||
|
|
||
| modules: | ||
| - name: mpv | ||
| buildsystem: meson | ||
| config-opts: | ||
| - -Dlibmpv=true | ||
| - -Dcplayer=false | ||
| - -Dbuild-date=false | ||
| - -Dmanpage-build=disabled | ||
| - -Dvaapi=enabled | ||
| - -Dcuda-hwaccel=enabled | ||
| - -Dpulse=enabled | ||
| - -Dalsa=enabled | ||
| - -Duchardet=enabled | ||
| cleanup: | ||
| - /lib/pkgconfig | ||
| - /share | ||
| - /include | ||
| sources: | ||
| - type: git | ||
| url: https://github.com/mpv-player/mpv.git | ||
| tag: v0.39.0 | ||
| commit: a0fba7be57f3822d967b04f0f6b6d6341e7516e7 | ||
| x-checker-data: | ||
| type: git | ||
| tag-pattern: ^v([\d.]+)$ | ||
| modules: | ||
| - name: ffnvcodec | ||
| buildsystem: simple | ||
| build-commands: | ||
| - make install PREFIX=/app | ||
| cleanup: | ||
| - /lib/pkgconfig | ||
| - /include | ||
| sources: | ||
| - type: git | ||
| url: https://github.com/FFmpeg/nv-codec-headers.git | ||
| tag: n13.0.19.0 | ||
| commit: e844e5b26f46bb77479f063029595293aa8f812d | ||
| x-checker-data: | ||
| type: git | ||
| tag-pattern: ^n([\d.]+)$ | ||
| - shared-modules/luajit/luajit.json | ||
| - name: libass | ||
| config-opts: | ||
| - --enable-shared | ||
| - --disable-static | ||
| cleanup: | ||
| - /lib/*.la | ||
| - /lib/pkgconfig | ||
| - /include | ||
| sources: | ||
| - type: git | ||
| url: https://github.com/libass/libass.git | ||
| tag: 0.17.3 | ||
| commit: e46aedea0a0d17da4c4ef49d84b94a7994664ab5 | ||
| x-checker-data: | ||
| type: git | ||
| tag-pattern: ^([\d.]+)$ | ||
| - name: uchardet | ||
| buildsystem: cmake-ninja | ||
| config-opts: | ||
| - -DCMAKE_BUILD_TYPE=Release | ||
| - -DCMAKE_INSTALL_LIBDIR=lib | ||
| - -DBUILD_BINARY=OFF | ||
| cleanup: | ||
| - /lib/*.a | ||
| - /lib/pkgconfig | ||
| - /share | ||
| - /include | ||
| sources: | ||
| - type: archive | ||
| url: https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz | ||
| sha256: e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0 | ||
| x-checker-data: | ||
| type: html | ||
| url: https://www.freedesktop.org/software/uchardet/releases/ | ||
| version-pattern: uchardet-(\d+\.\d+\.\d+)\.tar\.xz | ||
| url-template: https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz | ||
| - name: libplacebo | ||
| buildsystem: meson | ||
| config-opts: | ||
| - -Dvulkan=enabled | ||
| - -Dshaderc=enabled | ||
| - --libdir=lib | ||
| sources: | ||
| - type: git | ||
| url: https://code.videolan.org/videolan/libplacebo.git | ||
| tag: v7.349.0 | ||
| commit: 1fd3c7bde7b943fe8985c893310b5269a09b46c5 | ||
| x-checker-data: | ||
| type: git | ||
| tag-pattern: ^v([\d.]+)$ | ||
|
|
||
| - name: zenity | ||
| buildsystem: meson | ||
| sources: | ||
| - type: git | ||
| url: https://gitlab.gnome.org/GNOME/zenity.git | ||
| tag: 4.0.3 | ||
| commit: 7f7ac1840cfd914dfac69d947f0849dc50b0f695 | ||
|
|
||
| # Flutter SDK | ||
| - name: flutter-sdk | ||
| buildsystem: simple | ||
| build-commands: | ||
| - mkdir -p /app/flutter | ||
| - cp -r * /app/flutter/ | ||
| - /app/flutter/bin/flutter config --no-analytics | ||
| - /app/flutter/bin/flutter precache --linux | ||
| cleanup: | ||
| - '*' | ||
| sources: | ||
| - type: archive | ||
| only-arches: | ||
| - x86_64 | ||
| url: https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.35.1-stable.tar.xz | ||
| sha256: 58efd9d1e570a1bf976e218cfbbcca3f23b21b873d765a74e045d5b9022ab515 | ||
| x-checker-data: | ||
| type: json | ||
| url: https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json | ||
| version-query: .releases[] | select(.channel == "stable") | .version | ||
| url-query: .releases[] | select(.channel == "stable" and .version == $version) | "https://storage.googleapis.com/flutter_infra_release/releases/" + .archive | ||
| is-main-source: true | ||
|
|
||
| - name: fladder | ||
| buildsystem: simple | ||
| build-commands: | ||
| # Set up Flutter | ||
| - export PATH="/app/flutter/bin:$PATH" | ||
| - export PUB_CACHE=/run/build/fladder/pub_cache | ||
|
|
||
| # Get dependencies and build | ||
| - flutter pub get | ||
| - flutter build linux --release | ||
|
|
||
| # Install the app | ||
| - mkdir -p /app/bin | ||
| - cp -r build/linux/x64/release/bundle/* /app/bin/ | ||
| - chmod +x /app/bin/fladder | ||
|
|
||
| # Fix RPATH for libraries | ||
| - | | ||
| for lib in /app/bin/lib/*.so; do | ||
| if [[ -f "$lib" && -n "$(patchelf --print-rpath "$lib" 2>/dev/null || true)" ]]; then | ||
| patchelf --set-rpath '$ORIGIN' "$lib" || true | ||
| fi | ||
| done | ||
| - patchelf --set-rpath '$ORIGIN/lib' /app/bin/fladder | ||
|
|
||
| # Install desktop file and icon | ||
| - mkdir -p /app/share/applications | ||
| - mkdir -p /app/share/icons/hicolor/scalable/apps | ||
| - install -Dm644 flatpak/Fladder.desktop /app/share/applications/${FLATPAK_ID}.desktop | ||
| - install -Dm644 icons/fladder_icon.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg | ||
|
|
||
| # Install metainfo | ||
| - mkdir -p /app/share/metainfo | ||
| - install -Dm644 flatpak/${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml | ||
| sources: | ||
| - type: git | ||
| url: https://github.com/DonutWare/Fladder.git | ||
| tag: v0.8.0 | ||
| # Note: This will be updated automatically by the GitHub workflow | ||
| # x-checker-data: | ||
| # type: git | ||
| # tag-pattern: ^v([\d.]+)$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <component type="desktop-application"> | ||
| <id>nl.jknaapen.fladder</id> | ||
| <metadata_license>CC0-1.0</metadata_license> | ||
| <project_license>MPL-2.0</project_license> | ||
| <name>Fladder</name> | ||
| <summary>A simple cross-platform Jellyfin client</summary> | ||
|
|
||
| <description> | ||
| <p> | ||
| Fladder is a modern, cross-platform Jellyfin client that provides a seamless | ||
| media streaming experience. Built with Flutter, it offers a beautiful and | ||
| intuitive interface for accessing your Jellyfin media library. | ||
| </p> | ||
| <p>Features:</p> | ||
| <ul> | ||
| <li>Stream movies, TV shows, and music from your Jellyfin server</li> | ||
| <li>Beautiful and responsive user interface</li> | ||
| <li>Hardware-accelerated video playback</li> | ||
| <li>Support for multiple profiles</li> | ||
| <li>Offline media downloads</li> | ||
| <li>Cross-platform compatibility</li> | ||
| </ul> | ||
| </description> | ||
|
|
||
| <launchable type="desktop-id">nl.jknaapen.fladder.desktop</launchable> | ||
|
|
||
| <screenshots> | ||
| <screenshot type="default"> | ||
| <image>https://raw.githubusercontent.com/DonutWare/Fladder/develop/assets/marketing/screenshot1.png</image> | ||
| <caption>Main interface</caption> | ||
| </screenshot> | ||
| </screenshots> | ||
|
|
||
| <url type="homepage">https://github.com/DonutWare/Fladder</url> | ||
| <url type="bugtracker">https://github.com/DonutWare/Fladder/issues</url> | ||
| <url type="vcs-browser">https://github.com/DonutWare/Fladder</url> | ||
|
|
||
| <developer id="nl.jknaapen"> | ||
| <name>DonutWare</name> | ||
| </developer> | ||
|
|
||
| <content_rating type="oars-1.1"> | ||
| <content_attribute id="social-info">mild</content_attribute> | ||
| </content_rating> | ||
|
|
||
| <releases> | ||
| <release version="0.0.0" date="1970-01-01"> | ||
| <description> | ||
| <p>Latest release - see GitHub for detailed changelog</p> | ||
| </description> | ||
| </release> | ||
| </releases> | ||
|
|
||
| <requires> | ||
| <internet>always</internet> | ||
| </requires> | ||
|
|
||
| <categories> | ||
| <category>AudioVideo</category> | ||
| <category>Player</category> | ||
| </categories> | ||
|
|
||
| <keywords> | ||
| <keyword>jellyfin</keyword> | ||
| <keyword>media</keyword> | ||
| <keyword>streaming</keyword> | ||
| <keyword>video</keyword> | ||
| <keyword>audio</keyword> | ||
| <keyword>music</keyword> | ||
| </keywords> | ||
| </component> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.