File:  [cvs.NetBSD.org] / pkgsrc / audio / vamp-plugin-sdk / Makefile
Revision 1.12: download - view: text, annotated - select for diffs
Tue Jul 18 12:56:06 2023 UTC (16 months, 3 weeks ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
audio: Where possible, adapt packages to use USE_(CC|CXX)_FEATURES

# $NetBSD: Makefile,v 1.12 2023/07/18 12:56:06 nia Exp $

DISTNAME=	vamp-plugin-sdk-2.10.0
PKGREVISION=	3
CATEGORIES=	audio
MASTER_SITES=	https://code.soundsoftware.ac.uk/attachments/download/2691/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk
COMMENT=	The Vamp audio analysis plugin system
LICENSE=	x11

USE_TOOLS+=	pkg-config gmake
USE_LANGUAGES=	c c++
GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes

USE_CXX_FEATURES+=	c++11

SUBST_CLASSES+=		dl
SUBST_STAGE.dl=		pre-configure
SUBST_MESSAGE.dl=	Fixing usage of -ldl in pkgconfig file.
SUBST_FILES.dl+=	pkgconfig/vamp-hostsdk.pc.in
SUBST_SED.dl=		-e "s,-ldl,${DL_LIBS},g"

PKGCONFIG_OVERRIDE+=	pkgconfig/vamp-hostsdk.pc.in
PKGCONFIG_OVERRIDE+=	pkgconfig/vamp-sdk.pc.in
PKGCONFIG_OVERRIDE+=	pkgconfig/vamp.pc.in

BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--version-script=build/vamp-plugin.map

.include "../../audio/libsndfile/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>