ports/129158: New port: audio/slv2
xaimus
xaimus at gmail.com
Tue Nov 25 07:20:04 UTC 2008
>Number: 129158
>Category: ports
>Synopsis: New port: audio/slv2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 25 07:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: xaimus
>Release:
>Organization:
>Environment:
>Description:
The slv2 application support library... needed to enable LV2 plugin support in Ardour. :)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# slv2
# slv2/distinfo
# slv2/pkg-plist
# slv2/Makefile
# slv2/pkg-descr
# slv2/files
# slv2/files/patch-src-plugin.c
# slv2/files/patch-autowaf.py
#
echo c - slv2
mkdir -p slv2 > /dev/null 2>&1
echo x - slv2/distinfo
sed 's/^X//' >slv2/distinfo << 'a51a0005901b80f593ea69c1b33793b9'
XMD5 (slv2-0.6.1.tar.bz2) = c298b372d2229920a96b5bf2eb5fd5b2
XSHA256 (slv2-0.6.1.tar.bz2) = adb742a470f305279758b14ac257e4e13390d932857f821fa81535c8318aac9d
XSIZE (slv2-0.6.1.tar.bz2) = 165972
a51a0005901b80f593ea69c1b33793b9
echo x - slv2/pkg-plist
sed 's/^X//' >slv2/pkg-plist << '50c643fe13b3799e464f93ea0179b43f'
Xbin/lv2_inspect
Xbin/lv2_jack_host
Xbin/lv2_list
Xbin/lv2_simple_jack_host
Xinclude/slv2/lv2_ui.h
Xinclude/slv2/plugin.h
Xinclude/slv2/pluginclass.h
Xinclude/slv2/pluginclasses.h
Xinclude/slv2/plugininstance.h
Xinclude/slv2/plugins.h
Xinclude/slv2/pluginui.h
Xinclude/slv2/pluginuiinstance.h
Xinclude/slv2/pluginuis.h
Xinclude/slv2/port.h
Xinclude/slv2/scalepoint.h
Xinclude/slv2/scalepoints.h
Xinclude/slv2/slv2.h
Xinclude/slv2/types.h
Xinclude/slv2/util.h
Xinclude/slv2/value.h
Xinclude/slv2/values.h
Xinclude/slv2/world.h
Xlib/libslv2.so
Xlib/libslv2.so.9
Xlib/libslv2.so.9.1.0
Xlibdata/pkgconfig/slv2.pc
X at dirrm include/slv2
50c643fe13b3799e464f93ea0179b43f
echo x - slv2/Makefile
sed 's/^X//' >slv2/Makefile << '08e41f9d2b362555b4e53657717ec939'
X# New ports collection makefile for: slv2
X# Date created: 2008-11-25
X# Whom: xaimus <xaimus at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= slv2
XPORTVERSION= 0.6.1
XCATEGORIES= audio
XMASTER_SITES= http://download.drobilla.net/
X
XMAINTAINER= xaimus at gmail.com
XCOMMENT= LV2 Application Support Library
X
XLIB_DEPENDS= rdf.0:${PORTSDIR}/textproc/redland \
X jack.0:${PORTSDIR}/audio/jack
XBUILD_DEPENDS= ${LOCALBASE}/include/lv2.h:${PORTSDIR}/audio/lv2core
X
XUSE_BZIP2= yes
XUSE_PYTHON_BUILD= yes
XUSE_GNOME= pkgconfig
X
Xdo-configure:
X cd ${WRKSRC} && ${SETENV} DESTDIR=${LOCALBASE} ./waf configure
X
Xdo-build:
X cd ${WRKSRC} && ./waf build
X
Xdo-install:
X cd ${WRKSRC} && ./waf install
X
X.include <bsd.port.mk>
08e41f9d2b362555b4e53657717ec939
echo x - slv2/pkg-descr
sed 's/^X//' >slv2/pkg-descr << '8d081a10661b163bb79a02586f7c98d6'
XSLV2 is a library to make the use of LV2 plugins as simple as possible for
Xapplications.
X
XWWW: http://drobilla.net/software/slv2/
8d081a10661b163bb79a02586f7c98d6
echo c - slv2/files
mkdir -p slv2/files > /dev/null 2>&1
echo x - slv2/files/patch-src-plugin.c
sed 's/^X//' >slv2/files/patch-src-plugin.c << '7207bc62d4cfe6906136d61c45155cfc'
X--- src/plugin.c.orig
X+++ src/plugin.c
X@@ -16,8 +16,6 @@
X * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
X */
X
X-#define _XOPEN_SOURCE 500
X-
X #include <math.h>
X #include <string.h>
X #include <stdlib.h>
7207bc62d4cfe6906136d61c45155cfc
echo x - slv2/files/patch-autowaf.py
sed 's/^X//' >slv2/files/patch-autowaf.py << 'a178df0e9c1d16bbf551c1e0c28c6657'
X--- autowaf.py.orig
X+++ autowaf.py
X@@ -240,7 +240,7 @@
X obj.source = name.lower() + '.pc.in'
X obj.target = name.lower() + '.pc'
X obj.inst_var = 'PREFIX'
X- obj.inst_dir = bld.env()['LIBDIRNAME'] + 'pkgconfig'
X+ obj.inst_dir = 'libdata/pkgconfig'
X pkg_prefix = bld.env()['PREFIX']
X if pkg_prefix[-1] == '/':
X pkg_prefix = pkg_prefix[:-1]
a178df0e9c1d16bbf551c1e0c28c6657
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list