From owner-dev-commits-ports-main@freebsd.org Thu Apr 8 00:21:41 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D33775C8E38; Thu, 8 Apr 2021 00:21:41 +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 4FG24j5hv6z3HGn; Thu, 8 Apr 2021 00:21:41 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 B670528A16; Thu, 8 Apr 2021 00:21:41 +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 1380LftV027523; Thu, 8 Apr 2021 00:21:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1380LfL9027522; Thu, 8 Apr 2021 00:21:41 GMT (envelope-from git) Date: Thu, 8 Apr 2021 00:21:41 GMT Message-Id: <202104080021.1380LfL9027522@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: e311dabb4f2a - main - New port: audio/fluida-lv2: Fluidsynth as LV2 plugin 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: e311dabb4f2a3f556c076f110b82e6c3415f4a16 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 00:21:41 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e311dabb4f2a3f556c076f110b82e6c3415f4a16 commit e311dabb4f2a3f556c076f110b82e6c3415f4a16 Author: Yuri Victorovich AuthorDate: 2021-04-08 00:21:09 +0000 Commit: Yuri Victorovich CommitDate: 2021-04-08 00:21:09 +0000 New port: audio/fluida-lv2: Fluidsynth as LV2 plugin --- audio/Makefile | 1 + audio/fluida-lv2/Makefile | 35 ++++++++++++++++++++++++++++ audio/fluida-lv2/distinfo | 5 ++++ audio/fluida-lv2/files/patch-Fluida_Makefile | 19 +++++++++++++++ audio/fluida-lv2/pkg-descr | 4 ++++ 5 files changed, 64 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 46113dcb2b1b..ed60bb912d3b 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -184,6 +184,7 @@ SUBDIR += flake SUBDIR += flite SUBDIR += fluid-soundfont + SUBDIR += fluida-lv2 SUBDIR += fluidplug-lv2 SUBDIR += fluidsynth SUBDIR += fluidsynth-dssi diff --git a/audio/fluida-lv2/Makefile b/audio/fluida-lv2/Makefile new file mode 100644 index 000000000000..6e0963e6ebef --- /dev/null +++ b/audio/fluida-lv2/Makefile @@ -0,0 +1,35 @@ +PORTNAME= fluida +DISTVERSIONPREFIX= v +DISTVERSION= 0.6 +CATEGORIES= audio +PKGNAMESUFFIX= -lv2 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fluidsynth as LV2 plugin + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= lv2>0:audio/lv2 +LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth + +USES= compiler:c++11-lang gettext-runtime gmake gnome localbase pkgconfig xorg +USE_GNOME= cairo +USE_XORG= x11 +USE_BINUTILS= yes # linking needs some GNU features, fails on 12 without this, see https://github.com/brummer10/GxPlugins.lv2/issues/9 + +USE_GITHUB= yes +GH_ACCOUNT= brummer10 +GH_PROJECT= Fluida.lv2 +GH_TUPLE= brummer10:libxputty:7769d2f:libxputty/libxputty + +PLIST_FILES= lib/lv2/Fluida.lv2/Fluida.so \ + lib/lv2/Fluida.lv2/Fluida.ttl \ + lib/lv2/Fluida.lv2/Fluida_ui.so \ + lib/lv2/Fluida.lv2/manifest.ttl + +post-patch: # /proc/cpuinfo is used to check SIMD support in CPU + @${REINPLACE_CMD} -e 's|/proc/cpuinfo|/dev/null|' ${WRKSRC}/Fluida/Makefile + +.include diff --git a/audio/fluida-lv2/distinfo b/audio/fluida-lv2/distinfo new file mode 100644 index 000000000000..191f0a30a3a2 --- /dev/null +++ b/audio/fluida-lv2/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1617838917 +SHA256 (fluida/brummer10-Fluida.lv2-v0.6_GH0.tar.gz) = 333079c7c4ad27630e53b3c57004cf44db181485c44be9392cf95b47629e13ff +SIZE (fluida/brummer10-Fluida.lv2-v0.6_GH0.tar.gz) = 65035 +SHA256 (fluida/brummer10-libxputty-7769d2f_GH0.tar.gz) = f3e34717e217705f667d794c8085885b1196cfb0da76cf6c501bad75a1a07976 +SIZE (fluida/brummer10-libxputty-7769d2f_GH0.tar.gz) = 326400 diff --git a/audio/fluida-lv2/files/patch-Fluida_Makefile b/audio/fluida-lv2/files/patch-Fluida_Makefile new file mode 100644 index 000000000000..c8fcc0a8295f --- /dev/null +++ b/audio/fluida-lv2/files/patch-Fluida_Makefile @@ -0,0 +1,19 @@ +--- Fluida/Makefile.orig 2021-04-08 00:00:09 UTC ++++ Fluida/Makefile +@@ -2,11 +2,11 @@ + STRIP ?= strip + # check if user is root + user = $(shell whoami) +- ifeq ($(user),root) +- INSTALL_DIR = /usr/lib/lv2 +- else +- INSTALL_DIR = ~/.lv2 +- endif ++ #ifeq ($(user),root) ++ INSTALL_DIR = $(PREFIX)/lib/lv2 ++ #else ++ #INSTALL_DIR = ~/.lv2 ++ #endif + + # check CPU and supported optimization flags + ifneq ($(shell cat /dev/null | grep sse3 ) , ) diff --git a/audio/fluida-lv2/pkg-descr b/audio/fluida-lv2/pkg-descr new file mode 100644 index 000000000000..6bda6c1843ae --- /dev/null +++ b/audio/fluida-lv2/pkg-descr @@ -0,0 +1,4 @@ +Fluida is an LV2 plugin that uses FluidSynth to convert MIDI signal to audio +signal. + +WWW: https://github.com/brummer10/Fluida.lv2