git: 285ba5106abd - main - audio/qtractor: New port: Audio/MIDI multi-track sequencer

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 09 Jan 2022 22:34:02 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=285ba5106abdb1f50d858622cfae3b0de88407db

commit 285ba5106abdb1f50d858622cfae3b0de88407db
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-09 22:33:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-09 22:34:00 +0000

    audio/qtractor: New port: Audio/MIDI multi-track sequencer
---
 audio/Makefile             |  1 +
 audio/qtractor/Makefile    | 49 ++++++++++++++++++++++++++++++++++++++++++++++
 audio/qtractor/distinfo    |  3 +++
 audio/qtractor/pkg-descr   |  7 +++++++
 audio/qtractor/pkg-message | 11 +++++++++++
 audio/qtractor/pkg-plist   | 23 ++++++++++++++++++++++
 6 files changed, 94 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index 07fb59bb0ef2..f6393325b658 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -676,6 +676,7 @@
     SUBDIR += qmidinet
     SUBDIR += qsampler
     SUBDIR += qsynth
+    SUBDIR += qtractor
     SUBDIR += quimup
     SUBDIR += qxgedit
     SUBDIR += raul
diff --git a/audio/qtractor/Makefile b/audio/qtractor/Makefile
new file mode 100644
index 000000000000..fb62f056e975
--- /dev/null
+++ b/audio/qtractor/Makefile
@@ -0,0 +1,49 @@
+PORTNAME=	qtractor
+DISTVERSIONPREFIX=	qtractor_
+DISTVERSION=	0_9_25
+CATEGORIES=	audio
+MASTER_SITES=	https://github.com/rncbc/qtractor/archive/refs/tags/
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Audio/MIDI multi-track sequencer
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libasound.so:audio/alsa-lib \
+		libaubio.so:audio/aubio \
+		libfftw3.so:math/fftw3 \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libharfbuzz.so:print/harfbuzz \
+		libjack.so:audio/jack \
+		liblilv-0.so:audio/lilv \
+		liblo.so:audio/liblo \
+		libmad.so:audio/libmad \
+		libogg.so:audio/libogg \
+		librubberband.so:audio/rubberband \
+		libsamplerate.so:audio/libsamplerate \
+		libserd-0.so:devel/serd \
+		libsndfile.so:audio/libsndfile \
+		libsord-0.so:devel/sord \
+		libsratom-0.so:audio/sratom \
+		libsuil-0.so:audio/suil \
+		libvorbis.so:audio/libvorbis \
+		libvorbisenc.so:audio/libvorbis \
+		libvorbisfile.so:audio/libvorbis
+
+USES=		cmake desktop-file-utils gettext-runtime gnome localbase:ldflags pkgconfig qt:5 shared-mime-info
+USE_GNOME=	atk cairo gdkpixbuf2 gtk20 gtkmm24 pango
+USE_QT=		core gui widgets xml buildtools_build linguisttools_build qmake_build
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}_${DISTVERSION}
+
+INSTALLS_ICONS=	yes
+
+post-patch:
+	@${REINPLACE_CMD} \
+		's|the ALSA Sequencer kernel module (snd-seq-midi)|alsa-seq-server (installed by audio/alsa-seq-server)|' \
+		${WRKSRC}/src/qtractorMainForm.cpp
+
+.include <bsd.port.mk>
diff --git a/audio/qtractor/distinfo b/audio/qtractor/distinfo
new file mode 100644
index 000000000000..936b1858d0c4
--- /dev/null
+++ b/audio/qtractor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641766377
+SHA256 (qtractor_0_9_25.tar.gz) = f4ede0dcbd18622780c098e6798dc06c09f2af81a3872dd1ebeee8f9ec651f54
+SIZE (qtractor_0_9_25.tar.gz) = 1815777
diff --git a/audio/qtractor/pkg-descr b/audio/qtractor/pkg-descr
new file mode 100644
index 000000000000..5aac889cdda9
--- /dev/null
+++ b/audio/qtractor/pkg-descr
@@ -0,0 +1,7 @@
+Qtractor is an Audio/MIDI multi-track sequencer application written in C++ with
+the Qt framework. Target platform is Linux, where the Jack Audio Connection Kit
+(JACK) for audio, and the Advanced Linux Sound Architecture (ALSA) for MIDI, are
+the main infrastructures to evolve as a fairly-featured Linux desktop audio
+workstation GUI, specially dedicated to the personal home-studio.
+
+WWW: https://qtractor.org/
diff --git a/audio/qtractor/pkg-message b/audio/qtractor/pkg-message
new file mode 100644
index 000000000000..451d68a801b3
--- /dev/null
+++ b/audio/qtractor/pkg-message
@@ -0,0 +1,11 @@
+[
+{ type: install
+  message: <<EOM
+You installed Qtractor: an audio/MIDI multi-track sequencer application.
+
+In order to use it you need to install and run alsa-seq-server which
+creates /dev/snd/seq that is required by Qtractor.
+
+EOM
+}
+]
diff --git a/audio/qtractor/pkg-plist b/audio/qtractor/pkg-plist
new file mode 100644
index 000000000000..800a9b016b07
--- /dev/null
+++ b/audio/qtractor/pkg-plist
@@ -0,0 +1,23 @@
+bin/qtractor
+lib/qtractor/qtractor_plugin_scan
+man/fr/man1/qtractor.1.gz
+man/man1/qtractor.1.gz
+share/applications/org.rncbc.qtractor.desktop
+share/icons/hicolor/32x32/apps/qtractor.png
+share/icons/hicolor/32x32/mimetypes/application-x-qtractor-archive.png
+share/icons/hicolor/32x32/mimetypes/application-x-qtractor-session.png
+share/icons/hicolor/32x32/mimetypes/application-x-qtractor-template.png
+share/icons/hicolor/scalable/apps/qtractor.svg
+share/icons/hicolor/scalable/mimetypes/application-x-qtractor-archive.svg
+share/icons/hicolor/scalable/mimetypes/application-x-qtractor-session.svg
+share/icons/hicolor/scalable/mimetypes/application-x-qtractor-template.svg
+share/metainfo/org.rncbc.qtractor.xml
+share/mime/packages/qtractor.xml
+%%DATADIR%%/translations/qtractor_cs.qm
+%%DATADIR%%/translations/qtractor_de.qm
+%%DATADIR%%/translations/qtractor_es.qm
+%%DATADIR%%/translations/qtractor_fr.qm
+%%DATADIR%%/translations/qtractor_it.qm
+%%DATADIR%%/translations/qtractor_ja.qm
+%%DATADIR%%/translations/qtractor_pt.qm
+%%DATADIR%%/translations/qtractor_ru.qm