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

File: [cvs.NetBSD.org] / pkgsrc / audio / audacity / Makefile (download)

Revision 1.116, Fri Nov 23 08:06:29 2018 UTC (4 months, 4 weeks ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.115: +2 -2 lines

Recursive revbump from multimedia/libva

# $NetBSD: Makefile,v 1.116 2018/11/23 08:06:29 ryoon Exp $

DISTNAME=		audacity-minsrc-2.1.2
PKGNAME=		${DISTNAME:S/-minsrc//1}
PKGREVISION=		14
CATEGORIES=		audio
# sadly fosshub.com does not provice hot link
MASTER_SITES=		${MASTER_SITE_LOCAL}
EXTRACT_SUFX=		.tar.xz

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

USE_LIBTOOL=		yes
USE_TOOLS+=		automake autoreconf bash
USE_TOOLS+=		gmake intltool msgfmt msgmerge pkg-config
USE_TOOLS+=		xgettext zip:run
USE_LANGUAGES=		c c++
WRAPPER_SHELL=		${BASH}
CONFIG_SHELL=		${BASH}
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--enable-nyquist=yes
CONFIGURE_ARGS+=	--with-expat=system
CONFIGURE_ARGS+=	--with-ffmpeg=system
CONFIGURE_ARGS+=	--with-id3tag=system
CONFIGURE_ARGS+=	--with-libflac=system
CONFIGURE_ARGS+=	--with-libmad=system
CONFIGURE_ARGS+=	--with-libsamplerate=system
CONFIGURE_ARGS+=	--with-libsndfile=system
CONFIGURE_ARGS+=	--with-lv2=system
CONFIGURE_ARGS+=	--with-midi=local
CONFIGURE_ARGS+=	--with-portaudio=local
CONFIGURE_ARGS+=	--with-sbsms=system
CONFIGURE_ARGS+=	--with-soundtouch=system
CONFIGURE_ARGS+=	--with-twolame=system
CONFIGURE_ARGS+=	--with-vorbis=system
CONFIGURE_ARGS+=	--with-libsoxr=system
CONFIGURE_ARGS+=	--without-xaudio

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

CFLAGS.SunOS+=	-fPIC

PTHREAD_AUTO_VARS=	yes
BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:M*}
BUILDLINK_TRANSFORM+=	rm:-Wl,--version-script=./build/vamp-plugin.map

# regen Makefile.in to avoid being built as shared libraries
pre-configure:
	cd ${WRKSRC}/lib-src/portaudio-v19 && ${PKGSRC_SETENV} autoreconf -fiv
	cd ${WRKSRC}/lib-src/portmixer && ${PKGSRC_SETENV} autoreconf -fiv
	cd ${WRKSRC}/lib-src/lib-widget-extra && autoreconf -fiv

.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/libsoxr/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
#.include "../../audio/portaudio-devel/buildlink3.mk" # Needs Pa_GetStreamHostApiType
.include "../../audio/suil/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.flac+=	flac>=1.3.0
.include "../../audio/flac/buildlink3.mk"
.include "../../multimedia/ffmpeg3/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"