mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 14:45:46 +01:00
Adjusting flatpak meta (#1285)
This commit is contained in:
parent
629fa9f1f7
commit
93559530ab
4 changed files with 25 additions and 107 deletions
|
|
@ -28,7 +28,8 @@ What version of the Buzz are you using? On what OS? What are steps to reproduce
|
|||
**Logs**
|
||||
|
||||
Log files contain valuable information about what the Buzz was doing before the issue occurred. You can get the logs like this:
|
||||
* Mac and Linux run the app from the terminal and check the output.
|
||||
* Linux run the app from the terminal and check the output.
|
||||
* Mac get logs from `~/Library/Logs/Buzz`.
|
||||
* Windows paste this into the Windows Explorer address bar `%USERPROFILE%\AppData\Local\Buzz\Buzz\Logs` and check the logs file.
|
||||
|
||||
**Test on latest version**
|
||||
|
|
|
|||
|
|
@ -1,90 +0,0 @@
|
|||
# Building notes:
|
||||
# See https://docs.flathub.org/docs/for-app-authors/submission/
|
||||
# This flatpak is build from the snap package.
|
||||
# - Get relevant snap package infor - curl -H 'Snap-Device-Series: 16' http://api.snapcraft.io/v2/snaps/info/buzz # | jq
|
||||
# - Download snap and generate sha256sum, update yaml entry.
|
||||
|
||||
app-id: io.github.chidiwilliams.Buzz
|
||||
runtime: org.freedesktop.Platform
|
||||
# TODO - Update to 24.08 when snap is updated to core24
|
||||
runtime-version: '22.08' # To match `core22` of the snap
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: run-buzz.sh
|
||||
finish-args:
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --socket=pulseaudio
|
||||
- --talk-name=org.freedesktop.secrets
|
||||
- --device=dri
|
||||
# TODO switch 'all' to input when it is widely available
|
||||
#- --device=input
|
||||
- --device=all
|
||||
- --share=network
|
||||
- --share=ipc
|
||||
- --filesystem=xdg-documents
|
||||
# Environment variables
|
||||
- --env=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib/python3.10/site-packages/nvidia/cudnn/lib:/app/lib/python3.10/site-packages/PyQt6:/app/lib/python3.10/site-packages/PyQt6/Qt6/lib:/app/usr/lib/x86_64-linux-gnu/lapack:/app/usr/lib/x86_64-linux-gnu/blas:/app/usr/lib/x86_64-linux-gnu/pulseaudio:/app/usr/lib/x86_64-linux-gnu:/app/lib/x86_64-linux-gnu/
|
||||
- --env=PYTHONPATH=$PYTHONPATH:/app/lib/python3.10/site-packages:/app/lib/python3.10/site-packages/PyQt6:/app/lib/python3.10/site-packages/PyQt6/Qt6/lib
|
||||
|
||||
modules:
|
||||
- name: unsquashfs
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- XZ_SUPPORT=1 make -C squashfs-tools -j ${FLATPAK_BUILDER_N_JOBS} unsquashfs
|
||||
- install -Dpm755 -t "${FLATPAK_DEST}/bin" squashfs-tools/unsquashfs
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/plougher/squashfs-tools.git
|
||||
tag: 4.6.1
|
||||
commit: d8cb82d9840330f9344ec37b992595b5d7b44184
|
||||
|
||||
- name: snap
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- unsquashfs -dest buzz -quiet -no-progress buzz.snap
|
||||
- cp -rT buzz ${FLATPAK_DEST} && rm -rf buzz
|
||||
sources:
|
||||
- type: file
|
||||
dest-filename: buzz.snap
|
||||
# Stable 1.2.0
|
||||
url: https://api.snapcraft.io/api/v1/snaps/download/RSpCVxCNDwoTXHPXhlYQnziD0jQhVnKA_362.snap
|
||||
sha256: fbc045426c867b1d7ee01178d4f53d785c161709e2a9db6854cefec29aa510d7
|
||||
# Edge
|
||||
#url: https://api.snapcraft.io/api/v1/snaps/download/RSpCVxCNDwoTXHPXhlYQnziD0jQhVnKA_402.snap
|
||||
#sha256: 0acecacf8fa476bf6d7afcd98b7b557829b70cfa8b1d57e6ff5248737b63ab60
|
||||
|
||||
# Borrowed from https://github.com/flathub/org.audacityteam.Audacity/blob/master/org.audacityteam.Audacity.yaml
|
||||
- name: portaudio
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/PortAudio/portaudio/archive/refs/tags/v19.7.0.tar.gz
|
||||
sha256: 5af29ba58bbdbb7bbcefaaecc77ec8fc413f0db6f4c4e286c40c3e1b83174fa0
|
||||
|
||||
# Borrowed from https://github.com/flathub/org.freedownloadmanager.Manager/pull/20/files
|
||||
- name: kerberos
|
||||
subdir: src
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://kerberos.org/dist/krb5/1.21/krb5-1.21.tar.gz
|
||||
sha256: 69f8aaff85484832df67a4bbacd99b9259bd95aab8c651fbbe65cdc9620ea93b
|
||||
|
||||
- name: Buzz
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -Dm755 flatpak/run-buzz.sh ${FLATPAK_DEST}/bin/run-buzz.sh
|
||||
|
||||
- install -Dm644 share/icons/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
|
||||
- install -Dm644 share/applications/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
||||
- install -Dm644 share/metainfo/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
|
||||
|
||||
- install -Dm644 flatpak/libbsd.so.0 ${FLATPAK_DEST}/lib/x86_64-linux-gnu/libbsd.so.0
|
||||
- install -Dm644 flatpak/libmd.so.0 ${FLATPAK_DEST}/lib/x86_64-linux-gnu/libmd.so.0
|
||||
- install -Dm644 flatpak/libdb-5.3.so ${FLATPAK_DEST}/lib/x86_64-linux-gnu/libdb-5.3.so
|
||||
- install -Dm644 flatpak/libapparmor.so.1 ${FLATPAK_DEST}/lib/x86_64-linux-gnu/libapparmor.so.1
|
||||
- install -Dm644 flatpak/libavutil.so.58 ${FLATPAK_DEST}/lib/x86_64-linux-gnu/libavutil.so.58
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
|
|
@ -1,16 +1,23 @@
|
|||
<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="105" y="105" width="782.8" height="782.8" rx="174.8" fill="#CD0000"/>
|
||||
<rect x="105" y="105" width="782.8" height="782.8" rx="174.8" fill="url(#paint0_linear_1_2)"/>
|
||||
<circle cx="512" cy="512" r="275.5" stroke="white" stroke-width="38"/>
|
||||
<circle cx="512" cy="512" r="212.8" fill="url(#paint1_radial_1_2)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_1_2" x1="512" y1="105" x2="512" y2="919" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#CD0000" stop-opacity="0"/>
|
||||
<stop offset="1" stop-opacity="0.2"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint1_radial_1_2" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(426.816 434.796) rotate(45) scale(287.402 327.804)">
|
||||
<stop offset="0.578998" stop-color="white"/>
|
||||
<stop offset="0.873177" stop-color="#E6E6E6"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
<g transform="translate(512, 512) scale(0.9) translate(-512, -512)" clip-path="url(#clip0_945_8)">
|
||||
<rect width="1024" height="1024" fill="#CD0000"/>
|
||||
<rect width="1024" height="1024" fill="url(#paint0_linear_945_8)"/>
|
||||
<path d="M871 512C871 710.27 710.27 871 512 871C313.73 871 153 710.27 153 512C153 313.73 313.73 153 512 153C710.27 153 871 313.73 871 512Z"
|
||||
stroke="white" stroke-width="72"/>
|
||||
<circle cx="512.5" cy="512.5" r="237.5" fill="url(#paint1_radial_945_8)"/>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_945_8" x1="512" y1="0" x2="512" y2="1024" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#CD0000" stop-opacity="0"/>
|
||||
<stop offset="1" stop-opacity="0.2"/>
|
||||
</linearGradient>
|
||||
<radialGradient id="paint1_radial_945_8" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(446 454.906) rotate(45) scale(320.761 365.853)">
|
||||
<stop offset="0.578998" stop-color="white"/>
|
||||
<stop offset="0.873177" stop-color="#E6E6E6"/>
|
||||
</radialGradient>
|
||||
<clipPath id="clip0_945_8">
|
||||
<rect width="1024" height="1024" rx="185" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 930 B After Width: | Height: | Size: 1.3 KiB |
|
|
@ -64,7 +64,7 @@
|
|||
<content_rating type="oars-1.1"/>
|
||||
|
||||
<releases>
|
||||
<release version="1.3.3" date="2024-11-06">
|
||||
<release version="1.3.3" date="2025-11-09">
|
||||
<url type="details">https://github.com/chidiwilliams/buzz/releases/tag/v1.3.3</url>
|
||||
<description>
|
||||
<p>This release introduces Vulkan GPU support for whisper.cpp making it significantly faster even on laptops.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue