From 0f06aad4a3d606ec4463c6dd80e4c9c85ce45235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Wed, 24 Oct 2018 18:59:39 +0200 Subject: [PATCH] portmidi: rebuild for metadata --- srcpkgs/portmidi/template | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/srcpkgs/portmidi/template b/srcpkgs/portmidi/template index 93e9f79f7f..0049334bdf 100644 --- a/srcpkgs/portmidi/template +++ b/srcpkgs/portmidi/template @@ -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 " -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 " +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}"