Index: head/audio/Makefile =================================================================== --- head/audio/Makefile +++ head/audio/Makefile @@ -485,6 +485,7 @@ SUBDIR += mctoolame-encoder SUBDIR += mda-lv2 SUBDIR += mhwaveedit + SUBDIR += midi-matrix-lv2 SUBDIR += midipp SUBDIR += mikmod SUBDIR += milkytracker Index: head/audio/midi-matrix-lv2/Makefile =================================================================== --- head/audio/midi-matrix-lv2/Makefile +++ head/audio/midi-matrix-lv2/Makefile @@ -0,0 +1,25 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= midi-matrix +PORTVERSION= 0.20.0 +CATEGORIES= audio +MASTER_SITES= https://gitlab.com/OpenMusicKontrollers/midi_matrix.lv2/repository/archive.tar.gz?ref=${PORTVERSION}&dummy=/ +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@rawbw.com +COMMENT= LV2 'Midi Matrix' plugin bundle: 'Channel Filter' + +LICENSE= ART20 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= lv2>0:audio/lv2 + +USES= cmake pkgconfig +USE_XORG= x11 xext +USE_GL= gl glu + +post-extract: + @${MV} ${WRKDIR}/midi_matrix* ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +.include Index: head/audio/midi-matrix-lv2/distinfo =================================================================== --- head/audio/midi-matrix-lv2/distinfo +++ head/audio/midi-matrix-lv2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1502216898 +SHA256 (midi-matrix-0.20.0.tar.gz) = 1ff8478d2610c4b216a02052bde24929a54d89af31eb0c1a3e7e1ff5d07b7980 +SIZE (midi-matrix-0.20.0.tar.gz) = 1719808 Index: head/audio/midi-matrix-lv2/files/patch-pugl_pugl_pugl__x11.c =================================================================== --- head/audio/midi-matrix-lv2/files/patch-pugl_pugl_pugl__x11.c +++ head/audio/midi-matrix-lv2/files/patch-pugl_pugl_pugl__x11.c @@ -0,0 +1,11 @@ +--- pugl/pugl/pugl_x11.c.orig 2017-05-16 21:46:21 UTC ++++ pugl/pugl/pugl_x11.c +@@ -648,7 +648,7 @@ puglPasteFromClipboard(PuglView* view, s + if( (xevent.xselection.selection == impl->clipboard) + && (xevent.xselection.target == impl->utf8_string) + && (xevent.xselection.property == XA_PRIMARY) ) { +- ulong nitems, rem; ++ uint32_t nitems, rem; + int format; + uint8_t* data; + Atom type; Index: head/audio/midi-matrix-lv2/pkg-descr =================================================================== --- head/audio/midi-matrix-lv2/pkg-descr +++ head/audio/midi-matrix-lv2/pkg-descr @@ -0,0 +1,9 @@ +The Midi Matrix (Channel Filter) is a 3-in-1 filter plugin with a simple UI +enabling you to easily accomplish: +* MIDI channel filtering (e.g. blocking of specific channels) +* MIDI channel multiplication (e.g. send events from channel X to channels + X, Y and Z) +* MIDI channel rerouting (e.g send events from channel X to channel Y) +* And any possible combination thereof + +WWW: http://open-music-kontrollers.ch/lv2/midi_matrix Index: head/audio/midi-matrix-lv2/pkg-plist =================================================================== --- head/audio/midi-matrix-lv2/pkg-plist +++ head/audio/midi-matrix-lv2/pkg-plist @@ -0,0 +1,6 @@ +lib/lv2/midi_matrix.lv2/Cousine-Regular.ttf +lib/lv2/midi_matrix.lv2/manifest.ttl +lib/lv2/midi_matrix.lv2/midi_matrix.so +lib/lv2/midi_matrix.lv2/midi_matrix.ttl +lib/lv2/midi_matrix.lv2/midi_matrix_ui.so +lib/lv2/midi_matrix.lv2/midi_matrix_ui.ttl