Annotation of pkgsrc/audio/amsynth/Makefile, Revision 1.16
1.16 ! wiz 1: # $NetBSD: Makefile,v 1.15 2022/09/11 12:51:13 wiz Exp $
1.1 nia 2:
1.8 nia 3: DISTNAME= amsynth-1.12.2
1.16 ! wiz 4: PKGREVISION= 8
1.1 nia 5: CATEGORIES= audio
6: MASTER_SITES= ${MASTER_SITE_GITHUB:=amsynth/}
7: GITHUB_PROJECT= amsynth
8: GITHUB_RELEASE= release-${PKGVERSION_NOREV}
9:
10: MAINTAINER= pkgsrc-users@NetBSD.org
11: HOMEPAGE= https://amsynth.github.io/
12: COMMENT= Software synth with a subtractive synthesizer topology
13: LICENSE= gnu-gpl-v2
14:
15: GNU_CONFIGURE= yes
16: USE_LIBTOOL= yes
17: USE_LANGUAGES= c c++
18:
19: TOOL_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
20:
21: USE_TOOLS+= perl pkg-config gmake
22: USE_TOOLS+= intltool msgfmt msgmerge xgettext
23:
24: # XXX: this should be an option.
25: CONFIGURE_ARGS+= --without-pandoc
26:
27: .include "../../mk/oss.buildlink3.mk"
28:
29: .if ${OSS_TYPE} != "none"
1.2 nia 30: LIBS+= ${LIBOSSAUDIO}
1.1 nia 31: CONFIGURE_ARGS= --with-oss
32: SUBST_CLASSES+= oss
33: SUBST_STAGE.oss= pre-configure
34: SUBST_MESSAGE.oss= Correcting the path to the OSS device.
35: SUBST_FILES.oss+= data/rc
36: SUBST_FILES.oss+= src/Configuration.cpp
37: SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
38: SUBST_SED.oss+= -e "s,/dev/midi,${DEVOSSMIDI},g"
39: .else
40: CONFIGURE_ARGS+= --without-oss
41: .endif
42:
43: .if ${OPSYS} == "NetBSD"
44: SUBST_CLASSES+= sr
45: SUBST_STAGE.sr= pre-configure
46: SUBST_MESSAGE.sr= Setting a better default sample rate.
47: SUBST_FILES.sr+= data/rc
48: SUBST_FILES.sr+= src/Configuration.cpp
49: SUBST_SED.sr+= -e "s,44100,48000,g"
50: .endif
51:
52: .include "options.mk"
1.8 nia 53: .include "../../audio/dssi/buildlink3.mk"
1.1 nia 54: .include "../../audio/libsndfile/buildlink3.mk"
55: .include "../../audio/lv2/buildlink3.mk"
56: .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
57: .include "../../sysutils/desktop-file-utils/buildlink3.mk"
58: .include "../../x11/gtk2/buildlink3.mk"
59: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>