-
Notifications
You must be signed in to change notification settings - Fork 8
/
com.github.KRTirtho.Spotube.yml
204 lines (202 loc) · 6.53 KB
/
com.github.KRTirtho.Spotube.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# yaml-language-server: $schema=https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json
app-id: com.github.KRTirtho.Spotube
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: spotube
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --share=network
- --share=ipc
- --device=dri
- --filesystem=xdg-download
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
- --talk-name=org.kde.StatusNotifierWatcher
- --system-talk-name=org.freedesktop.Avahi.*
- --filesystem=xdg-documents
- --filesystem=xdg-run/pipewire-0:ro
- --filesystem=xdg-run/app/com.discordapp.Discord:create
- --own-name=org.mpris.MediaPlayer2.spotube.*
modules:
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json
- shared-modules/libsecret/libsecret.json
- name: libnotify
buildsystem: meson
config-opts:
- -Dtests=false
- -Dintrospection=disabled
- -Dgtk_doc=false
- -Ddocbook_docs=disabled
sources:
- type: archive
url: https://download.gnome.org/sources/libnotify/0.7/libnotify-0.7.8.tar.xz
sha256: 69209e0b663776a00c7b6c0e560302a8dbf66b2551d55616304f240bba66e18c
- name: jsoncpp
buildsystem: meson
config-opts:
- --default-library=shared
sources:
- type: git
url: https://github.com/open-source-parsers/jsoncpp
tag: 1.9.5
- name: libmpv
cleanup:
- /include
- /lib/pkgconfig
- /share/man
buildsystem: simple
build-commands:
- python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date
--disable-alsa
- python3 waf build
- python3 waf install
sources:
- type: git
url: https://github.com/mpv-player/mpv.git
tag: v0.35.1
- type: file
url: https://waf.io/waf-2.0.25
sha256: 21199cd220ccf60434133e1fd2ab8c8e5217c3799199c82722543970dc8e38d5
dest-filename: waf
modules:
- name: libass
cleanup:
- /include
- /lib/*.la
- /lib/pkgconfig
config-opts:
- --disable-static
sources:
- type: archive
url: https://github.com/libass/libass/releases/download/0.17.1/libass-0.17.1.tar.xz
sha256: f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784
modules:
- name: fribidi
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
- /share/man
buildsystem: meson
config-opts:
- --buildtype=release
- -Ddocs=false
sources:
- type: git
url: https://github.com/mpv-player/mpv.git
tag: v0.35.1
- type: file
url: https://waf.io/waf-2.0.25
sha256: 21199cd220ccf60434133e1fd2ab8c8e5217c3799199c82722543970dc8e38d5
dest-filename: waf
modules:
- name: libass
cleanup:
- /include
- /lib/*.la
- /lib/pkgconfig
config-opts:
- --disable-static
sources:
- type: archive
url: https://github.com/libass/libass/releases/download/0.17.1/libass-0.17.1.tar.xz
sha256: f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784
modules:
- name: fribidi
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
- /share/man
buildsystem: meson
config-opts:
- --buildtype=release
- -Ddocs=false
sources:
- type: git
url: https://github.com/fribidi/fribidi.git
tag: v1.0.13
commit: b54871c339dabb7434718da3fed2fa63320997e5
- name: x264
cleanup:
- /include
- /lib/pkgconfig
- /share/man
config-opts:
- --disable-cli
- --enable-shared
sources:
- type: git
url: https://code.videolan.org/videolan/x264.git
commit: 7ed753b10a61d0be95f683289dfb925b800b0676
x-checker-data:
type: json
url: https://code.videolan.org/api/v4/projects/536/repository/commits
commit-query: first( .[].id )
version-query: first( .[].id )
timestamp-query: first( .[].committed_date )
- name: nv-codec-headers
cleanup:
- '*'
no-autogen: true
make-install-args:
- PREFIX=/app
sources:
- type: git
url: https://github.com/FFmpeg/nv-codec-headers.git
commit: 855f8263d97bbdcaeabaaaa2997e1ccad7c52dc3
- name: ffmpeg
cleanup:
- /include
- /lib/pkgconfig
- /share/ffmpeg/examples
config-opts:
- --enable-shared
- --disable-static
- --enable-gnutls
- --disable-doc
- --disable-programs
- --disable-encoders
- --disable-muxers
- --enable-encoder=png
- --enable-libv4l2
- --enable-libdav1d
sources:
- type: git
url: https://git.ffmpeg.org/ffmpeg.git
commit: c185e11321ca8805ba6f4f91fab7afd8918b9ac5
- name: spotube
buildsystem: simple
build-commands:
- sed -i 's|%{{APPDATA_RELEASE}}%|<release version="3.8.3" date="2024-10-09"
/>|' spotube-src/linux/com.github.KRTirtho.Spotube.appdata.xml
- install -Dm644 spotube-src/linux/com.github.KRTirtho.Spotube.appdata.xml /app/share/appdata/com.github.KRTirtho.Spotube.appdata.xml
- desktop-file-edit spotube/spotube.desktop --set-key=Exec --set-value="spotube
%u" --set-icon=com.github.KRTirtho.Spotube
- install -Dm644 spotube/spotube-logo.png /app/share/icons/hicolor/128x128/apps/com.github.KRTirtho.Spotube.png
- install -Dm644 spotube/spotube.desktop /app/share/applications/com.github.KRTirtho.Spotube.desktop
- install -dm755 /app/bin /app/spotube
- cp -R spotube/ /app
- ln -s /app/spotube/spotube /app/bin/spotube
sources:
- type: archive
dest: spotube
url: https://github.com/KRTirtho/spotube/releases/download/v3.8.3/spotube-linux-3.8.3-x86_64.tar.xz
sha256: 42d1a1c8fa10b547e8c67c54ecae58aee9eecbc80256b106910df0a27b49b2f3
only-arches:
- x86_64
- type: archive
dest: spotube
url: https://github.com/KRTirtho/spotube/releases/download/v3.8.3/spotube-linux-3.8.3-aarch64.tar.xz
sha256: 580a66c10d1712d44abf19414bc523cd06fb4af230734758548556029ed5cb0c
only-arches:
- aarch64
- type: git
dest: spotube-src
url: https://github.com/KRTirtho/spotube
tag: v3.8.3