void-packages/srcpkgs/fluidsynth/template

31 lines
876 B
Bash

# Template file for 'fluidsynth'
pkgname=fluidsynth
version=1.1.6
revision=5
build_style=cmake
configure_args="-DLIB_SUFFIX="
hostmakedepends="pkg-config cmake"
makedepends="glib-devel jack-devel pulseaudio-devel readline-devel"
short_desc="Real-time software synthesizer based on the SoundFont 2 specifications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.fluidsynth.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=50853391d9ebeda9b4db787efb23f98b1e26b7296dd2bb5d0d96b5bccee2171c
libfluidsynth_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
fluidsynth-devel_package() {
depends="libfluidsynth>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}