diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-11-27 06:16:08 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-11-27 06:16:08 +0800 |
commit | 7019ba39c1c9d5057e131f707d75198e55a095bf (patch) | |
tree | e2bde13534d200de75fc59074a9282d339fa90ac | |
parent | 103f5ee6600ec865894d7687c16b1efe2cebbef6 (diff) | |
download | freebsd-ports-gnome-7019ba39c1c9d5057e131f707d75198e55a095bf.tar.gz freebsd-ports-gnome-7019ba39c1c9d5057e131f707d75198e55a095bf.tar.zst freebsd-ports-gnome-7019ba39c1c9d5057e131f707d75198e55a095bf.zip |
SLV2 is a library to make the use of LV2 plugins as simple as
possible for applications.
WWW: http://drobilla.net/software/slv2/
PR: 129158
Submitted by: xaimus <xaimus at gmail dot com>
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/slv2/Makefile | 33 | ||||
-rw-r--r-- | audio/slv2/distinfo | 3 | ||||
-rw-r--r-- | audio/slv2/files/patch-autowaf.py | 11 | ||||
-rw-r--r-- | audio/slv2/files/patch-src-plugin.c | 11 | ||||
-rw-r--r-- | audio/slv2/files/patch-wscript | 12 | ||||
-rw-r--r-- | audio/slv2/pkg-descr | 4 | ||||
-rw-r--r-- | audio/slv2/pkg-plist | 27 |
8 files changed, 102 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 41987180d6c0..7c17186bbc36 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -636,6 +636,7 @@ SUBDIR += slimserver-sqlplaylist SUBDIR += slimserver-superdatetime SUBDIR += slimserver-trackstat + SUBDIR += slv2 SUBDIR += snack SUBDIR += snd SUBDIR += snett diff --git a/audio/slv2/Makefile b/audio/slv2/Makefile new file mode 100644 index 000000000000..3c5960a5d8cc --- /dev/null +++ b/audio/slv2/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: slv2 +# Date created: 2008-11-25 +# Whom: xaimus <xaimus@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= slv2 +PORTVERSION= 0.6.1 +CATEGORIES= audio +MASTER_SITES= http://download.drobilla.net/ + +MAINTAINER= xaimus@gmail.com +COMMENT= LV2 Application Support Library + +LIB_DEPENDS= rdf.0:${PORTSDIR}/textproc/redland \ + jack.0:${PORTSDIR}/audio/jack +BUILD_DEPENDS= ${LOCALBASE}/include/lv2.h:${PORTSDIR}/audio/lv2core + +USE_BZIP2= yes +USE_PYTHON_BUILD= yes +USE_GNOME= pkgconfig + +do-configure: + cd ${WRKSRC} && ${SETENV} DESTDIR=${LOCALBASE} ./waf configure + +do-build: + cd ${WRKSRC} && ./waf build + +do-install: + cd ${WRKSRC} && ./waf install + +.include <bsd.port.mk> diff --git a/audio/slv2/distinfo b/audio/slv2/distinfo new file mode 100644 index 000000000000..4e49404bcf38 --- /dev/null +++ b/audio/slv2/distinfo @@ -0,0 +1,3 @@ +MD5 (slv2-0.6.1.tar.bz2) = c298b372d2229920a96b5bf2eb5fd5b2 +SHA256 (slv2-0.6.1.tar.bz2) = adb742a470f305279758b14ac257e4e13390d932857f821fa81535c8318aac9d +SIZE (slv2-0.6.1.tar.bz2) = 165972 diff --git a/audio/slv2/files/patch-autowaf.py b/audio/slv2/files/patch-autowaf.py new file mode 100644 index 000000000000..1920b8ac309b --- /dev/null +++ b/audio/slv2/files/patch-autowaf.py @@ -0,0 +1,11 @@ +--- autowaf.py.orig ++++ autowaf.py +@@ -240,7 +240,7 @@ + obj.source = name.lower() + '.pc.in' + obj.target = name.lower() + '.pc' + obj.inst_var = 'PREFIX' +- obj.inst_dir = bld.env()['LIBDIRNAME'] + 'pkgconfig' ++ obj.inst_dir = 'libdata/pkgconfig' + pkg_prefix = bld.env()['PREFIX'] + if pkg_prefix[-1] == '/': + pkg_prefix = pkg_prefix[:-1] diff --git a/audio/slv2/files/patch-src-plugin.c b/audio/slv2/files/patch-src-plugin.c new file mode 100644 index 000000000000..8a13b323221f --- /dev/null +++ b/audio/slv2/files/patch-src-plugin.c @@ -0,0 +1,11 @@ +--- src/plugin.c.orig ++++ src/plugin.c +@@ -16,8 +16,6 @@ + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +-#define _XOPEN_SOURCE 500 +- + #include <math.h> + #include <string.h> + #include <stdlib.h> diff --git a/audio/slv2/files/patch-wscript b/audio/slv2/files/patch-wscript new file mode 100644 index 000000000000..a94d6ef24fa3 --- /dev/null +++ b/audio/slv2/files/patch-wscript @@ -0,0 +1,12 @@ +--- wscript.orig 2008-11-15 18:35:35.000000000 +0300 ++++ wscript 2008-11-27 01:14:25.000000000 +0300 +@@ -116,9 +116,6 @@ + obj.inst_dir = bld.env()['BINDIRNAME'] + + # Documentation +- autowaf.build_dox(bld, 'SLV2', SLV2_VERSION, srcdir, blddir) +- install_files('HTMLDIR', '', blddir + '/default/doc/html/*') +- install_files('MANDIR', 'man3', blddir + '/default/doc/man/man3/*') + + def shutdown(): + autowaf.shutdown() diff --git a/audio/slv2/pkg-descr b/audio/slv2/pkg-descr new file mode 100644 index 000000000000..fb8f4b155b76 --- /dev/null +++ b/audio/slv2/pkg-descr @@ -0,0 +1,4 @@ +SLV2 is a library to make the use of LV2 plugins as simple as +possible for applications. + +WWW: http://drobilla.net/software/slv2/ diff --git a/audio/slv2/pkg-plist b/audio/slv2/pkg-plist new file mode 100644 index 000000000000..993a2b1cb8e9 --- /dev/null +++ b/audio/slv2/pkg-plist @@ -0,0 +1,27 @@ +bin/lv2_inspect +bin/lv2_jack_host +bin/lv2_list +bin/lv2_simple_jack_host +include/slv2/lv2_ui.h +include/slv2/plugin.h +include/slv2/pluginclass.h +include/slv2/pluginclasses.h +include/slv2/plugininstance.h +include/slv2/plugins.h +include/slv2/pluginui.h +include/slv2/pluginuiinstance.h +include/slv2/pluginuis.h +include/slv2/port.h +include/slv2/scalepoint.h +include/slv2/scalepoints.h +include/slv2/slv2.h +include/slv2/types.h +include/slv2/util.h +include/slv2/value.h +include/slv2/values.h +include/slv2/world.h +lib/libslv2.so +lib/libslv2.so.9 +lib/libslv2.so.9.1.0 +libdata/pkgconfig/slv2.pc +@dirrm include/slv2 |