36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'fluidsynth'
|
|
pkgname=fluidsynth
|
|
version=2.3.3
|
|
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 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=321f7d3f72206b2522f30a1cb8ad1936fd4533ffc4d29dd335b1953c9fb371e6
|
|
|
|
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"
|
|
}
|
|
}
|