pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/lilv Import lilv-0.20.0 as audio/lilv.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4e8c8885f04
branches:  trunk
changeset: 650272:e4e8c8885f04
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Mon Apr 20 03:21:58 2015 +0000

description:
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.

diffstat:

 audio/lilv/DESCR         |   4 +++
 audio/lilv/Makefile      |  52 ++++++++++++++++++++++++++++++++++++++++++++++++
 audio/lilv/PLIST         |  17 +++++++++++++++
 audio/lilv/buildlink3.mk |  16 ++++++++++++++
 audio/lilv/distinfo      |   5 ++++
 audio/lilv/options.mk    |  29 ++++++++++++++++++++++++++
 6 files changed, 123 insertions(+), 0 deletions(-)

diffs (147 lines):

diff -r 97b9e3616717 -r e4e8c8885f04 audio/lilv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lilv/DESCR  Mon Apr 20 03:21:58 2015 +0000
@@ -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 -r 97b9e3616717 -r e4e8c8885f04 audio/lilv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lilv/Makefile       Mon Apr 20 03:21:58 2015 +0000
@@ -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@localhost
+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 -r 97b9e3616717 -r e4e8c8885f04 audio/lilv/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lilv/PLIST  Mon Apr 20 03:21:58 2015 +0000
@@ -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 -r 97b9e3616717 -r e4e8c8885f04 audio/lilv/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lilv/buildlink3.mk  Mon Apr 20 03:21:58 2015 +0000
@@ -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 -r 97b9e3616717 -r e4e8c8885f04 audio/lilv/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lilv/distinfo       Mon Apr 20 03:21:58 2015 +0000
@@ -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 -r 97b9e3616717 -r e4e8c8885f04 audio/lilv/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lilv/options.mk     Mon Apr 20 03:21:58 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index