Import suil-0.8.2 as audio/suil.
iSuil is a lightweight C library for loading and wrapping LV2 plugin UIs. Suil makes it possible to load a UI of any toolkit in a host using any other toolkit (assuming the toolkits are both supported by Suil). Hosts do not need to build against or link to foreign toolkit libraries to use UIs written with that toolkit; all the necessary magic is performed by dynamically loaded modules. The API is designed such that hosts do not need to explicitly support specific toolkits at all - if Suil supports a particular toolkit, then UIs in that toolkit will work in all hosts that use Suil automatically.
This commit is contained in:
parent
2c834e03e5
commit
38a82c6dbb
5 changed files with 102 additions and 0 deletions
11
audio/suil/DESCR
Normal file
11
audio/suil/DESCR
Normal file
|
@ -0,0 +1,11 @@
|
|||
iSuil is a lightweight C library for loading and wrapping LV2 plugin
|
||||
UIs.
|
||||
|
||||
Suil makes it possible to load a UI of any toolkit in a host using
|
||||
any other toolkit (assuming the toolkits are both supported by
|
||||
Suil). Hosts do not need to build against or link to foreign toolkit
|
||||
libraries to use UIs written with that toolkit; all the necessary
|
||||
magic is performed by dynamically loaded modules. The API is designed
|
||||
such that hosts do not need to explicitly support specific toolkits
|
||||
at all - if Suil supports a particular toolkit, then UIs in that
|
||||
toolkit will work in all hosts that use Suil automatically.
|
59
audio/suil/Makefile
Normal file
59
audio/suil/Makefile
Normal file
|
@ -0,0 +1,59 @@
|
|||
# $NetBSD: Makefile,v 1.1 2016/06/05 00:46:25 ryoon Exp $
|
||||
|
||||
DISTNAME= suil-0.8.2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://download.drobilla.net/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MAINTAINER= ryoon@NetBSD.org
|
||||
HOMEPAGE= https://drobilla.net/software/suil/
|
||||
COMMENT= Lightweight C library for loading and wrapping LV2 plugin UIs
|
||||
LICENSE= isc
|
||||
|
||||
DISTFILES= ${DEFAULT_DISTFILES} \
|
||||
audacity-minsrc-2.1.2.tar.xz
|
||||
SITES.audacity-minsrc-2.1.2.tar.xz= ${MASTER_SITE_LOCAL}
|
||||
|
||||
USE_TOOLS+= pkg-config
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
PKGCONFIG_OVERRIDE+= suil.pc.in
|
||||
|
||||
# Use older waf
|
||||
WAF_ENV+= CC=${CC:Q}
|
||||
WAF_ENV+= CFLAGS=${CFLAGS:Q}
|
||||
WAF_ENV+= CXX=${CXX:Q}
|
||||
WAF_ENV+= CXXFLAGS=${CXXFLAGS:Q}
|
||||
WAF_ENV+= DESTDIR=${DESTDIR}
|
||||
WAF_ENV+= LINKFLAGS=${LDFLAGS:Q}
|
||||
WAF_ENV+= PATH=${PATH:Q}
|
||||
WAF_ENV+= PREFIX=${PREFIX}
|
||||
.if defined(MAKE_JOBS)
|
||||
WAF_ENV+= JOBS=${MAKE_JOBS}
|
||||
.endif
|
||||
|
||||
# Kludge to support rst2man on Mac OS X, PR pkg/49921
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == "Darwin"
|
||||
WAF_ENV+= LC_ALL="en_US.UTF-8"
|
||||
.endif
|
||||
|
||||
WAF_ARGS= --mandir=${PREFIX}/${PKGMANDIR}
|
||||
|
||||
pre-configure:
|
||||
${CP} -r ${WRKDIR}/audacity-minsrc-2.1.2/lib-src/lv2/suil/waflib \
|
||||
${WRKSRC}
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${SETENV} ${WAF_ENV} ./waf ${WAF_ARGS} ${WAF_CONFIGURE_ARGS} configure
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${WAF_ENV} ./waf ${WAF_ARGS}
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${SETENV} ${WAF_ENV} ./waf ${WAF_ARGS} install
|
||||
|
||||
.include "../../audio/lv2/buildlink3.mk"
|
||||
.include "../../lang/python/tool.mk"
|
||||
.include "../../x11/gtk2/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
7
audio/suil/PLIST
Normal file
7
audio/suil/PLIST
Normal file
|
@ -0,0 +1,7 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2016/06/05 00:46:25 ryoon Exp $
|
||||
include/suil-0/suil/suil.h
|
||||
lib/libsuil-0.so
|
||||
lib/libsuil-0.so.0
|
||||
lib/libsuil-0.so.${PKGVERSION}
|
||||
lib/pkgconfig/suil-0.pc
|
||||
lib/suil-0/libsuil_x11_in_gtk2.so
|
15
audio/suil/buildlink3.mk
Normal file
15
audio/suil/buildlink3.mk
Normal file
|
@ -0,0 +1,15 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2016/06/05 00:46:25 ryoon Exp $
|
||||
|
||||
BUILDLINK_TREE+= suil
|
||||
|
||||
.if !defined(SUIL_BUILDLINK3_MK)
|
||||
SUIL_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.suil+= suil>=0.8.2
|
||||
BUILDLINK_PKGSRCDIR.suil?= ../../audio/suil
|
||||
|
||||
.include "../../audio/lv2/buildlink3.mk"
|
||||
.include "../../x11/gtk2/buildlink3.mk"
|
||||
.endif # SUIL_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -suil
|
10
audio/suil/distinfo
Normal file
10
audio/suil/distinfo
Normal file
|
@ -0,0 +1,10 @@
|
|||
$NetBSD: distinfo,v 1.1 2016/06/05 00:46:25 ryoon Exp $
|
||||
|
||||
SHA1 (audacity-minsrc-2.1.2.tar.xz) = d0b8924b846f833182e674d621b28eb666cc97d6
|
||||
RMD160 (audacity-minsrc-2.1.2.tar.xz) = 47fccf8b96b6db95a677045bf122084d233bd80c
|
||||
SHA512 (audacity-minsrc-2.1.2.tar.xz) = 46bc68825d29e88b14a674749532345ab63673ea1b85ad0d2a1b72b0974c74d2175e0ef307dad735592d18e56c1e0c65f994f4ee05d9e0f1aec194cd02c930da
|
||||
Size (audacity-minsrc-2.1.2.tar.xz) = 7233500 bytes
|
||||
SHA1 (suil-0.8.2.tar.bz2) = 191924a6ad7319802d4ed6a795b4cef724505867
|
||||
RMD160 (suil-0.8.2.tar.bz2) = a7c25cd9fde7269398da359451f86786011761b4
|
||||
SHA512 (suil-0.8.2.tar.bz2) = 63141aa61a6501b735f38f597763b7190158db7b5bc06afd8989bddd70372d78de937820fa6751192aefaf415c417387426c1c1bdb666cf231f74a2c4c9f7e91
|
||||
Size (suil-0.8.2.tar.bz2) = 141929 bytes
|
Loading…
Reference in a new issue