[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / amsynth

Annotation of pkgsrc/audio/amsynth/Makefile, Revision 1.5

1.5     ! leot        1: # $NetBSD: Makefile,v 1.4 2020/08/17 20:18:03 leot Exp $
1.1       nia         2:
1.3       nia         3: DISTNAME=      amsynth-1.10.0
1.5     ! leot        4: PKGREVISION=   2
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"
                     53: .include "../../audio/libsndfile/buildlink3.mk"
                     54: .include "../../audio/lv2/buildlink3.mk"
                     55: .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
                     56: .include "../../sysutils/desktop-file-utils/buildlink3.mk"
                     57: .include "../../x11/gtk2/buildlink3.mk"
                     58: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>