void-packages/srcpkgs/fluidsynth/template
2022-01-03 01:21:30 +01:00

34 lines
990 B
Bash

# Template file for 'fluidsynth'
pkgname=fluidsynth
version=2.2.4
revision=2
build_style=cmake
make_check_target=check
configure_args="-DLIB_SUFFIX=
-DDEFAULT_SOUNDFONT:STRING=/usr/share/soundfonts/default.sf2"
hostmakedepends="pkg-config"
makedepends="glib-devel jack-devel libsndfile-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="http://www.fluidsynth.org/"
distfiles="https://github.com/FluidSynth/fluidsynth/archive/v${version}.tar.gz"
checksum=83cb1dba04c632ede74f0c0717018b062c0e00b639722203b23f77a961afd390
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/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}