void-packages/srcpkgs/fluidsynth/template

33 lines
944 B
Bash

# Template file for 'fluidsynth'
pkgname=fluidsynth
version=1.1.10
revision=1
build_style=cmake
configure_args="-DLIB_SUFFIX=
-DDEFAULT_SOUNDFONT:STRING=/usr/share/soundfonts/default.sf2"
hostmakedepends="pkg-config"
makedepends="glib-devel jack-devel pulseaudio-devel readline-devel libsndfile-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="https://github.com/FluidSynth/fluidsynth/archive/v${version}.tar.gz"
checksum=b74801d0fdd726c4555149bf075b76dc4074658ec0a8f7a3753f4a64589e5300
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"
}
}