diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-07-16 23:47:06 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-07-16 23:47:06 +0000 |
commit | 7c71c427de6bf69b6313f744fa53d1443ed10bda (patch) | |
tree | 45a7e866362cc7608673afe8ca78492850851e5f /audio/string-machine-lv2 | |
parent | 48de8a4b8cf61275802d0cec2c036503c6010dc6 (diff) | |
download | ports-7c71c427de6bf69b6313f744fa53d1443ed10bda.tar.gz ports-7c71c427de6bf69b6313f744fa53d1443ed10bda.zip |
New port: audio/string-machine-lv2: Digital model of electronic string ensemble instrument
Notes
Notes:
svn path=/head/; revision=506784
Diffstat (limited to 'audio/string-machine-lv2')
-rw-r--r-- | audio/string-machine-lv2/Makefile | 42 | ||||
-rw-r--r-- | audio/string-machine-lv2/distinfo | 5 | ||||
-rw-r--r-- | audio/string-machine-lv2/files/mntent.h | 35 | ||||
-rw-r--r-- | audio/string-machine-lv2/files/patch-dpf_utils_generate-ttl.sh | 8 | ||||
-rw-r--r-- | audio/string-machine-lv2/pkg-descr | 5 |
5 files changed, 95 insertions, 0 deletions
diff --git a/audio/string-machine-lv2/Makefile b/audio/string-machine-lv2/Makefile new file mode 100644 index 000000000000..53d52f8c11c3 --- /dev/null +++ b/audio/string-machine-lv2/Makefile @@ -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> diff --git a/audio/string-machine-lv2/distinfo b/audio/string-machine-lv2/distinfo new file mode 100644 index 000000000000..207aeffc1834 --- /dev/null +++ b/audio/string-machine-lv2/distinfo @@ -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 diff --git a/audio/string-machine-lv2/files/mntent.h b/audio/string-machine-lv2/files/mntent.h new file mode 100644 index 000000000000..1e37778b2178 --- /dev/null +++ b/audio/string-machine-lv2/files/mntent.h @@ -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 */ diff --git a/audio/string-machine-lv2/files/patch-dpf_utils_generate-ttl.sh b/audio/string-machine-lv2/files/patch-dpf_utils_generate-ttl.sh new file mode 100644 index 000000000000..b34465f813eb --- /dev/null +++ b/audio/string-machine-lv2/files/patch-dpf_utils_generate-ttl.sh @@ -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 + diff --git a/audio/string-machine-lv2/pkg-descr b/audio/string-machine-lv2/pkg-descr new file mode 100644 index 000000000000..1e4e18e1dab7 --- /dev/null +++ b/audio/string-machine-lv2/pkg-descr @@ -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 |