36d2cceb0b
- bump PKGNAME ok robert@
66 lines
1.7 KiB
Makefile
66 lines
1.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2006/10/27 12:53:01 ajacoutot Exp $
|
|
|
|
COMMENT= "free audio editor"
|
|
|
|
DISTNAME= audacity-src-1.3.0b
|
|
PKGNAME= ${DISTNAME:S/-src//}p0
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=audacity/}
|
|
|
|
HOMEPAGE= http://audacity.sourceforge.net/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c m ossaudio pthread stdc++ \
|
|
FLAC++ ogg vorbisenc
|
|
|
|
BUILD_DEPENDS= ::archivers/zip
|
|
LIB_DEPENDS= wx_base_xml,wx_base_odbc,wx_gtk2_html,wx_gtk2_adv,wx_gtk2_xrc,wx_base_net,wx_gtk2_dbgrid,wx_gtk2_qa,wx_base,wx_gtk2_core:wxWidgets-gtk2->=2.6.3:x11/wxWidgets \
|
|
sndfile.>=1::audio/libsndfile \
|
|
samplerate.>=1::audio/libsamplerate \
|
|
FLAC.>=4::audio/flac \
|
|
vorbis.>=0,vorbisfile.>=1::audio/libvorbis \
|
|
id3tag.>=2::audio/libid3tag \
|
|
mad.>=2::audio/libmad
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
CFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--with-id3=system \
|
|
--with-vorbis=system \
|
|
--with-libflac=system \
|
|
--with-libmad=system \
|
|
--with-libsndfile=system \
|
|
--with-libsamplerate=system \
|
|
--with-libresample=local \
|
|
--with-nyquist=local \
|
|
--with-ladspa \
|
|
--with-portmixer \
|
|
--with-soundtouch=local \
|
|
--with-portaudio=v18 \
|
|
--with-help
|
|
|
|
MAKE_FLAGS= CC="${CC}"
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}-beta
|
|
|
|
REGRESS_FLAGS= LDFLAGS="-L${X11BASE}/lib"
|
|
|
|
pre-configure:
|
|
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \
|
|
${WRKSRC}/src/export/ExportMP3.cpp
|
|
|
|
.include <bsd.port.mk>
|