portmidi: rebuild for metadata

This commit is contained in:
Piotr Wójcik 2018-10-24 18:59:39 +02:00 committed by Helmut Pozimski
parent 8703cee9d6
commit 0f06aad4a3
1 changed files with 15 additions and 11 deletions

View File

@ -1,22 +1,26 @@
# Template build for 'portmidi'.
# Template file for 'portmidi'
pkgname=portmidi
version=217
revision=1
short_desc="real-time input and output of MIDI data"
hostmakedepends="unzip"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL"
homepage="http://portmedia.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/portmedia/${pkgname}/${version}/${pkgname}-src-${version}.zip"
checksum="08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f"
makedepends="alsa-lib-devel"
revision=2
wrksrc="portmidi"
build_style=cmake
wrksrc=$pkgname
configure_args="-DCMAKE_INSTALL_PREFIX=/usr \
-DPORTMIDI_ENABLE_JAVA=OFF \
-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release"
hostmakedepends="unzip"
makedepends="alsa-lib-devel"
short_desc="Real-time input and output of MIDI data"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT"
homepage="http://portmedia.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/portmedia/${pkgname}/${version}/${pkgname}-src-${version}.zip"
checksum=08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f
post_install() {
vlicense license.txt
}
portmidi-devel_package() {
depends="portmidi>=${version}_${revision}"