-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathorg.freedesktop.LinuxAudio.Plugins.Cardinal.yml
More file actions
53 lines (53 loc) · 2.1 KB
/
org.freedesktop.LinuxAudio.Plugins.Cardinal.yml
File metadata and controls
53 lines (53 loc) · 2.1 KB
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
id: org.freedesktop.LinuxAudio.Plugins.Cardinal
runtime: org.freedesktop.LinuxAudio.BaseExtension
sdk: org.freedesktop.Sdk//25.08
runtime-version: stable
build-extension: true
branch: '25.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
- -DCMAKE_POLICY_VERSION_MINIMUM=3.5
cleanup:
- '*'
sources:
- type: archive
url: https://github.com/akheron/jansson/releases/download/v2.15.0/jansson-2.15.0.tar.bz2
sha256: a7eac7765000373165f9373eb748be039c10b2efc00be9af3467ec92357d8954
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/26.01/cardinal-26.01.tar.xz
sha256: aa5d170ff13144a7e9b91dbedb0e5572fad79c251ff216632b1ca2154ce3d79b
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