blob: 948500190c2b9bddb860a33ecb2773177f548533 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.5 2017/02/06 13:54:36 wiz Exp $
DISTNAME= lv2-1.12.0
PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://lv2plug.in/spec/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= http://lv2plug.in/
COMMENT= Open standard for audio plugins, used by hundreds of plugins
LICENSE= isc
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= lv2/lv2plug.in/ns/lv2core/lv2core.pc.in
PKGCONFIG_OVERRIDE+= lv2.pc.in
PYTHON_SELF_CONFLICT= yes
REPLACE_PYTHON+= lv2specgen/lv2specgen.py
.include "options.mk"
BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} ${BUILD_VALGRIND}
do-configure:
cd ${WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
--destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \
--copy-headers ${BUILD_OPTIONS}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build
do-install:
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.10
.include "../../graphics/cairo/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2++= gtk2+>=2.18.0
.include "../../x11/gtk2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libsndfile+= libsndfile>=1.0.0
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|