File:  [cvs.NetBSD.org] / pkgsrc / audio / audacity / Makefile
Revision 1.92: download - view: text, annotated - select for diffs
Sat Apr 25 14:20:18 2015 UTC (9 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, HEAD
Recursive revbump following MesaLib update, categories a through f.

# $NetBSD: Makefile,v 1.92 2015/04/25 14:20:18 tnn Exp $

DISTNAME=		audacity-minsrc-2.1.0
PKGNAME=		${DISTNAME:S/-minsrc//1}
PKGREVISION=		1
CATEGORIES=		audio
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=audacity/}
EXTRACT_SUFX=		.tar.xz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://audacity.sourceforge.net/
COMMENT=		Audio editor
LICENSE=		gnu-gpl-v2 # AND cc-by-v3.0-license

USE_LIBTOOL=		yes
USE_TOOLS+=		autoconf gmake intltool msgfmt msgmerge pkg-config
USE_TOOLS+=		xgettext zip:run
USE_LANGUAGES=		c c++
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-expat=system --without-xaudio
CONFIGURE_ARGS+=	--with-ffmpeg=system --with-libflac=system
CONFIGURE_ARGS+=	--with-id3tag=system --with-libmad=system
CONFIGURE_ARGS+=	--with-vorbis=system --with-sbsms=system
CONFIGURE_ARGS+=	--with-libsamplerate=system --with-soundtouch=system
CONFIGURE_ARGS+=	--with-twolame=system --with-lv2=system
CONFIGURE_ARGS+=	--with-libsndfile=system --with-portaudio=local
CONFIGURE_ARGS+=	--enable-nyquist=yes --with-midi=local

CONFIG_GUESS_OVERRIDE=		\
	config.guess */config.guess */*/config.guess */*/*/config.guess
CONFIG_SUB_OVERRIDE=		\
	config.sub */config.sub */*/config.sub */*/*/config.sub

PTHREAD_AUTO_VARS=	yes
BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:M*}

.include "options.mk"

.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../audio/lilv/buildlink3.mk"
.include "../../audio/lv2/buildlink3.mk"
.include "../../audio/soundtouch/buildlink3.mk"
BUILDLINK_API_DEPENDS.twolame+=	twolame>=0.3.9
.include "../../audio/twolame/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libsbsms/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
#.include "../../audio/portaudio-devel/buildlink3.mk" # Needs Pa_GetStreamHostApiType
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.flac+=	flac>=1.3.0
.include "../../audio/flac/buildlink3.mk"
.include "../../multimedia/ffmpeg1/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/wxGTK28/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

# XXX Internal compiler error with -O2
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+=	-O
.endif

CVSweb <webmaster@jp.NetBSD.org>