From owner-svn-ports-head@freebsd.org Sat Nov 11 08:32:27 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DD9DE64E60; Sat, 11 Nov 2017 08:32:27 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77BC979044; Sat, 11 Nov 2017 08:32:27 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAB8WQG7095227; Sat, 11 Nov 2017 08:32:26 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAB8WPEZ095220; Sat, 11 Nov 2017 08:32:25 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711110832.vAB8WPEZ095220@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 11 Nov 2017 08:32:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453960 - in head/audio: . polyphone polyphone/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/audio: . polyphone polyphone/files X-SVN-Commit-Revision: 453960 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 08:32:27 -0000 Author: yuri Date: Sat Nov 11 08:32:25 2017 New Revision: 453960 URL: https://svnweb.freebsd.org/changeset/ports/453960 Log: New port: audio/polyphone: Graphical user interface for editing soundfont (sf2 and sfz) files PR: 221400 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D12904 Added: head/audio/polyphone/ head/audio/polyphone/Makefile (contents, props changed) head/audio/polyphone/distinfo (contents, props changed) head/audio/polyphone/files/ head/audio/polyphone/files/patch-sfark_sfarkextractor1.cpp (contents, props changed) head/audio/polyphone/files/polyphone.desktop (contents, props changed) head/audio/polyphone/files/polyphone.xml (contents, props changed) head/audio/polyphone/pkg-descr (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Sat Nov 11 08:15:42 2017 (r453959) +++ head/audio/Makefile Sat Nov 11 08:32:25 2017 (r453960) @@ -635,6 +635,7 @@ SUBDIR += pm3umpdl SUBDIR += pms SUBDIR += pocketsphinx + SUBDIR += polyphone SUBDIR += portaudio SUBDIR += praat SUBDIR += pragha Added: head/audio/polyphone/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/polyphone/Makefile Sat Nov 11 08:32:25 2017 (r453960) @@ -0,0 +1,50 @@ +# $FreeBSD$ + +PORTNAME= polyphone +DISTVERSION= 1.8 +DISTVERSIONSUFFIX= -src +CATEGORIES= audio +MASTER_SITES= http://polyphone-soundfonts.com/en/download/file/76-polyphone-1-8-src-zip/latest/download?ae95d968569b61bc77f7b8559a14db4d=1/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Graphical user interface for editing soundfont (sf2 and sfz) files + +LICENSE= GPLv3 + +LIB_DEPENDS= libjack.so:audio/jack \ + libogg.so:audio/libogg \ + libportaudio.so:audio/portaudio \ + librtmidi.so:audio/rtmidi \ + libstk-4.6.0.so:audio/stk \ + libvorbisfile.so:audio/libvorbis + +USES= compiler:c++11-lang desktop-file-utils pkgconfig qmake:outsource shared-mime-info zip +USE_GL= gl +USE_QT5= core concurrent gui network printsupport svg widgets buildtools_build qmake_build +USE_CXXSTD= c++11 +QMAKE_ARGS= DEFINES=USE_LOCAL_QCUSTOMPLOT +CXXFLAGS+= -D__UNIX_JACK__ + +WRKSRC= ${WRKDIR}/trunk + +PLIST_FILES= bin/polyphone \ + share/applications/polyphone.desktop \ + share/mime/packages/polyphone.xml \ + share/pixmaps/polyphone.png + +post-patch: + @${REINPLACE_CMD} -e ' \ + s| -mfpmath=387||g; \ + s|/usr/include|${LOCALBASE}/include|g; \ + s| alsa||g; \ + s|ExtraCompiler.commands = $$$${QMAKE_CXX} -fPIC|ExtraCompiler.commands = $$$${QMAKE_CXX} $$(CXXFLAGS) -fPIC|g' \ + ${WRKSRC}/polyphone.pro + +do-install: + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/RELEASE/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/ressources/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications + @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages + +.include Added: head/audio/polyphone/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/polyphone/distinfo Sat Nov 11 08:32:25 2017 (r453960) @@ -0,0 +1,3 @@ +TIMESTAMP = 1509636821 +SHA256 (polyphone-1.8-src.zip) = 2b0ba2887646208ae9953a336adfebe460133cd403e76f7fe795d3071827dfdd +SIZE (polyphone-1.8-src.zip) = 3699516 Added: head/audio/polyphone/files/patch-sfark_sfarkextractor1.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/polyphone/files/patch-sfark_sfarkextractor1.cpp Sat Nov 11 08:32:25 2017 (r453960) @@ -0,0 +1,11 @@ +--- sfark/sfarkextractor1.cpp.orig 2017-08-10 19:26:54 UTC ++++ sfark/sfarkextractor1.cpp +@@ -30,6 +30,8 @@ + #include "zlib.h" + #include "stdint.h" + ++#include ++ + static const char * SfArkId = ".sfArk"; + + SfArkExtractor1::SfArkExtractor1(const char * fileName) : AbstractExtractor(), Added: head/audio/polyphone/files/polyphone.desktop ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/polyphone/files/polyphone.desktop Sat Nov 11 08:32:25 2017 (r453960) @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=Polyphone +Name[fr]=Polyphone +Comment=soundfont editor +Comment[fr]=éditeur de soundfonts +TryExec=polyphone +Exec=polyphone %F +Icon=polyphone +StartupNotify=true +Terminal=false +Type=Application +Categories=Application;AudioVideo;Audio;Midi;Music +Keywords=sf2;sfz;sfArk;soundfonts;editor;instrument +MimeType=audio/x-soundfont; Added: head/audio/polyphone/files/polyphone.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/polyphone/files/polyphone.xml Sat Nov 11 08:32:25 2017 (r453960) @@ -0,0 +1,20 @@ + + + + SoundFont sf2 + + + + + + + + + SoundFont sfz + + + + SoundFont archive sfArk + + + Added: head/audio/polyphone/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/polyphone/pkg-descr Sat Nov 11 08:32:25 2017 (r453960) @@ -0,0 +1,6 @@ +Polyphone is a free software for editing soundfonts in format sf2. These +files contain a multitude of audio samples put together and configured so +as to form musical instruments that can be used by synthesizers such as +fluidsynth and played using a MIDI keyboard. + +WWW: http://www.polyphone-soundfonts.com/