-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
36 lines (34 loc) · 1.09 KB
/
template
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
# Template file for 'fluidsynth'
pkgname=fluidsynth
version=2.3.5
revision=1
build_style=cmake
make_check_target=check
configure_args="-DLIB_SUFFIX=
-DDEFAULT_SOUNDFONT:STRING=/usr/share/soundfonts/default.sf2"
hostmakedepends="pkg-config"
makedepends="SDL2-devel glib-devel jack-devel libsndfile-devel pipewire-devel pulseaudio-devel
libinstpatch-devel readline-devel"
short_desc="Real-time software synthesizer based on the SoundFont 2 specifications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.fluidsynth.org/"
changelog="https://github.com/FluidSynth/fluidsynth/releases"
distfiles="https://github.com/FluidSynth/fluidsynth/archive/v${version}.tar.gz"
checksum=f89e8e983ecfb4a5b4f5d8c2b9157ed18d15ed2e36246fa782f18abaea550e0d
libfluidsynth_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
fluidsynth-devel_package() {
depends="libfluidsynth>=${version} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}