-
Notifications
You must be signed in to change notification settings - Fork 1
/
org.freedesktop.LinuxAudio.Plugins.Cardinal.yml
52 lines (52 loc) · 2.05 KB
/
org.freedesktop.LinuxAudio.Plugins.Cardinal.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
id: org.freedesktop.LinuxAudio.Plugins.Cardinal
runtime: org.freedesktop.LinuxAudio.BaseExtension
sdk: org.freedesktop.Sdk//24.08
runtime-version: stable
build-extension: true
branch: '24.08'
build-options:
prefix: /app/extensions/Plugins/Cardinal
prepend-pkg-config-path: /app/extensions/Plugins/Cardinal/lib/pkgconfig
prepend-ld-library-path: /app/extensions/Plugins/Cardinal/lib
modules:
- name: jansson
buildsystem: cmake-ninja
config-opts:
- -DJANSSON_BUILD_DOCS=OFF
cleanup:
- '*'
sources:
- type: archive
url: https://github.com/akheron/jansson/releases/download/v2.14/jansson-2.14.tar.bz2
sha256: fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9
x-checker-data:
type: anitya
project-id: 1417
url-template: https://github.com/akheron/jansson/releases/download/v$version/jansson-$version.tar.bz2
- name: Cardinal
buildsystem: simple
build-options:
env:
AR: gcc-ar
no-parallel-make: true
build-commands:
- make PREFIX=${FLATPAK_DEST} SYSDEPS=true WITH_LTO=false -j $FLATPAK_BUILDER_N_JOBS
- make PREFIX=${FLATPAK_DEST} install
post-install:
- ln -s lib/lv2 ${FLATPAK_DEST}/lv2
- ln -s lib/vst ${FLATPAK_DEST}/vst
- ln -s lib/vst3 ${FLATPAK_DEST}/vst3
- ln -s lib/clap ${FLATPAK_DEST}/clap
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.freedesktop.LinuxAudio.Plugins.Cardinal.metainfo.xml
sources:
- type: archive
url: https://github.com/DISTRHO/Cardinal/releases/download/24.09/cardinal-24.09.tar.xz
sha256: d0dcbe623e77634b6a2f87827b3196c394863f75a09cf1b38082622afb75a038
x-checker-data:
type: json
url: https://api.github.com/repos/DISTRHO/Cardinal/releases/latest
url-query: '[.assets[] | select(.name | test("cardinal-[0-9.]+\\.tar\\.xz"))]
| first | .browser_download_url'
version-query: .tag_name
- type: file
path: org.freedesktop.LinuxAudio.Plugins.Cardinal.metainfo.xml