Date: Tue, 16 Jul 2019 23:47:07 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506784 - in head/audio: . string-machine-lv2 string-machine-lv2/files Message-ID: <201907162347.x6GNl7wx099260@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Tue Jul 16 23:47:06 2019 New Revision: 506784 URL: https://svnweb.freebsd.org/changeset/ports/506784 Log: New port: audio/string-machine-lv2: Digital model of electronic string ensemble instrument Added: head/audio/string-machine-lv2/ head/audio/string-machine-lv2/Makefile (contents, props changed) head/audio/string-machine-lv2/distinfo (contents, props changed) head/audio/string-machine-lv2/files/ head/audio/string-machine-lv2/files/mntent.h (contents, props changed) head/audio/string-machine-lv2/files/patch-dpf_utils_generate-ttl.sh (contents, props changed) head/audio/string-machine-lv2/pkg-descr (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Tue Jul 16 23:02:43 2019 (r506783) +++ head/audio/Makefile Tue Jul 16 23:47:06 2019 (r506784) @@ -793,6 +793,7 @@ SUBDIR += stk SUBDIR += streamripper SUBDIR += streamtranscoder + SUBDIR += string-machine-lv2 SUBDIR += stymulator SUBDIR += suil SUBDIR += supercollider Added: head/audio/string-machine-lv2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/string-machine-lv2/Makefile Tue Jul 16 23:47:06 2019 (r506784) @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= string-machine +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.0 +CATEGORIES= audio +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Digital model of electronic string ensemble instrument + +LICENSE= BSL +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= lv2>0:audio/lv2 \ + ${LOCALBASE}/include/boost/intrusive/list.hpp:devel/boost-libs + +USES= gmake gnome localbase pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= jpcima +GH_TUPLE= DISTRHO:DPF:7a056bb:d/dpf +USE_GNOME= cairo +USE_XORG= x11 + +CFLAGS+= -I${FILESDIR} -pthread + +PLIST_FILES= lib/lv2/string-machine.lv2/manifest.ttl \ + lib/lv2/string-machine.lv2/presets.ttl \ + lib/lv2/string-machine.lv2/string-machine.so \ + lib/lv2/string-machine.lv2/string-machine.ttl \ + lib/vst/string-machine-vst.so + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2 + ${INSTALL_LIB} ${WRKSRC}/bin/${PORTNAME}.lv2/string-machine.so ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2 +.for f in manifest.ttl presets.ttl string-machine.ttl + ${INSTALL_DATA} ${WRKSRC}/bin/${PORTNAME}.lv2/${f} ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2 +.endfor + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst + ${INSTALL_LIB} ${WRKSRC}/bin/string-machine-vst.so ${STAGEDIR}${PREFIX}/lib/vst + +.include <bsd.port.mk> Added: head/audio/string-machine-lv2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/string-machine-lv2/distinfo Tue Jul 16 23:47:06 2019 (r506784) @@ -0,0 +1,5 @@ +TIMESTAMP = 1563296073 +SHA256 (jpcima-string-machine-v0.1.0_GH0.tar.gz) = 014a5ebff097906582c3d7de6533065ead9fcef3dde4e4aff7b3d16525082510 +SIZE (jpcima-string-machine-v0.1.0_GH0.tar.gz) = 219821 +SHA256 (DISTRHO-DPF-7a056bb_GH0.tar.gz) = e9c1bcbd364cd31ddf19c51d6100dbd2996e93b72f0ec626fefddb4197429e4a +SIZE (DISTRHO-DPF-7a056bb_GH0.tar.gz) = 1630863 Added: head/audio/string-machine-lv2/files/mntent.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/string-machine-lv2/files/mntent.h Tue Jul 16 23:47:06 2019 (r506784) @@ -0,0 +1,35 @@ +#ifdef HAVE_MNTENT_H +#include <mntent.h> +#else + +#ifndef mntent_h_ +#define mntent_h_ + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/param.h> +#include <sys/ucred.h> +#include <sys/mount.h> + +#define MOUNTED "mounted" +#define MNTTYPE_NFS "nfs" + +//#define MOPTSLEN (256 - (MNAMELEN * 2 + MFSNAMELEN + 2 * sizeof(int))) + +struct mntent { + char *mnt_fsname; /* file system name */ + char *mnt_dir; /* file system path prefix */ + char *mnt_type; /* dbg, efs, nfs */ + char *mnt_opts; /* ro, hide, etc. */ + int mnt_freq; /* dump frequency, in days */ + int mnt_passno; /* pass number on parallel fsck */ +}; + +FILE * setmntent(char * filep, char * type); +struct mntent *getmntent(FILE * filep); +//char * hasmntopt(struct mntent * mnt, char * opt); +int endmntent(FILE * filep); + +#endif /* mntent_h_ */ +#endif /* not HAVE_MNTENT_H */ Added: head/audio/string-machine-lv2/files/patch-dpf_utils_generate-ttl.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/string-machine-lv2/files/patch-dpf_utils_generate-ttl.sh Tue Jul 16 23:47:06 2019 (r506784) @@ -0,0 +1,8 @@ +--- dpf/utils/generate-ttl.sh.orig 2019-07-16 23:38:05 UTC ++++ dpf/utils/generate-ttl.sh +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + set -e + Added: head/audio/string-machine-lv2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/string-machine-lv2/pkg-descr Tue Jul 16 23:47:06 2019 (r506784) @@ -0,0 +1,5 @@ +String-machine is a virtual-analog string ensemble synthesizer. + +This implementation is based on a digital model designed by Peter Whiting. + +WWW: https://github.com/jpcima/string-machine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907162347.x6GNl7wx099260>