31 lines
840 B
Bash
31 lines
840 B
Bash
# Template file for 'rtmidi'
|
|
pkgname=rtmidi
|
|
version=2.1.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-alsa --with-jack"
|
|
hostmakedepends="automake libtool"
|
|
makedepends="alsa-lib-devel jack-devel"
|
|
short_desc="C++ classes for realtime MIDI input/output"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="RtMidi, MIT"
|
|
homepage="http://www.music.mcgill.ca/~gary/rtmidi/"
|
|
distfiles="https://github.com/thestk/rtmidi/archive/${version}.tar.gz"
|
|
checksum=a015fbed67c777c7bc7bbcb96c07386ba3a8ff21006b411331e6f0b9f3f14d11
|
|
|
|
pre_configure() {
|
|
sed -i 's/\($cppflag\)/\1 $CFLAGS/' configure.ac
|
|
autoreconf -fi
|
|
}
|
|
|
|
rtmidi-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|