mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Simplify to single 512x512 icon and remove manifest comments
This commit is contained in:
2
.github/workflows/flathub.yml
vendored
2
.github/workflows/flathub.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cp flatpak/app.yaak.Yaak.yml flathub-repo/
|
cp flatpak/app.yaak.Yaak.yml flathub-repo/
|
||||||
cp flatpak/app.yaak.Yaak.metainfo.xml flathub-repo/
|
cp flatpak/app.yaak.Yaak.metainfo.xml flathub-repo/
|
||||||
cp -r flatpak/icons flathub-repo/
|
cp flatpak/app.yaak.Yaak.png flathub-repo/
|
||||||
|
|
||||||
- name: Commit and push to Flathub
|
- name: Commit and push to Flathub
|
||||||
working-directory: flathub-repo
|
working-directory: flathub-repo
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
@@ -1,12 +1,3 @@
|
|||||||
# Flatpak manifest for Yaak
|
|
||||||
#
|
|
||||||
# To build and test locally:
|
|
||||||
# flatpak install flathub org.gnome.Platform//48 org.gnome.Sdk//48
|
|
||||||
# flatpak-builder --force-clean --user --install-deps-from=flathub --repo=flatpak-repo build flatpak/app.yaak.Yaak.yml
|
|
||||||
# flatpak --user remote-add --if-not-exists yaak-local flatpak-repo
|
|
||||||
# flatpak --user install yaak-local app.yaak.Yaak
|
|
||||||
# flatpak run app.yaak.Yaak
|
|
||||||
|
|
||||||
id: app.yaak.Yaak
|
id: app.yaak.Yaak
|
||||||
runtime: org.gnome.Platform
|
runtime: org.gnome.Platform
|
||||||
runtime-version: "48"
|
runtime-version: "48"
|
||||||
@@ -14,53 +5,31 @@ sdk: org.gnome.Sdk
|
|||||||
command: yaak-app
|
command: yaak-app
|
||||||
|
|
||||||
finish-args:
|
finish-args:
|
||||||
# Display (Wayland + X11 fallback)
|
|
||||||
- --socket=wayland
|
- --socket=wayland
|
||||||
- --socket=fallback-x11
|
- --socket=fallback-x11
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
# GPU rendering (WebKitGTK)
|
|
||||||
- --device=dri
|
- --device=dri
|
||||||
# Network access (required — Yaak is an API client)
|
|
||||||
- --share=network
|
- --share=network
|
||||||
# File access for importing/exporting and Git project directories
|
|
||||||
- --filesystem=home
|
- --filesystem=home
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
- name: yaak
|
- name: yaak
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
# Extract the deb package
|
|
||||||
- ar -x yaak.deb
|
- ar -x yaak.deb
|
||||||
- tar -xf data.tar.gz
|
- tar -xf data.tar.gz
|
||||||
|
|
||||||
# Install the binary
|
|
||||||
- install -Dm755 usr/bin/yaak-app /app/bin/yaak-app
|
- install -Dm755 usr/bin/yaak-app /app/bin/yaak-app
|
||||||
|
|
||||||
# Install bundled resources (plugins, node runtime, protoc, etc.)
|
|
||||||
- mkdir -p /app/lib
|
- mkdir -p /app/lib
|
||||||
- cp -r usr/lib/yaak /app/lib/yaak
|
- cp -r usr/lib/yaak /app/lib/yaak
|
||||||
|
|
||||||
# Install desktop file, updating Exec and Icon to match Flatpak conventions
|
|
||||||
- install -Dm644 usr/share/applications/yaak.desktop /app/share/applications/app.yaak.Yaak.desktop
|
- install -Dm644 usr/share/applications/yaak.desktop /app/share/applications/app.yaak.Yaak.desktop
|
||||||
- desktop-file-edit --set-key=Exec --set-value=yaak-app /app/share/applications/app.yaak.Yaak.desktop
|
- desktop-file-edit --set-key=Exec --set-value=yaak-app /app/share/applications/app.yaak.Yaak.desktop
|
||||||
- desktop-file-edit --set-icon=app.yaak.Yaak /app/share/applications/app.yaak.Yaak.desktop
|
- desktop-file-edit --set-icon=app.yaak.Yaak /app/share/applications/app.yaak.Yaak.desktop
|
||||||
- desktop-file-edit --set-key=StartupWMClass --set-value=yaak-app /app/share/applications/app.yaak.Yaak.desktop
|
- desktop-file-edit --set-key=StartupWMClass --set-value=yaak-app /app/share/applications/app.yaak.Yaak.desktop
|
||||||
|
- install -Dm644 app.yaak.Yaak.png /app/share/icons/hicolor/512x512/apps/app.yaak.Yaak.png
|
||||||
# Install icons from deb (small sizes) and from this repo (large sizes)
|
|
||||||
- install -Dm644 usr/share/icons/hicolor/32x32/apps/yaak-app.png /app/share/icons/hicolor/32x32/apps/app.yaak.Yaak.png
|
|
||||||
- install -Dm644 usr/share/icons/hicolor/128x128/apps/yaak-app.png /app/share/icons/hicolor/128x128/apps/app.yaak.Yaak.png
|
|
||||||
- install -Dm644 256x256/app.yaak.Yaak.png /app/share/icons/hicolor/256x256/apps/app.yaak.Yaak.png
|
|
||||||
- install -Dm644 512x512/app.yaak.Yaak.png /app/share/icons/hicolor/512x512/apps/app.yaak.Yaak.png
|
|
||||||
|
|
||||||
# Install AppStream metainfo
|
|
||||||
- install -Dm644 app.yaak.Yaak.metainfo.xml /app/share/metainfo/app.yaak.Yaak.metainfo.xml
|
- install -Dm644 app.yaak.Yaak.metainfo.xml /app/share/metainfo/app.yaak.Yaak.metainfo.xml
|
||||||
|
|
||||||
# Install license
|
|
||||||
- install -Dm644 LICENSE /app/share/licenses/app.yaak.Yaak/LICENSE
|
- install -Dm644 LICENSE /app/share/licenses/app.yaak.Yaak/LICENSE
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
# The deb package from GitHub releases
|
|
||||||
# Update the URL and sha256 for each release
|
|
||||||
- type: file
|
- type: file
|
||||||
dest-filename: yaak.deb
|
dest-filename: yaak.deb
|
||||||
url: https://github.com/mountain-loop/yaak/releases/download/v2026.2.0-beta.10/yaak_2026.2.0-beta.10_amd64.deb
|
url: https://github.com/mountain-loop/yaak/releases/download/v2026.2.0-beta.10/yaak_2026.2.0-beta.10_amd64.deb
|
||||||
@@ -73,15 +42,9 @@ modules:
|
|||||||
sha256: "3a3923e5e29ae3e6e1ed345259992492196895a67e94c1284315334342e6ae23"
|
sha256: "3a3923e5e29ae3e6e1ed345259992492196895a67e94c1284315334342e6ae23"
|
||||||
only-arches:
|
only-arches:
|
||||||
- aarch64
|
- aarch64
|
||||||
|
- type: file
|
||||||
# Icons (from this repo)
|
path: app.yaak.Yaak.png
|
||||||
- type: dir
|
|
||||||
path: icons
|
|
||||||
|
|
||||||
# AppStream metainfo (from this repo)
|
|
||||||
- type: file
|
- type: file
|
||||||
path: app.yaak.Yaak.metainfo.xml
|
path: app.yaak.Yaak.metainfo.xml
|
||||||
|
|
||||||
# License file (from repo root)
|
|
||||||
- type: file
|
- type: file
|
||||||
path: ../LICENSE
|
path: ../LICENSE
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
Reference in New Issue
Block a user