-
Notifications
You must be signed in to change notification settings - Fork 1
/
ca.littlesvr.asunder.yaml
219 lines (196 loc) · 7.1 KB
/
ca.littlesvr.asunder.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
app-id: ca.littlesvr.asunder
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '24.08'
command: asunder
rename-desktop-file: asunder.desktop
rename-icon: asunder
finish-args:
- --socket=x11
- --share=ipc
# Required for CD drive access
# https://github.com/flatpak/flatpak/issues/12
- --device=all
# Required to load music metadata
- --share=network
# Required for input-output. On request of Upstream,
# full home permissions have been given.
- --filesystem=home
- --env=TMPDIR=/var/tmp
cleanup:
- /man
- /include
- /share/man
- /share/doc
- /lib/*.a
- /lib/*.la
modules:
- shared-modules/gtk2/gtk2.json
# AAC support comes in two parts, a codec and a commandline utility
- name: fdk-aac
buildsystem: autotools
config-opts:
- --prefix=/app
sources:
- type: archive
url: https://github.com/mstorsjo/fdk-aac/archive/v2.0.3.tar.gz
sha256: e25671cd96b10bad896aa42ab91a695a9e573395262baed4e4a2ff178d6a3a78
x-checker-data:
type: anitya
project-id: 16208
url-template: https://github.com/mstorsjo/fdk-aac/archive/v$version.tar.gz
- name: fdkaac
buildsystem: simple
build-commands:
- autoreconf -i
- ./configure --prefix=/app
- make
- make install
sources:
- type: archive
url: https://github.com/nu774/fdkaac/archive/v1.0.6.tar.gz
sha256: ed34c8dcae3d49d385e1ceaa380c5871cda744402358c61bcb49950a25bfae58
x-checker-data:
type: anitya
project-id: 14706
url-template: https://github.com/nu774/fdkaac/archive/v$version.tar.gz
- name: vorbis-tools
buildsystem: autotools
sources:
- type: archive
url: https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.2.tar.gz
sha256: db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0
x-checker-data:
type: anitya
project-id: 5104
url-template: https://downloads.xiph.org/releases/vorbis/vorbis-tools-$version.tar.gz
- type: patch
path: patches-vorbis/0001-fix-build-with-gcc-14.patch
cleanup:
- /bin/vorbiscomment
- /bin/ogginfo
- /bin/oggdec
- /bin/vcut
- /share/locale
- /share/runtime
# Opus splits up their packages in three disctinct components: file,
# encoder and tools. They also officially host their files at Mozilla,
# whith mirrors on Github and others.
- name: opus-file
buildsystem: autotools
sources:
- type: archive
url: https://downloads.xiph.org/releases/opus/opusfile-0.12.tar.gz
sha256: 118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b
x-checker-data:
type: anitya
project-id: 10353
url-template: https://downloads.xiph.org/releases/opus/opusfile-$version.tar.gz
- name: opus-encoder
buildsystem: autotools
sources:
- type: archive
url: https://archive.mozilla.org/pub/opus/libopusenc-0.2.1.tar.gz
sha256: 8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9
x-checker-data:
type: anitya
project-id: 17877
url-template: https://archive.mozilla.org/pub/opus/libopusenc-$version.tar.gz
- name: opus-tools
buildsystem: autotools
sources:
- type: archive
url: https://archive.mozilla.org/pub/opus/opus-tools-0.2.tar.gz
sha256: b4e56cb00d3e509acfba9a9b627ffd8273b876b4e2408642259f6da28fa0ff86
x-checker-data:
type: anitya
project-id: 7905
url-template: https://archive.mozilla.org/pub/opus/opus-tools-$version.tar.gz
# Instruction taken from org.freac.freac.json
- name: musepack
buildsystem: autotools
config-opts:
- LDFLAGS=-Wl,--allow-multiple-definition
sources:
- type: archive
url: https://files.musepack.net/source/musepack_src_r475.tar.gz
sha256: a4b1742f997f83e1056142d556a8c20845ba764b70365ff9ccf2e3f81c427b2b
- type: patch
paths:
- patches-musepack/libmpcdec.patch
- patches-musepack/libmpcdec-extern.patch
- patches-musepack/libmpcdec-fastmath-no-const.patch
- patches-musepack/libmpcdec-gcc14.patch
- type: shell
commands:
- touch include/config.h.in
- head -n 34 configure.in >> configure.ac
- echo "AM_CONDITIONAL([HAVE_VISIBILITY], [false])" >> configure.ac
- echo "AC_CHECK_LIB([m],[cos])" >> configure.ac
- tail -n 18 configure.in >> configure.ac
- rm configure.in
- autoreconf -i
# Module for easy sharing
- shared-modules/mac/mac.json
# The config.guess patches are required because the latest version of the
# libcddb is from 2008, long before aarch64 existed.
- name: libcddb
buildsystem: autotools
sources:
- type: archive
url: https://prdownloads.sourceforge.net/libcddb/libcddb-1.3.2.tar.bz2
sha256: 35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b
x-checker-data:
type: anitya
project-id: 1572
url-template: https://prdownloads.sourceforge.net/libcddb/libcddb-$version.tar.bz2
- type: patch
path: patches-libcddb/pointer-types.patch
- type: shell
commands:
- cp -p /usr/share/automake-*/config.{sub,guess} .
# The config.guess patches are required because the latest version of the
# cdparanoia is from 2006 (!), long before aarch64 existed.
# Bonus points because it needs to be renamed
- name: cdparanoia
buildsystem: simple
build-commands:
- ./configure --prefix=/app
- make all slib
- make install
sources:
- type: archive
url: https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz
sha256: 005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df
x-checker-data:
type: anitya
project-id: 15309
url-template: https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$version.src.tgz
- type: shell
commands:
- cp -p /usr/share/automake-*/config.sub ./configure.sub
- cp -p /usr/share/automake-*/config.guess ./configure.guess
- name: asunder
buildsystem: autotools
config-opts:
- --prefix=/app
sources:
- type: archive
# No HTTPS support on the main project site
url: http://littlesvr.ca/asunder/releases/asunder-3.0.1.tar.bz2
sha256: 8868e2e1b97b6687c800e7f612262a316bb857edd39883768ce628b6d253376b
x-checker-data:
type: anitya
project-id: 124
url-template: http://littlesvr.ca/asunder/releases/asunder-$version.tar.bz2
post-install:
- install -Dm 644 ./asunder.desktop -t /app/share/applications/
- install -Dm 644 ./pixmaps/asunder.png -t /app/share/icons/hicolor/128x128/apps/
- install -Dm 644 ./pixmaps/asunder.svg -t /app/share/icons/hicolor/scalable/apps/
- name: metadata
buildsystem: simple
build-commands:
- install -Dm 644 ca.littlesvr.asunder.metainfo.xml -t /app/share/metainfo/
sources:
- type: file
path: ca.littlesvr.asunder.metainfo.xml