void-packages/srcpkgs/osmid/template

31 lines
819 B
Bash

# Template file for 'osmid'
pkgname=osmid
version=0.6.8
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libX11-devel"
short_desc="Tool to convert MIDI to OSC and OSC to MIDI"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MIT, ISC, GPL-3.0-or-later"
homepage="https://github.com/llloret/osmid/"
distfiles="https://github.com/llloret/osmid/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=bc5dab015ed2a97f85b75f7e9b19931ea6191ac7033c2568a0fa035b817bd173
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel" ;;
esac
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) vsed -i CMakeLists.txt \
-e "/target_link_libraries/s/X11)/X11 execinfo)/"
;;
esac
}
post_install() {
vlicense LICENSE.md
vdoc README.md
}