blob: debff3640045eee9635d1ef9853ab07b9f1b129d (
plain)
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
|
# Maintainer: Nikos Toutountzoglou <nikos dot toutou at protonmail dot com>
# Contributor: éclairevoyant
# Contributor: Sefa Eyeoglu <contact at scrumplex dot net>
# Contributor: Alexandros Theodotou <alex at zrythm dot org>
pkgname=zrythm
pkgver=1.0.0
pkgrel=3
pkgdesc="A feature-rich digital audio workstation with support for various plugin formats and advanced audio processing capabilities"
arch=('x86_64' 'aarch64')
url="https://www.zrythm.org/"
license=('LicenseRef-ZrythmLicense')
depends=(
'bash'
'carla-git'
'cairo'
'curl'
'dconf'
'fftw'
'file'
'fluidsynth'
'fontconfig'
'gcc-libs'
'gdk-pixbuf2'
'glib2'
'glibc'
'graphene'
'gtk4'
'gtksourceview5'
'hicolor-icon-theme'
'libadwaita'
'libbacktrace'
'libcyaml'
'libglvnd'
'liblo'
'libpanel'
'libpulse'
'libsndfile'
'libsoxr'
'libx11'
'libxcursor'
'libxext'
'libxrandr'
'lsp-dsp-lib'
'pango'
'pcre2'
'pipewire-jack'
'qt5-base'
'rubberband'
'rtaudio'
'rtmidi'
'sdl2'
'vamp-plugin-sdk'
'xxhash'
'yyjson'
'zix'
'zstd'
)
makedepends=(
'blueprint-compiler'
'boost'
'glib2-devel'
'guile'
'help2man'
'lilv'
'meson'
'sassc'
)
optdepends=(
'graphviz: for process graph export (only used for debugging)'
'jack: low latency audio/MIDI backend'
'libsoundio: alternative audio backend'
'portaudio: alternative audio backend'
'realtime-privileges: for real-time scheduling privileges'
)
source=("https://www.zrythm.org/releases/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha256sums=('d143a0a17066b50db8a6db875d2699c9e5b70f1bbe18db00fee034840144fede'
'SKIP')
validpgpkeys=('48132384AD3DF7D86E254B83022EAE42313D70F3') # Alexandros Theodotou <alex@zrythm.org>
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
local meson_options=(
-Dcarla=enabled
-Dopus=true
-Drtaudio=enabled
-Drtmidi=enabled
-Dsdl=enabled
-Dcheck_updates=false
-Dgraphviz=disabled # Enable/Disable Graphviz support
-Dportaudio=disabled # Enable/Disable PortAudio support
-Dsoundio=disabled # Enable/Disable libsoundio support
)
arch-meson build "${meson_options[@]}"
ninja -C build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Install the package
DESTDIR="${pkgdir}" ninja -C build install
# Install the custom license file
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSES/LicenseRef-ZrythmLicense.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/LicenseRef-ZrythmLicense.txt"
# Clean up any paths referencing ${srcdir}
find "${pkgdir}" -type f -exec sed -i "s|${srcdir}|/usr/share/zrythm|g" {} +
}
# vim:set ts=2 sw=2 et:
|