svn commit: r533206 - in head/audio: . playumidi
Matthias Andree
mandree at FreeBSD.org
Mon Apr 27 22:20:41 UTC 2020
Author: mandree
Date: Mon Apr 27 22:20:40 2020
New Revision: 533206
URL: https://svnweb.freebsd.org/changeset/ports/533206
Log:
NEW audio/playumidi: standard MIDI format 0/1 player for umidi devices
"playumidi" is the "SIMPLE" MIDI file player for USB MIDI device on FreeBSD.
This software is able to direct control for FreeBSD-umidi device(/dev/umidi*.*)
in the "uaudio" driver.
Therefore, You don't need to use the "/dev/sequencer" device or the other
software when listening the MIDI-file music.
And, Support for auto-judge MIDI-file XG/GS/GM mode & auto add the
Tone-Generator ReSet code when the ReSet code isn't exist in a MIDI-file.
WWW: https://ja.osdn.net/projects/playumidi/
PR: 239774
Submitted by: Koine Yuusuke <koinec at yahoo.co.jp>
Added:
head/audio/playumidi/
head/audio/playumidi/Makefile (contents, props changed)
head/audio/playumidi/distinfo (contents, props changed)
head/audio/playumidi/pkg-descr (contents, props changed)
head/audio/playumidi/pkg-message (contents, props changed)
Modified:
head/audio/Makefile
Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile Mon Apr 27 21:39:27 2020 (r533205)
+++ head/audio/Makefile Mon Apr 27 22:20:40 2020 (r533206)
@@ -632,6 +632,7 @@
SUBDIR += play
SUBDIR += playgsf
SUBDIR += playmidi
+ SUBDIR += playumidi
SUBDIR += pm3umpdl
SUBDIR += pms
SUBDIR += pms-devel
Added: head/audio/playumidi/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/playumidi/Makefile Mon Apr 27 22:20:40 2020 (r533206)
@@ -0,0 +1,31 @@
+# Created by: Koine Yuusuke(koinec) <koinec at yahoo.co.jp>
+# $FreeBSD$
+
+PORTNAME= playumidi
+PORTVERSION= 0.8.2
+CATEGORIES= audio
+MASTER_SITES= OSDN/playumidi/71406
+
+MAINTAINER= koinec at users.osdn.me
+COMMENT= Standard MIDI format 0/1 player for FreeBSD USB-MIDI(umidi) device
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+PLIST_FILES= bin/playumidi man/man1/playumidi.1.gz
+
+OPTIONS_DEFINE= LIBICONV DEBUG
+OPTIONS_DEFAULT= LIBICONV
+
+LIBICONV_DESC= Enable encoing conversion support with libiconv
+
+DEBUG_MAKE_ARGS= -DWITH_DEBUG
+
+LIBICONV_LIB_DEPENDS= libiconv.so:converters/libiconv
+LIBICONV_MAKE_ARGS= -DWITH_ICONV
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/playumidi ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/playumidi.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
Added: head/audio/playumidi/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/playumidi/distinfo Mon Apr 27 22:20:40 2020 (r533206)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565487633
+SHA256 (playumidi-0.8.2.tar.gz) = d007844d85abc76faa0d4ec37fd2718a61755d586155ac1922a98f909161aa86
+SIZE (playumidi-0.8.2.tar.gz) = 21998
Added: head/audio/playumidi/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/playumidi/pkg-descr Mon Apr 27 22:20:40 2020 (r533206)
@@ -0,0 +1,12 @@
+"playumidi" is the "SIMPLE" MIDI file player for USB MIDI device on FreeBSD.
+This software is able to direct control for FreeBSD-umidi device(/dev/umidi*.*)
+in the "uaudio" driver.
+Therefore, You don't need to use the "/dev/sequencer" device or the other
+software when listening the MIDI-file music.
+And, Support for auto-judge MIDI-file XG/GS/GM mode & auto add the
+Tone-Generator ReSet code when the ReSet code isn't exist in a MIDI-file.
+
+WWW: https://ja.osdn.net/projects/playumidi/
+
+- Koine Yuusuke (koinec)
+ koinec at users.osdn.me
Added: head/audio/playumidi/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/playumidi/pkg-message Mon Apr 27 22:20:40 2020 (r533206)
@@ -0,0 +1,21 @@
+playumidi directly opens, writes midi-event data,
+and closes the umidi* device files.
+So, it is necessary to grant the R/W privileges(666)
+to umidi* device file before use playumidi.
+
+Therefore, there is a need to grant permissions to R/W
+prior to use.
+An example of the setting method is shown below.
+
+ 1. Append to devfs.rules (in etc dir.) the following lines.
+ ------------------------------------------
+ [system=10]
+ add path 'umidi*' mode 0666 group wheel
+ ------------------------------------------
+
+ 2. Append to rc.conf (in etc dir.) the following three lines.
+ ------------------------------------------
+ devfs_enable="YES"
+ ------------------------------------------
+
+ 3. Reboot FreeBSD (shutdown -r now)
More information about the svn-ports-all
mailing list