-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathio.github.Soundux.yml
95 lines (95 loc) · 3.6 KB
/
io.github.Soundux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
app-id: io.github.Soundux
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: soundux-startup
finish-args:
- --device=dri
- --socket=pulseaudio
- --socket=x11
- --share=network
- --share=ipc
- --filesystem=xdg-run/pipewire-0
- --filesystem=xdg-music:ro
- --filesystem=xdg-download:ro
- --filesystem=xdg-documents:ro
- --filesystem=/run/media:ro
- --filesystem=/media:ro
modules:
- shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json
- name: libwnck
buildsystem: meson
config-opts:
- -Dgtk_doc=false
cleanup:
- /include
- /lib/pkgconfig
- /bin
sources:
- type: archive
url: https://download.gnome.org/sources/libwnck/43/libwnck-43.1.tar.xz
sha256: 634b4587b7367a493d3818c4b57740dac06153cf8f25cd64f5af16b657dd6845
x-checker-data:
type: gnome
name: libwnck
versions:
'>=': '40.0'
url-template: https://download.gnome.org/sources/libwnck/$major/libwnck-$version.tar.xz
stable-only: true
- name: soundux
buildsystem: cmake-ninja
config-opts:
- -DUSE_FLATPAK=ON
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_CXX_FLAGS=-Wno-error=deprecated-declarations
post-install:
- install -Dm 644 -t /app/share/metainfo deployment/appstream/io.github.Soundux.metainfo.xml
- install -Dm 644 -t /app/share/applications deployment/appstream/io.github.Soundux.desktop
- install -Dm 644 deployment/flatpak/icons/io.github.Soundux-256.png /app/share/icons/hicolor/256x256/apps/io.github.Soundux.png
- install -Dm 755 -t /app/bin soundux-startup
sources:
- type: archive
url: https://github.com/Soundux/Soundux/releases/download/0.2.7/soundux-0.2.7.tar.gz
sha512: e813be41d324536065a1f98d397027b98a9db504faed7abb074bd0cc6ac65a7804d120cc559c5fa509acf39ff851aa74d02c4da0f3c49ad8f01286cb81776bd3
x-checker-data:
type: json
url: https://api.github.com/repos/Soundux/Soundux/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name|endswith(".tar.gz")) | .browser_download_url
strip-components: 2
- type: patch
path: webviewpp-build-fix.patch
- type: patch
path: guardpp-build-fix.patch
- type: file
path: soundux-startup
- type: archive
dest: lib/cpp-httplib
archive-type: tar-gzip
url: https://api.github.com/repos/yhirose/cpp-httplib/tarball/v0.18.3
sha512: 22eb4b4f80833a1a9678830f69007fce019d8f157e2df3fb681d6cdf0fe9a8e430b917c5429331b2af2a80cca8a2ea796d61f3ed792ea6e1bfb9fa09b0c8a02d
x-checker-data:
type: json
url: https://api.github.com/repos/yhirose/cpp-httplib/releases/latest
version-query: .tag_name
url-query: .tarball_url
- name: yt-dlp
no-autogen: true
no-make-install: true
make-args:
- yt-dlp
- PYTHON=/usr/bin/python
sources:
- type: archive
url: https://github.com/yt-dlp/yt-dlp/releases/download/2025.01.12/yt-dlp.tar.gz
sha512: bea91c322ac33a717deff7558cae7d12e1337e3a9888860a339c6315dca08814b4ef1018848adf3c434aaacdf093e96a6e5ad07e60bd76b1f8abf6cb7f1b418b
x-checker-data:
type: json
url: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name|endswith(".tar.gz")) | .browser_download_url
- type: file
path: youtube-dl
post-install:
- install -Dm0755 -t /app/bin yt-dlp
- install -Dm0755 -t /app/bin youtube-dl