summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-04-20 03:21:58 +0000
committerrodent <rodent@pkgsrc.org>2015-04-20 03:21:58 +0000
commit31ebaceb804fb668ebfad22978a220ba9cfe80fa (patch)
treef26b34699fa44a30b6cdfbf825585c7ff66f25e8
parent10bde29b82e2b710a957bab250a61223c875e9be (diff)
downloadpkgsrc-31ebaceb804fb668ebfad22978a220ba9cfe80fa.tar.gz
Import lilv-0.20.0 as audio/lilv.
Lilv is a C library to make the use of LV2 plugins as simple as possible for applications. Lilv is the successor to SLV2, rewritten to be significantly faster and have minimal dependencies. It is stable, well-tested software (the included test suite covers over 90% of the code) in use by several applications.
-rw-r--r--audio/lilv/DESCR4
-rw-r--r--audio/lilv/Makefile52
-rw-r--r--audio/lilv/PLIST17
-rw-r--r--audio/lilv/buildlink3.mk16
-rw-r--r--audio/lilv/distinfo5
-rw-r--r--audio/lilv/options.mk29
6 files changed, 123 insertions, 0 deletions
diff --git a/audio/lilv/DESCR b/audio/lilv/DESCR
new file mode 100644
index 00000000000..4f2e4d1b2bd
--- /dev/null
+++ b/audio/lilv/DESCR
@@ -0,0 +1,4 @@
+Lilv is a C library to make the use of LV2 plugins as simple as possible for
+applications. Lilv is the successor to SLV2, rewritten to be significantly
+faster and have minimal dependencies. It is stable, well-tested software (the
+included test suite covers over 90% of the code) in use by several applications.
diff --git a/audio/lilv/Makefile b/audio/lilv/Makefile
new file mode 100644
index 00000000000..02e406064b0
--- /dev/null
+++ b/audio/lilv/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2015/04/20 03:21:58 rodent Exp $
+
+DISTNAME= lilv-0.20.0
+CATEGORIES= audio
+MASTER_SITES= http://download.drobilla.net/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://drobilla.net/software/lilv/
+COMMENT= C library to make the use of LV2 plugins as simple as possible
+LICENSE= isc
+
+#BUILD_DEPENDS+= swig-[0-9]*:../../devel/swig2 # python --bindings BROKEN
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gsed pkg-config
+
+PKGCONFIG_OVERRIDE+= lilv.pc.in
+CONFIGURE_ENV+= LV2_PATH=${BUILDLINK_PREFIX.lv2}/lib/lv2
+EGDIR= share/examples/lilv
+CONF_FILES= ${EGDIR}/lilv ${PKG_SYSCONFDIR}/bash_completion.d/lilv
+INSTALLATION_DIRS+= ${PKG_SYSCONFDIR}/bash_completion.d ${EGDIR}
+
+.include "options.mk"
+
+BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} # --bindings BROKEN
+
+do-configure:
+ cd ${WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
+ --destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \
+ --default-lv2-path=${BUILDLINK_PREFIX.lv2}/lib/lv2 \
+ ${BUILD_OPTIONS}
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build
+
+do-install:
+ cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install
+ ${INSTALL_DATA} ${WRKSRC}/utils/lilv.bash_completion \
+ ${DESTDIR}${PREFIX}/${EGDIR}/lilv
+ ${RM} ${DESTDIR}${PKG_SYSCONFDIR}/bash_completion.d/lilv
+
+BUILDLINK_API_DEPENDS.sratom+= sratom>=0.4.0
+.include "../../converters/sratom/buildlink3.mk"
+BUILDLINK_API_DEPENDS.lv2+= lv2>=1.8.0
+.include "../../audio/lv2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.sord+= sord>=0.12.0
+.include "../../textproc/sord/buildlink3.mk"
+BUILDLINK_API_DEPENDS.serd+= serd>=0.14.0
+.include "../../textproc/serd/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/lilv/PLIST b/audio/lilv/PLIST
new file mode 100644
index 00000000000..282360c12c6
--- /dev/null
+++ b/audio/lilv/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/20 03:21:58 rodent Exp $
+bin/lilv-bench
+bin/lv2bench
+bin/lv2info
+bin/lv2ls
+include/lilv-0/lilv/lilv.h
+include/lilv-0/lilv/lilvmm.hpp
+lib/liblilv-0.so
+lib/liblilv-0.so.0
+lib/liblilv-0.so.${PKGVERSION}
+lib/pkgconfig/lilv-0.pc
+man/man1/lv2info.1
+man/man1/lv2ls.1
+${PLIST.doc}man/man3/lilv.3
+${PLIST.doc}share/doc/lilv-0/html/index.html
+${PLIST.doc}share/doc/lilv-0/html/style.css
+share/examples/lilv/lilv
diff --git a/audio/lilv/buildlink3.mk b/audio/lilv/buildlink3.mk
new file mode 100644
index 00000000000..5f626f97df5
--- /dev/null
+++ b/audio/lilv/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/04/20 03:21:58 rodent Exp $
+
+BUILDLINK_TREE+= lilv
+
+.if !defined(LILV_BUILDLINK3_MK)
+LILV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lilv+= lilv>=0.20.0
+BUILDLINK_PKGSRCDIR.lilv?= ../../audio/lilv
+
+.include "../../converters/sratom/buildlink3.mk"
+.include "../../textproc/sord/buildlink3.mk"
+.include "../../textproc/serd/buildlink3.mk"
+.endif # LILV_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -lilv
diff --git a/audio/lilv/distinfo b/audio/lilv/distinfo
new file mode 100644
index 00000000000..4afbb8c4d4c
--- /dev/null
+++ b/audio/lilv/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/20 03:21:58 rodent Exp $
+
+SHA1 (lilv-0.20.0.tar.bz2) = b3a7d0089b16b04114895d47a898b8d494774927
+RMD160 (lilv-0.20.0.tar.bz2) = 7830520d983fa8effa7c3e18fda545bc55253642
+Size (lilv-0.20.0.tar.bz2) = 207948 bytes
diff --git a/audio/lilv/options.mk b/audio/lilv/options.mk
new file mode 100644
index 00000000000..d5ebae9a0cf
--- /dev/null
+++ b/audio/lilv/options.mk
@@ -0,0 +1,29 @@
+# $NetBSD: options.mk,v 1.1 2015/04/20 03:21:58 rodent Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.lilv
+PKG_SUPPORTED_OPTIONS= debug doc tests
+PKG_SUGGESTED_OPTIONS+= # blank
+PLIST_VARS+= doc
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+BUILD_DEBUG= --debug
+.else
+BUILD_DEBUG= # blank
+.endif
+
+.if !empty(PKG_OPTIONS:Mdoc)
+BUILD_DOC= --docs
+BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+BUILD_DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
+PLIST.doc= yes
+.else
+BUILD_DOC= # blank
+.endif
+
+.if !empty(PKG_OPTIONS:Mtests)
+BUILD_TESTS= --test
+.else
+BUILD_TESTS= # blank
+.endif