blob: 73c601de78f0782fef735515dd79a9b6502531c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.103 2020/08/17 20:18:10 leot Exp $
DISTNAME= snd-20.4
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://ccrma.stanford.edu/software/snd/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ccrma.stanford.edu/software/snd/
COMMENT= Sound editor modelled loosely after Emacs
LICENSE= esdl-license
DEPENDS+= flac-[0-9]*:../../audio/flac
DEPENDS+= mpg123-[0-9]*:../../audio/mpg123
DEPENDS+= speex-[0-9]*:../../audio/speex
DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt pkg-config
BUILD_TARGET= snd
MAKE_FILE= makefile
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
# On NetBSD we use sunaudio, and on Linux we use ALSA.
.if ${OSS_TYPE} != "none" && \
${OPSYS} != "NetBSD" && ${OPSYS} != "Linux"
CONFIGURE_ARGS+= --with-oss
LDFLAGS+= ${LIBOSSAUDIO}
.else
CONFIGURE_ARGS+= --without-oss
.endif
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|