Index: head/audio/Makefile =================================================================== --- head/audio/Makefile +++ head/audio/Makefile @@ -813,6 +813,7 @@ SUBDIR += virtual_oss SUBDIR += virtual_oss_ctl SUBDIR += vitunes + SUBDIR += vm-lv2 SUBDIR += vo-aacenc SUBDIR += vo-amrwbenc SUBDIR += voipong Index: head/audio/vm-lv2/Makefile =================================================================== --- head/audio/vm-lv2/Makefile +++ head/audio/vm-lv2/Makefile @@ -0,0 +1,29 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= vm +PORTVERSION= 0.4.0 +CATEGORIES= audio +MASTER_SITES= https://gitlab.com/OpenMusicKontrollers/vm.lv2/repository/archive.tar.gz?ref=${PORTVERSION}&dummy=/ +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@rawbw.com +COMMENT= Virtual machine LV2 plugin bundle + +LICENSE= ART20 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= lv2>0:audio/lv2 +LIB_DEPENDS= liblilv-0.so:audio/lilv \ + libserd-0.so:devel/serd \ + libsord-0.so:devel/sord \ + libsratom-0.so:audio/sratom + +USES= cmake compiler:c++11-lib pkgconfig localbase +USE_XORG= x11 xext +USE_GL= gl glu + +post-extract: + @${MV} ${WRKDIR}/vm* ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +.include Index: head/audio/vm-lv2/distinfo =================================================================== --- head/audio/vm-lv2/distinfo +++ head/audio/vm-lv2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1502075538 +SHA256 (vm-0.4.0.tar.gz) = 6b816a271caf68efa3649252613a50c5799628590ae761491e0e2652b1a0fbe9 +SIZE (vm-0.4.0.tar.gz) = 1745498 Index: head/audio/vm-lv2/files/patch-pugl_pugl_pugl__x11.c =================================================================== --- head/audio/vm-lv2/files/patch-pugl_pugl_pugl__x11.c +++ head/audio/vm-lv2/files/patch-pugl_pugl_pugl__x11.c @@ -0,0 +1,11 @@ +--- pugl/pugl/pugl_x11.c.orig 2017-08-07 03:15:15 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/vm-lv2/pkg-descr =================================================================== --- head/audio/vm-lv2/pkg-descr +++ head/audio/vm-lv2/pkg-descr @@ -0,0 +1,12 @@ +Currently the following plugins are contained in this plugin bundle: +* Control VM + Virtual machine for LV2 Control ports. Features 8 inputs and 8 outputs. +* CV VM + Virtual machine for LV2 Control Voltage ports. Features 8 inputs + and 8 outputs. +* Audio VM + Virtual machine for LV2 Audio ports. Features 8 inputs and 8 outputs. +* Atom VM + Virtual machine for LV2 Atom event ports. Features 8 inputs and 8 outputs. + +WWW: https://open-music-kontrollers.ch/lv2/vm/ Index: head/audio/vm-lv2/pkg-plist =================================================================== --- head/audio/vm-lv2/pkg-plist +++ head/audio/vm-lv2/pkg-plist @@ -0,0 +1,6 @@ +lib/lv2/vm.lv2/Cousine-Regular.ttf +lib/lv2/vm.lv2/manifest.ttl +lib/lv2/vm.lv2/vm.so +lib/lv2/vm.lv2/vm.ttl +lib/lv2/vm.lv2/vm_ui.so +lib/lv2/vm.lv2/vm_ui.ttl