head	1.16;
access;
symbols
	pkgsrc-2026Q1:1.16.0.6
	pkgsrc-2026Q1-base:1.16
	pkgsrc-2025Q4:1.16.0.4
	pkgsrc-2025Q4-base:1.16
	pkgsrc-2025Q3:1.16.0.2
	pkgsrc-2025Q3-base:1.16
	pkgsrc-2025Q2:1.15.0.2
	pkgsrc-2025Q2-base:1.15
	pkgsrc-2025Q1:1.14.0.2
	pkgsrc-2025Q1-base:1.14
	pkgsrc-2024Q4:1.13.0.2
	pkgsrc-2024Q4-base:1.13
	pkgsrc-2024Q3:1.12.0.8
	pkgsrc-2024Q3-base:1.12
	pkgsrc-2024Q2:1.12.0.6
	pkgsrc-2024Q2-base:1.12
	pkgsrc-2024Q1:1.12.0.4
	pkgsrc-2024Q1-base:1.12
	pkgsrc-2023Q4:1.12.0.2
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.11.0.2
	pkgsrc-2023Q3-base:1.11
	pkgsrc-2023Q2:1.9.0.2
	pkgsrc-2023Q2-base:1.9
	pkgsrc-2023Q1:1.8.0.2
	pkgsrc-2023Q1-base:1.8
	pkgsrc-2022Q4:1.7.0.4
	pkgsrc-2022Q4-base:1.7
	pkgsrc-2022Q3:1.7.0.2
	pkgsrc-2022Q3-base:1.7
	pkgsrc-2022Q2:1.5.0.4
	pkgsrc-2022Q2-base:1.5
	pkgsrc-2022Q1:1.5.0.2
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.4.0.2
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.3.0.2
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.2.0.2
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.1.0.4
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.2
	pkgsrc-2020Q4-base:1.1;
locks; strict;
comment	@# @;


1.16
date	2025.08.20.11.34.47;	author wiz;	state Exp;
branches;
next	1.15;
commitid	lgT5N7I1hRAxGs7G;

1.15
date	2025.04.24.14.13.18;	author wiz;	state Exp;
branches;
next	1.14;
commitid	A3VBjL8Zdd4LljSF;

1.14
date	2025.02.12.06.44.32;	author ryoon;	state Exp;
branches;
next	1.13;
commitid	wrOiT0jBBwBs99JF;

1.13
date	2024.10.29.15.35.58;	author nia;	state Exp;
branches;
next	1.12;
commitid	yQZJxLwqiYphvzvF;

1.12
date	2023.11.12.13.20.45;	author wiz;	state Exp;
branches;
next	1.11;
commitid	SjpNXQIV5XeZ3kME;

1.11
date	2023.07.18.12.56.07;	author nia;	state Exp;
branches;
next	1.10;
commitid	AmokttP24uR0HhxE;

1.10
date	2023.07.13.13.45.41;	author nia;	state Exp;
branches;
next	1.9;
commitid	4kRTXP8H4e6M7EwE;

1.9
date	2023.05.06.19.09.06;	author ryoon;	state Exp;
branches;
next	1.8;
commitid	U0SnpK5fQpHc6WnE;

1.8
date	2023.01.29.21.15.33;	author ryoon;	state Exp;
branches;
next	1.7;
commitid	QL7aBXsBGmQvUtbE;

1.7
date	2022.09.11.12.51.25;	author wiz;	state Exp;
branches;
next	1.6;
commitid	5DT6DUEaifG2DrTD;

1.6
date	2022.06.28.11.30.58;	author wiz;	state Exp;
branches;
next	1.5;
commitid	D2UoJrTHpoHEANJD;

1.5
date	2022.03.28.10.43.41;	author tnn;	state Exp;
branches;
next	1.4;
commitid	a4cavKiniSb6iYxD;

1.4
date	2021.11.13.10.48.03;	author nia;	state Exp;
branches;
next	1.3;
commitid	xI4PrLAgzlSJECgD;

1.3
date	2021.09.08.21.04.58;	author nia;	state Exp;
branches;
next	1.2;
commitid	6PGjeVec6yMAbc8D;

1.2
date	2021.05.24.19.49.08;	author wiz;	state Exp;
branches;
next	1.1;
commitid	qokaiStTApGMcrUC;

1.1
date	2020.10.30.15.47.01;	author nia;	state Exp;
branches;
next	;
commitid	X3rNfnz4RSuBuWtC;


desc
@@


1.16
log
@*: fix build with cmake 4
@
text
@# $NetBSD: Makefile,v 1.15 2025/04/24 14:13:18 wiz Exp $

DISTNAME=	zynaddsubfx-3.0.5
PKGREVISION=	11
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=zynaddsubfx/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://zynaddsubfx.sourceforge.io/
COMMENT=	Software synthesizer
LICENSE=	gnu-gpl-v2

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

USE_CXX_FEATURES+=	c++11

CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5

.include "../../mk/oss.buildlink3.mk"

PLIST_VARS+=		oss
.if ${OSS_TYPE} != "none"
PLIST.oss=		yes
LDFLAGS+=		${LIBOSSAUDIO}
SUBST_CLASSES+=		oss
SUBST_STAGE.oss=	pre-configure
SUBST_MESSAGE.oss=	Correcting the path to the OSS device.
SUBST_FILES.oss+=	src/Misc/Config.cpp
SUBST_SED.oss+=		-e "s,/dev/dsp,${DEVOSSAUDIO},g"
.endif

CHECK_PORTABILITY_SKIP+=	doc/bash-completion/zynaddsubfx.in

.include "options.mk"

post-install:
.if empty(PKG_OPTIONS:Malsa)
	${RM} -f ${DESTDIR}${PREFIX}/share/applications/zynaddsubfx-alsa.desktop
.endif
.if empty(PKG_OPTIONS:Mjack)
	${RM} -f ${DESTDIR}${PREFIX}/share/applications/zynaddsubfx-jack-multi.desktop
	${RM} -f ${DESTDIR}${PREFIX}/share/applications/zynaddsubfx-jack.desktop
.endif
.if ${OSS_TYPE} == "none"
	${RM} -f ${DESTDIR}${PREFIX}/share/applications/zynaddsubfx-oss.desktop
.endif

.include "../../devel/cmake/build.mk"
.include "../../audio/dssi/buildlink3.mk"
.include "../../audio/liblo/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../textproc/mxml/buildlink3.mk"
.include "../../x11/fltk13/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.15
log
@*: recursive bump for jpeg -> libjpeg-turbo switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/02/12 06:44:32 ryoon Exp $
d19 2
@


1.14
log
@*: Recursive revbump from audio/flac-1.5.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/10/29 15:35:58 nia Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.13
log
@zynaddsubfx: Convert to build.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/11/12 13:20:45 wiz Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.12
log
@*: revebump for new brotli option for freetype2

Addresses PR 57693
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/07/18 12:56:07 nia Exp $
a13 1
USE_CMAKE=	yes
d48 1
@


1.11
log
@audio: Where possible, adapt packages to use USE_(CC|CXX)_FEATURES
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/07/13 13:45:41 nia Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.10
log
@*: remove all instances of GCC_REQD where my name is the most recent in
"cvs annotate" (part 1)

Hopefully this commit can be reviewed later if a better replacement
for GCC_REQD is committed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/05/06 19:09:06 ryoon Exp $
d18 2
@


1.9
log
@*: Recursive revbump from audio/libopus 1.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/01/29 21:15:33 ryoon Exp $
a17 3
# C++11
GCC_REQD+=	4.8

@


1.8
log
@*: Recursive revbup from graphics/freetype2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/09/11 12:51:25 wiz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.7
log
@*: bump PKGREVISION for flac shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/06/28 11:30:58 wiz Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.6
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/03/28 10:43:41 tnn Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.5
log
@a*/*: revbump(1) for libsndfile
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/11/13 10:48:03 nia Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.4
log
@audio: Enable JACK (where supported) for some "professional" tools
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/09/08 21:04:58 nia Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.3
log
@Recursive revbump for audio/jack
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/05/24 19:49:08 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.2
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/10/30 15:47:01 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.1
log
@audio: add zynaddsubfx

ZynAddSubFX is a fully featured musical software synthesizer.

ZynAddSubFX exposes a wide array of synthesis parameters to make it flexible
tool for sound design and a fun experience for playing instruments.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
@

