Mon Apr 20 03:21:58 2015 UTC ()
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.


(rodent)
diff -r0 -r1.1 pkgsrc/audio/lilv/DESCR
diff -r0 -r1.1 pkgsrc/audio/lilv/Makefile
diff -r0 -r1.1 pkgsrc/audio/lilv/PLIST
diff -r0 -r1.1 pkgsrc/audio/lilv/buildlink3.mk
diff -r0 -r1.1 pkgsrc/audio/lilv/distinfo
diff -r0 -r1.1 pkgsrc/audio/lilv/options.mk

File Added: pkgsrc/audio/lilv/DESCR
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.

File Added: pkgsrc/audio/lilv/Makefile
# $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"

File Added: pkgsrc/audio/lilv/PLIST
@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

File Added: pkgsrc/audio/lilv/buildlink3.mk
# $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

File Added: pkgsrc/audio/lilv/distinfo
$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

File Added: pkgsrc/audio/lilv/options.mk
# $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