0d81a9a16f
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
30 lines
813 B
Bash
30 lines
813 B
Bash
# Template file for 'osmid'
|
|
pkgname=osmid
|
|
version=0.6.5
|
|
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, GPL-2.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=2d6fe2b67bcb60b700f38be3bcece59003e394cd214e13f78c1f4a872b0d9508
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" libexecinfo-devel" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) sed -i CMakeLists.txt \
|
|
-e "/target_link_libraries/s/X11)/X11 execinfo)/"
|
|
;;
|
|
esac
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
vdoc README.md
|
|
}
|