blob: 05692eb1a351451d2171795dd71e3529104d63dc (
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
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.9 2002/10/04 08:59:34 jlam Exp $
DISTNAME= audacity-src-1.0.0-2
PKGNAME= audacity-1.0.0.2
WRKSRC= ${WRKDIR}/audacity-src-1.0.0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=audacity/}
EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://audacity.sourceforge.net/
COMMENT= audio editor
BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
USE_BUILDLINK2= # defined
USE_X11= # defined
USE_GMAKE= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --without-xaudio
CONFIGURE_ARGS+= --with-id3
CONFIGURE_ARGS+= --with-libmad
CONFIGURE_ARGS+= --with-vorbis
CONFIGURE_ARGS+= --with-dev-dsp="${DEVOSSSOUND}"
CONFIGURE_ARGS+= --with-helpdir="${PREFIX}/share"
HAVE_OSS= NO
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/id3lib/ltconfig
pre-configure:
cd ${WRKSRC}/id3lib/include/id3; ${MV} -f strings.h id3_strings.h
cd ${WRKSRC}/id3lib; for file in \
`${FIND} . -type f -print | \
${XARGS} ${GREP} -l "\"strings\.h\""`; do \
${SED} -e "s|\"strings\.h\"|\"id3_strings.h\"|g" \
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done
cd ${WRKSRC} && ${AUTOCONF}
.include "../../audio/lame/buildlink2.mk"
.include "../../audio/libvorbis/buildlink2.mk"
.include "../../audio/mad/buildlink2.mk"
.include "../../x11/wxGTK/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"
# XXX Internal compiler error with -O2
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -O
.endif
|