-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.clementine_player.clementine.yaml
226 lines (226 loc) · 5.82 KB
/
org.clementine_player.clementine.yaml
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
---
app-id: "org.clementine_player.clementine"
branch: qt5
runtime: org.kde.Platform
runtime-version: "5.11"
sdk: org.kde.Sdk
command: "clementine"
finish-args:
- "--filesystem=home"
- "--filesystem=xdg-music:create"
- "--filesystem=host:ro"
- "--socket=pulseaudio"
- "--socket=x11"
- "--socket=wayland"
- "--share=network"
- "--share=ipc"
- "--device=dri"
- "--own-name=org.mpris.MediaPlayer2.clementine"
- "--talk-name=org.mpris.MediaPlayer2.Player"
- "--talk-name=org.freedesktop.Notifications"
- "--system-talk-name=org.freedesktop.UDisks2"
- "--talk-name=org.kde.StatusNotifierWatcher"
- "--system-talk-name=org.mpris.MediaPlayer2"
- "--system-talk-name=org.freedesktop.Avahi"
- "--talk-name=org.wiimotedev.deviceEvents"
rename-icon: "clementine"
rename-desktop-file: "clementine.desktop"
rename-appdata-file: "clementine.appdata.xml"
modules:
- name: "boost-headers"
buildsystem: simple
cleanup:
- "/include"
build-commands:
- "mkdir -p /app/include"
- "cp -r ./boost /app/include/boost"
sources:
- type: archive
url: "https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz"
sha256: 882b48708d211a5f48e60b0124cf5863c1534cd544ecd0664bb534a4b5d506e9
- name: "libmtp"
buildsystem: autotools
config-opts:
- "--disable-static"
- "--with-udev=/app/lib/udev"
sources:
- type: archive
url: "http://distcache.freebsd.org/ports-distfiles/libmtp-1.1.16.tar.gz"
sha256: 5b68f9dd1ed38de558de687f40e255a39e4d5e32ef3de601f0ac19dd5682bba0
cleanup:
- "/bin"
- "/include"
- "/lib/pkgconfig"
- "/lib/*.la"
modules:
- name: "libusb"
buildsystem: autotools
config-opts:
- "--disable-static"
cleanup:
- "/include"
- "/lib/*.la"
- "/lib/pkgconfig"
- "/share"
- "/etc"
sources:
- type: git
url: "https://github.com/libusb/libusb.git"
tag: v1.0.22
commit: 0034b2afdcdb1614e78edaa2a9e22d5936aeae5d
modules:
- "flathub-shared-modules/udev/udev-175.json"
- name: "protobuf"
buildsystem: autotools
config-opts:
- "--disable-static"
sources:
- type: archive
url: "https://github.com/protocolbuffers/protobuf/releases/download/v3.7.0/protobuf-cpp-3.7.0.tar.gz"
sha256: 797e759e6daf644be4c09070d4777d178b538dca310cc4956fde4b51b02ba2d3
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/lib/*.la"
- "/bin"
- name: "fftw3f"
buildsystem: cmake-ninja
config-opts:
- "-DENABLE_FLOAT=ON"
- "-DENABLE_SSE2=ON"
sources:
- type: archive
url: "http://fftw.org/fftw-3.3.8.tar.gz"
sha256: 6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/lib/cmake"
- name: "fftw3"
buildsystem: cmake-ninja
config-opts:
- "-DENABLE_SSE2=ON"
sources:
- type: archive
url: "http://fftw.org/fftw-3.3.8.tar.gz"
sha256: 6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/lib/cmake"
- name: "libchromaprint"
buildsystem: cmake-ninja
sources:
- type: git
url: "https://github.com/acoustid/chromaprint.git"
commit: ecc8bc291f4efd5e61722bb0f701fca6c7451293
cleanup:
- "/include"
- "/lib/pkgconfig"
- "flathub-shared-modules/glu/glu-9.0.0.json"
- "flathub-shared-modules/glew/glew.json"
- name: "crypto++"
buildsystem: autotools
no-autogen: true
make-args:
- "static"
- "libcryptopp.pc"
- "PREFIX=/app"
make-install-args:
- "PREFIX=/app"
sources:
- type: git
url: "https://github.com/weidai11/cryptopp.git"
tag: "CRYPTOPP_8_1_0"
commit: 1c34979592f7d5e5d73e265a9c8650cc006620d2
cleanup:
- "/bin"
- "/include"
- "/lib"
- "/share"
- name: "libcdio"
buildsystem: autotools
config-opts:
# took these from fedora's SRPM
- "--disable-vcd-info"
- "--disable-dependency-tracking"
- "--disable-cddb"
- "--disable-static"
- "--disable-rpath"
- "--without-cdda-player"
sources:
- type: archive
url: "https://ftp.gnu.org/gnu/libcdio/libcdio-2.0.0.tar.gz"
sha256: 1b481b5da009bea31db875805665974e2fc568e2b2afa516f4036733657cf958
cleanup:
- "/include"
- "/lib/*.la"
- "/lib/pkgconfig"
- "/bin"
- "/share"
- name: "taglib"
buildsystem: cmake-ninja
sources:
- type: archive
url: "http://taglib.org/releases/taglib-1.11.1.tar.gz"
sha256: b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b
cleanup:
- "/bin"
- "/include"
- "/lib"
- name: "sparsehash"
buildsystem: autotools
sources:
- type: git
url: "https://github.com/sparsehash/sparsehash.git"
commit: 4cb924025b8c622d1a1e11f4c1e9db15410c75fb
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/share"
- name: "qjson"
buildsystem: cmake-ninja
config-opts:
- "-DQT4_BUILD=OFF"
sources:
- type: git
url: "https://github.com/flavio/qjson.git"
commit: 4920592171ccf83029f004880ad02aa34a60c0ab
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/lib/cmake"
- name: "liblastfm"
buildsystem: cmake-ninja
config-opts:
- "-DBUILD_TESTS=OFF"
- "-DBUILD_WITH_QT4=OFF"
sources:
- type: git
url: "https://github.com/lastfm/liblastfm.git"
commit: 73cd7ea746103570b8226bc4f6f20fe7ce0aacf7
cleanup:
- "/include"
#- name: "sqlite3" # used to be included in org.kde.Sdk//5.11 but not present in 5.12
#buildsystem: autotools
#sources:
#- type: archive
# url: "https://sqlite.org/2019/sqlite-autoconf-3270200.tar.gz"
# sha256: 50c39e85ea28b5ecfdb3f9e860afe9ba606381e21836b2849efca6a0bfe6ef6e
#cleanup:
#- "/include"
#- "/lib"
#- "/share"
#- "/bin"
- name: "clementine-qt5"
buildsystem: cmake-ninja
builddir: true
config-opts:
- "-DSQLITE_INCLUDE_DIRS=/usr/include"
- "-DSQLITE_LIBRARIES=/usr/lib/libsqlite3.so" # only available on 5.11
sources:
- type: git
url: "https://github.com/clementine-player/Clementine.git"
commit: 36cc5b82f4daf5c2d4e93dc8072665e5a3ca622b
- type: patch
path: "cryptopp-pkg-name.patch"