void-packages/srcpkgs/fluidsynth/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

31 lines
873 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@gmail.com>"
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"
}
}