New package: rtmidi-2.1.1

This commit is contained in:
Duncaen 2017-05-06 16:12:53 +02:00
parent 0119bf7576
commit 576c89c34e
3 changed files with 32 additions and 0 deletions

View File

@ -2836,3 +2836,4 @@ libPocoFoundation.so.48 poco-1.7.8p2_1
libPocoXML.so.48 poco-1.7.8p2_1
libPocoUtil.so.48 poco-1.7.8p2_1
libopenblas.so.0 openblas-0.2.19_1
librtmidi.so.3 rtmidi-2.1.1_1

1
srcpkgs/rtmidi-devel Symbolic link
View File

@ -0,0 +1 @@
rtmidi

30
srcpkgs/rtmidi/template Normal file
View File

@ -0,0 +1,30 @@
# 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"
}
}