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

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

DISTNAME=	ykchorus-v0.2.2-source
PKGNAME=	${DISTNAME:S/-source//1:S/-v/-/1}
PKGREVISION=	5
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_GITHUB:=SpotlightKid/}
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/SpotlightKid/ykchorus
COMMENT=	Chorus audio effect plugin
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/ykchorus

USE_TOOLS+=	gmake pkg-config
USE_LANGUAGES=	c c++

USE_CXX_FEATURES+=	c++11

BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--as-needed
BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--gc-sections
BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,-O1

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "Linux"
CXXFLAGS+=	-DDGL_FILE_BROWSER_DISABLED
.endif

# No CPU-specific optimizations
MAKE_FLAGS+=	NOOPT=true

REPLACE_SH+=	dpf/utils/generate-ttl.sh

.include "../../audio/jack/buildlink3.mk"
.include "../../audio/liblo/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>