From nobody Mon Apr 18 17:20:06 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9954C11DF1EE; Mon, 18 Apr 2022 17:20:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Khtwk3HjGz3L3p; Mon, 18 Apr 2022 17:20:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650302406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k/K3RTSn+w7+TNcaPOPDj51LhEJkULtsj2B36PKXthA=; b=AHSfeWAGvq+mlvQPsAqNZn/ylc5qMlwYnmGDVT31UfoQw6ChKNiLzOYujGCUxgowXbNsvH 4Fmj6pkMBgCezxMiQj0equobuNDR7ZIWa3r/Or1JugiUouMcyTExjFkS0uB5f/IpDK5PoV xql+gpSIC4G84JJl5cNd93xlg2RNciY/2qJE5X6ztYumGuZa3l3hnnGO/KQqMWfW7NuMIY cJaWtJlIt1E202BGO/BZ+lTW7lYQzNpy0T+WYFktC+WMcHZ1I5Dsx9xrS0m1Tdc9BkRQJg zwLdd+g8YBOWrgg/m84ZrjWbI2NQp3/q7S3Xsj5Uu4CActsOT+IlA5+pp6NDzw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4CB5E16F24; Mon, 18 Apr 2022 17:20:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23IHK6AH042780; Mon, 18 Apr 2022 17:20:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23IHK6qN042777; Mon, 18 Apr 2022 17:20:06 GMT (envelope-from git) Date: Mon, 18 Apr 2022 17:20:06 GMT Message-Id: <202204181720.23IHK6qN042777@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 673838eec302 - main - audio/qtractor: Add VST3 audio plugin support List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 673838eec302b99090361b1f4612c07fb530db56 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650302406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k/K3RTSn+w7+TNcaPOPDj51LhEJkULtsj2B36PKXthA=; b=IMBTA/5RWeUKltlUj/+mocl3JU9yovg6GUvqlex+RZpVDdrcxY91YhSufLeVxzdv5Yvt03 b8lJ3jUU5k0LeQArUrVB/YViQ9oGalXux8zDQYhFVGCJf3h9LPtoE9o4QT09nGaHTDtwfj 03FPxzl0b2GqT3PDmm3b6DIZmB4eVVIOvWRkV/1/Y/O6iVJqpLSXxBL+rZwDAenodWUl2R rCdlnYy1XyKO/iOd+tAFpIZhGeMVMIGaQIyQqtuW0CS8UNQIz+n+zYQtyxEUfgwVjuFBpU R1WCJsh3Lx6zwb3qSCvmqjifHLYg4RAenZuaQGgO23dR4KFGy0uAgbvFO8eWug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650302406; a=rsa-sha256; cv=none; b=QxKc1DWNL3ayPNxXoeUyOwjrzZMQGAw4JrpJR7wsB0pWYxMy8AItpL8ZLuql8G4YXFFZuu fQum5wouBq+bt88MLC/qfK0qKHZZIlrR1eASi0cKRYk2L0vxgBsiAIYRdLNXWdu8+hYaE6 6wtEhIa1N0F2tLqtW8FF92jJc2rDnMlCxYWoY/ilXHV+hlDF9z4yBSZUG/TUJ6LxZY2sVQ vkkqAnvQ4asG+d7Ms3Ye2yEH8VdOC5h/Uwy/4a2Lf3ifyA6KIPz5Ut9bchB32CzRlX5Ezt b/GNc8NrgtUHdbsy6vA5VTbn6stVBx+mKzmD1K2MSfnjEDs7zWot46q+jmb1LA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=673838eec302b99090361b1f4612c07fb530db56 commit 673838eec302b99090361b1f4612c07fb530db56 Author: Yuri Victorovich AuthorDate: 2022-04-18 17:13:47 +0000 Commit: Yuri Victorovich CommitDate: 2022-04-18 17:20:02 +0000 audio/qtractor: Add VST3 audio plugin support --- audio/qtractor/Makefile | 32 ++++++++++++++++++++++++++------ audio/qtractor/distinfo | 4 +++- 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/audio/qtractor/Makefile b/audio/qtractor/Makefile index 7d912ddba9a7..977dd91f8e0d 100644 --- a/audio/qtractor/Makefile +++ b/audio/qtractor/Makefile @@ -3,8 +3,11 @@ DISTVERSIONPREFIX= qtractor_ DISTVERSION= 0_9_26 PORTREVISION= 1 CATEGORIES= audio -MASTER_SITES= https://github.com/rncbc/qtractor/archive/refs/tags/ -DISTNAME= ${PORTNAME}_${DISTVERSION} +MASTER_SITES= https://github.com/rncbc/qtractor/archive/refs/tags/ \ + https://download.steinberg.net/sdk_downloads/:vst3sdk +DISTFILES= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX} \ + ${VST3_SDK_ARCHIVE}:vst3sdk +EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Audio/MIDI multi-track sequencer @@ -41,17 +44,34 @@ USE_QT= core gui widgets xml buildtools_build linguisttools_build qmake_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}_${DISTVERSION} OPTIONS_DEFINE= VST3 -#OPTIONS_DEFAULT= VST3 +OPTIONS_DEFAULT= VST3 VST3_DESC= Enable VST3 plug-in support +VST3_USES= xorg +VST3_USE= XORG=xcb VST3_CMAKE_BOOL= CONFIG_VST3 -#VST3_CMAKE_ON= -DCONFIG_VST3SDK=${LOCALBASE}/include/vst3sdk -VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk -VST3_BROKEN= https://github.com/rncbc/qtractor/issues/331 +VST3_CMAKE_ON= -DCONFIG_VST3SDK=${WRKDIR}/VST_SDK/vst3sdk +#VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk # this is supposed to work instead of bundled archive, but it doesn't for some reason, see https://github.com/rncbc/qtractor/issues/331 +VST3_SDK_ARCHIVE= vst-sdk_3.7.4_build-25_2021-12-16.zip + +post-extract-VST3-on: + @cd ${WRKDIR} && unzip -qq ${DISTDIR}/${VST3_SDK_ARCHIVE} 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 +post-patch-VST3-on: + @${REINPLACE_CMD} -e ' \ + s,__linux__,__linux__ || __FreeBSD__,; \ + s,endian.h,sys/endian.h, \ + ' \ + ${WRKDIR}/VST_SDK/vst3sdk/pluginterfaces/base/fplatform.h + @${REINPLACE_CMD} -e ' \ + s,stdatomic.h,atomic,; \ + s,atomic_int_least32_t,std::atomic_int_least32_t, \ + ' \ + ${WRKDIR}/VST_SDK/vst3sdk/pluginterfaces/base/funknown.cpp + .include diff --git a/audio/qtractor/distinfo b/audio/qtractor/distinfo index 4e4f1040d788..4478f638dfa8 100644 --- a/audio/qtractor/distinfo +++ b/audio/qtractor/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1649530830 +TIMESTAMP = 1650296821 SHA256 (qtractor_0_9_26.tar.gz) = bf1f89a805166e99ca4b9bfc66f8bb1d71a258bf611b1e9e90613cd46799e6a4 SIZE (qtractor_0_9_26.tar.gz) = 1801843 +SHA256 (vst-sdk_3.7.4_build-25_2021-12-16.zip) = 49b0e46345af323ab84be9df065653b2a6531745dea6f3ac3fb47915df9f3a81 +SIZE (vst-sdk_3.7.4_build-25_2021-12-16.zip) = 104869292