From owner-dev-commits-ports-all@freebsd.org Thu Sep 23 02:38:43 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 926D76777AE; Thu, 23 Sep 2021 02:38:43 +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 4HFK9H3N6tz4Z9w; Thu, 23 Sep 2021 02:38:43 +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 4FEF722B4F; Thu, 23 Sep 2021 02:38:43 +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 18N2ch5A093437; Thu, 23 Sep 2021 02:38:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18N2chve093436; Thu, 23 Sep 2021 02:38:43 GMT (envelope-from git) Date: Thu, 23 Sep 2021 02:38:43 GMT Message-Id: <202109230238.18N2chve093436@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: 9d053ab98557 - main - audio/ssr-lv2: New port: Sympathetic string resonator 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: 9d053ab98557a1b101c5438bf43f99b356a53484 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2021 02:38:43 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d053ab98557a1b101c5438bf43f99b356a53484 commit 9d053ab98557a1b101c5438bf43f99b356a53484 Author: Yuri Victorovich AuthorDate: 2021-09-23 02:36:56 +0000 Commit: Yuri Victorovich CommitDate: 2021-09-23 02:37:36 +0000 audio/ssr-lv2: New port: Sympathetic string resonator LV2 plugin --- audio/Makefile | 1 + audio/ssr-lv2/Makefile | 36 +++++++++++++ audio/ssr-lv2/distinfo | 5 ++ audio/ssr-lv2/files/mntent.h | 62 ++++++++++++++++++++++ ...irdparty_cpuid_platform_src_platform_config.hpp | 11 ++++ .../patch-thirdparty_cpuid_src_cpuid_cpuinfo.cpp | 11 ++++ audio/ssr-lv2/pkg-descr | 7 +++ 7 files changed, 133 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 777f84b45ea9..d14a9ef0c85b 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -770,6 +770,7 @@ SUBDIR += squash SUBDIR += squeezelite SUBDIR += sratom + SUBDIR += ssr-lv2 SUBDIR += stegosaurus-lv2 SUBDIR += stk SUBDIR += stmp diff --git a/audio/ssr-lv2/Makefile b/audio/ssr-lv2/Makefile new file mode 100644 index 000000000000..a0dd5da73c44 --- /dev/null +++ b/audio/ssr-lv2/Makefile @@ -0,0 +1,36 @@ +PORTNAME= ssr +DISTVERSION= g20210922 +CATEGORIES= audio +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Sympathetic string resonator LV2 plugin + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= lv2>0:audio/lv2 \ + bash:shells/bash +LIB_DEPENDS= libjack.so:audio/jack + +USES= compiler:c++11-lang gmake gnome pkgconfig shebangfix xorg +USE_GNOME= cairo +USE_XORG= x11 + +USE_GITHUB= yes +GH_ACCOUNT= jpcima +GH_TAGNAME= e1999da +GH_TUPLE= DISTRHO:DPF:220d364:dpf/dpf + +SHEBANG_FILES= dpf/utils/generate-ttl.sh + +CFLAGS+= -I${FILESDIR} + +PLIST_FILES= bin/ssr \ + lib/lv2/ssr.lv2/manifest.ttl \ + lib/lv2/ssr.lv2/ssr_dsp.so \ + lib/lv2/ssr.lv2/ssr_dsp.ttl \ + lib/lv2/ssr.lv2/ssr_ui.so \ + lib/lv2/ssr.lv2/ssr_ui.ttl + +.include diff --git a/audio/ssr-lv2/distinfo b/audio/ssr-lv2/distinfo new file mode 100644 index 000000000000..737f3e742325 --- /dev/null +++ b/audio/ssr-lv2/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1632363258 +SHA256 (jpcima-ssr-g20210922-e1999da_GH0.tar.gz) = 63453bc86786eedb1319e1437664759ccce9edee0a3d7c1879662eb6f7a61945 +SIZE (jpcima-ssr-g20210922-e1999da_GH0.tar.gz) = 294335 +SHA256 (DISTRHO-DPF-220d364_GH0.tar.gz) = b9f30c63c723241f9ea0211b12db7dcd97b76dc6df877f3676f3683491dde03f +SIZE (DISTRHO-DPF-220d364_GH0.tar.gz) = 2119950 diff --git a/audio/ssr-lv2/files/mntent.h b/audio/ssr-lv2/files/mntent.h new file mode 100644 index 000000000000..e61cddd89c82 --- /dev/null +++ b/audio/ssr-lv2/files/mntent.h @@ -0,0 +1,62 @@ +/* + * mntent + * mntent.h - compatability header for FreeBSD + * + * Copyright (c) 2001 David Rufino + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#if defined(HAVE_MNTENT_H) +#include +#else +#ifndef _MNTENT_H +#define _MNTENT_H +#include + +#define MOUNTED "dummy" + +#define MNTTYPE_NFS "nfs" + +struct mntent { + char *mnt_fsname; + char *mnt_dir; + char *mnt_type; + char *mnt_opts; + int mnt_freq; + int mnt_passno; +}; + +#define setmntent(x,y) ((FILE *)0x1) +#ifdef __cplusplus +extern "C" { +#endif +struct mntent *getmntent __P ((FILE *fp)); +char *hasmntopt __P ((const struct mntent *mnt, const char *option)); +#ifdef __cplusplus +}; // extern "C" +#endif +#define endmntent(x) ((int)1) + +#endif /* _MNTENT_H */ +#endif /* HAVE_MNTENT_H */ diff --git a/audio/ssr-lv2/files/patch-thirdparty_cpuid_platform_src_platform_config.hpp b/audio/ssr-lv2/files/patch-thirdparty_cpuid_platform_src_platform_config.hpp new file mode 100644 index 000000000000..855f2b82bdee --- /dev/null +++ b/audio/ssr-lv2/files/patch-thirdparty_cpuid_platform_src_platform_config.hpp @@ -0,0 +1,11 @@ +--- thirdparty/cpuid/platform/src/platform/config.hpp.orig 2021-09-23 02:15:16 UTC ++++ thirdparty/cpuid/platform/src/platform/config.hpp +@@ -16,6 +16,8 @@ + #if defined(__ANDROID__) + #define PLATFORM_ANDROID 1 + #endif ++#elif defined(__FreeBSD__) ++ #define PLATFORM_FREEBSD 1 + #elif defined(_WIN32) + #define PLATFORM_WINDOWS 1 + #if defined(WINAPI_FAMILY) diff --git a/audio/ssr-lv2/files/patch-thirdparty_cpuid_src_cpuid_cpuinfo.cpp b/audio/ssr-lv2/files/patch-thirdparty_cpuid_src_cpuid_cpuinfo.cpp new file mode 100644 index 000000000000..3fd23a532d43 --- /dev/null +++ b/audio/ssr-lv2/files/patch-thirdparty_cpuid_src_cpuid_cpuinfo.cpp @@ -0,0 +1,11 @@ +--- thirdparty/cpuid/src/cpuid/cpuinfo.cpp.orig 2021-09-23 02:16:22 UTC ++++ thirdparty/cpuid/src/cpuid/cpuinfo.cpp +@@ -16,7 +16,7 @@ + #include "detail/init_msvc_arm.hpp" + #elif defined(PLATFORM_CLANG_ARM) && defined(PLATFORM_IOS) + #include "detail/init_ios_clang_arm.hpp" +-#elif defined(PLATFORM_GCC_COMPATIBLE_ARM) && defined(PLATFORM_LINUX) ++#elif defined(PLATFORM_GCC_COMPATIBLE_ARM) && (defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD)) + #include "detail/init_linux_gcc_arm.hpp" + #else + #include "detail/init_unknown.hpp" diff --git a/audio/ssr-lv2/pkg-descr b/audio/ssr-lv2/pkg-descr new file mode 100644 index 000000000000..0e7dee4d1492 --- /dev/null +++ b/audio/ssr-lv2/pkg-descr @@ -0,0 +1,7 @@ +ssr is a sympathetic string resonator LV2 plugin. + +Sympathetic strings or resonance strings are auxiliary strings found on many +Indian musical instruments, as well as some Western Baroque instruments and a +variety of folk instruments. + +WWW: https://github.com/jpcima/ssr