diff options
author | yuri <yuri@FreeBSD.org> | 2017-11-12 04:01:20 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2017-11-12 04:01:20 +0800 |
commit | e600f107f6bd2bb8159e3cbef9a05094cc57f0ff (patch) | |
tree | 68b776a660234de419b00d8bfb837e8ae6572b09 /audio | |
parent | 17adbd66a9f51330fd3002c50db0a0d2ec3b80b2 (diff) | |
download | freebsd-ports-gnome-e600f107f6bd2bb8159e3cbef9a05094cc57f0ff.tar.gz freebsd-ports-gnome-e600f107f6bd2bb8159e3cbef9a05094cc57f0ff.tar.zst freebsd-ports-gnome-e600f107f6bd2bb8159e3cbef9a05094cc57f0ff.zip |
New port: audio/vmpk: Virtual MIDI Piano Keyboard
PR: 221460
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D13045
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/vmpk/Makefile | 31 | ||||
-rw-r--r-- | audio/vmpk/distinfo | 3 | ||||
-rw-r--r-- | audio/vmpk/files/patch-cmake__admin_CreateManpages.cmake | 9 | ||||
-rw-r--r-- | audio/vmpk/files/patch-man_CMakeLists.txt | 9 | ||||
-rw-r--r-- | audio/vmpk/pkg-descr | 8 | ||||
-rw-r--r-- | audio/vmpk/pkg-plist | 33 |
7 files changed, 94 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 589ace7b0587..326166d40a89 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -827,6 +827,7 @@ SUBDIR += virtual_oss_ctl SUBDIR += vitunes SUBDIR += vm-lv2 + SUBDIR += vmpk SUBDIR += vo-aacenc SUBDIR += vo-amrwbenc SUBDIR += voipong diff --git a/audio/vmpk/Makefile b/audio/vmpk/Makefile new file mode 100644 index 000000000000..1bb02dd919de --- /dev/null +++ b/audio/vmpk/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= vmpk +DISTVERSION= 0.6.2 +DISTVERSIONSUFFIX= a +CATEGORIES= audio +MASTER_SITES= https://phoenixnap.dl.sourceforge.net/project/vmpk/vmpk/${PORTVERSION}/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Virtual MIDI Piano Keyboard + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libdrumstick-rt.so:audio/drumstick + +USES= cmake:outsource pkgconfig tar:bz2 +USE_QT5= core gui network svg widgets x11extras \ + buildtools_build linguisttools_build qmake_build +USE_XORG= xcb + +CMAKE_ARGS= -DXSLTPROC_EXECUTABLE="OFF" + +OPTIONS_DEFINE= DBUS MANPAGES +OPTIONS_DEFAULT= MANPAGES +OPTIONS_SUB= yes + +DBUS_CMAKE_BOOL= ENABLE_DBUS +DBUS_USE= qt5=dbus + +.include <bsd.port.mk> diff --git a/audio/vmpk/distinfo b/audio/vmpk/distinfo new file mode 100644 index 000000000000..cd856dd4361d --- /dev/null +++ b/audio/vmpk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1502588785 +SHA256 (vmpk-0.6.2a.tar.bz2) = d1453497690bf4df9155a3414b149b79c6ce5e474f00985d8ccdd9be678ca908 +SIZE (vmpk-0.6.2a.tar.bz2) = 452963 diff --git a/audio/vmpk/files/patch-cmake__admin_CreateManpages.cmake b/audio/vmpk/files/patch-cmake__admin_CreateManpages.cmake new file mode 100644 index 000000000000..1b0fcb84e355 --- /dev/null +++ b/audio/vmpk/files/patch-cmake__admin_CreateManpages.cmake @@ -0,0 +1,9 @@ +--- cmake_admin/CreateManpages.cmake.orig 2015-12-29 15:59:13 UTC ++++ cmake_admin/CreateManpages.cmake +@@ -31,5 +31,5 @@ MACRO(CREATE_MANPAGES) + ENDFOREACH (it) + ADD_CUSTOM_TARGET(manpages ALL DEPENDS ${outfiles}) + INSTALL ( FILES ${outfiles} +- DESTINATION share/man/man1 ) ++ DESTINATION man/man1 ) + ENDMACRO(CREATE_MANPAGES) diff --git a/audio/vmpk/files/patch-man_CMakeLists.txt b/audio/vmpk/files/patch-man_CMakeLists.txt new file mode 100644 index 000000000000..5d1993cd217c --- /dev/null +++ b/audio/vmpk/files/patch-man_CMakeLists.txt @@ -0,0 +1,9 @@ +--- man/CMakeLists.txt.orig 2015-12-29 15:59:14 UTC ++++ man/CMakeLists.txt +@@ -21,5 +21,5 @@ IF(XSLTPROC_EXECUTABLE) + CREATE_MANPAGES(vmpk.xml) + ELSE(XSLTPROC_EXECUTABLE) + MESSAGE(STATUS "XSLTPROC NOT Found") +- INSTALL( FILES vmpk.1 DESTINATION share/man/man1 ) ++ INSTALL( FILES vmpk.1 DESTINATION man/man1 ) + ENDIF(XSLTPROC_EXECUTABLE) diff --git a/audio/vmpk/pkg-descr b/audio/vmpk/pkg-descr new file mode 100644 index 000000000000..429a8e81fbcf --- /dev/null +++ b/audio/vmpk/pkg-descr @@ -0,0 +1,8 @@ +Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It doesn't +produce any sound by itself, but can be used to drive a MIDI synthesizer +(either hardware or software, internal or external). You can use the computer's +keyboard to play MIDI notes, and also the mouse. You can use the Virtual MIDI +Piano Keyboard to display the played MIDI notes from another instrument or MIDI +file player. To do so, connect the other MIDI port to the input port of VMPK. + +WWW: http://vmpk.sourceforge.net diff --git a/audio/vmpk/pkg-plist b/audio/vmpk/pkg-plist new file mode 100644 index 000000000000..148075e12f17 --- /dev/null +++ b/audio/vmpk/pkg-plist @@ -0,0 +1,33 @@ +bin/vmpk +%%MANPAGES%%man/man1/vmpk.1.gz +share/applications/vmpk.desktop +share/icons/hicolor/128x128/apps/vmpk.png +share/icons/hicolor/16x16/apps/vmpk.png +share/icons/hicolor/32x32/apps/vmpk.png +share/icons/hicolor/48x48/apps/vmpk.png +share/icons/hicolor/64x64/apps/vmpk.png +share/icons/hicolor/scalable/apps/vmpk.svgz +%%DATADIR%%/Serbian-cyr.xml +%%DATADIR%%/Serbian-lat.xml +%%DATADIR%%/azerty.xml +%%DATADIR%%/german.xml +%%DATADIR%%/gmgsxg.ins +%%DATADIR%%/help.html +%%DATADIR%%/help_es.html +%%DATADIR%%/help_ru.html +%%DATADIR%%/help_sr.html +%%DATADIR%%/it-qwerty.xml +%%DATADIR%%/locale/vmpk_cs.qm +%%DATADIR%%/locale/vmpk_de.qm +%%DATADIR%%/locale/vmpk_es.qm +%%DATADIR%%/locale/vmpk_fr.qm +%%DATADIR%%/locale/vmpk_gl.qm +%%DATADIR%%/locale/vmpk_ru.qm +%%DATADIR%%/locale/vmpk_sr.qm +%%DATADIR%%/locale/vmpk_sv.qm +%%DATADIR%%/pc102mac.xml +%%DATADIR%%/pc102win.xml +%%DATADIR%%/pc102x11.xml +%%DATADIR%%/spanish.xml +%%DATADIR%%/txt2ins.awk +%%DATADIR%%/vkeybd-default.xml |