2016-12-29 14:29:37 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2016/12/29 14:29:37 jca Exp $
|
2008-03-24 03:01:28 +00:00
|
|
|
|
|
|
|
COMMENT = low latency sound server
|
|
|
|
|
2016-11-13 19:22:34 +00:00
|
|
|
V = 0.125.0
|
2009-01-11 10:51:45 +00:00
|
|
|
DISTNAME = jack-audio-connection-kit-${V}
|
2010-09-05 22:00:13 +00:00
|
|
|
PKGNAME = jack-${V}
|
2012-12-09 07:29:57 +00:00
|
|
|
CATEGORIES = audio
|
2008-03-24 03:01:28 +00:00
|
|
|
|
2016-11-13 19:22:34 +00:00
|
|
|
SHARED_LIBS += jack 2.0 # 0.28
|
|
|
|
SHARED_LIBS += jackserver 2.0 # 0.28
|
2008-03-24 03:01:28 +00:00
|
|
|
|
|
|
|
HOMEPAGE = http://jackaudio.org/
|
|
|
|
|
2009-01-12 10:45:01 +00:00
|
|
|
# LGPLv2/GPLv2
|
2008-03-24 03:01:28 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2015-05-06 10:22:07 +00:00
|
|
|
WANTLIB += c celt0>=1 db m pthread readline samplerate sndfile
|
2013-01-26 15:53:20 +00:00
|
|
|
WANTLIB += sndio termcap FLAC ogg vorbis vorbisenc
|
2008-03-24 03:01:28 +00:00
|
|
|
|
2009-01-11 10:51:45 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE}downloads/
|
2008-03-24 03:01:28 +00:00
|
|
|
|
2016-12-29 14:29:37 +00:00
|
|
|
MODULES = gcc4
|
|
|
|
# needs __sync_fetch_and_add_4, __sync_add_and_fetch_4
|
|
|
|
MODGCC4_ARCHS = arm
|
|
|
|
|
2010-11-15 00:22:45 +00:00
|
|
|
LIB_DEPENDS = audio/libsndfile \
|
2012-01-24 08:03:52 +00:00
|
|
|
audio/libsamplerate \
|
2015-05-06 10:22:07 +00:00
|
|
|
audio/celt>=0.11.0 \
|
|
|
|
databases/db/v4
|
2008-03-24 03:01:28 +00:00
|
|
|
|
2015-05-05 19:45:19 +00:00
|
|
|
|
2010-06-23 17:06:44 +00:00
|
|
|
# uses macros from libtool.m4
|
2015-05-06 10:22:07 +00:00
|
|
|
BUILD_DEPENDS = devel/libtool
|
2015-05-05 19:45:19 +00:00
|
|
|
|
2008-03-24 03:01:28 +00:00
|
|
|
LIBTOOL_FLAGS += --tag=disable-static
|
|
|
|
|
2012-01-24 08:03:52 +00:00
|
|
|
AUTOCONF_VERSION = 2.65
|
|
|
|
AUTOMAKE_VERSION = 1.10
|
2010-06-07 01:44:38 +00:00
|
|
|
CONFIGURE_STYLE = autoconf automake
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS += --with-default-tmpdir=/var/tmp \
|
2010-06-07 01:44:38 +00:00
|
|
|
--disable-sun \
|
2008-03-24 03:01:28 +00:00
|
|
|
--disable-portaudio \
|
2009-01-12 10:45:01 +00:00
|
|
|
--disable-optimize
|
2008-04-22 09:34:58 +00:00
|
|
|
|
2015-05-05 19:45:19 +00:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4" \
|
2008-03-24 03:01:28 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
HAVE_DOXYGEN="false"
|
|
|
|
|
|
|
|
.ifdef DEBUG
|
|
|
|
CONFIGURE_ARGS += --enable-debug
|
|
|
|
.endif
|
|
|
|
|
2010-06-07 01:44:38 +00:00
|
|
|
AUTO_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION}
|
|
|
|
|
2008-03-24 03:01:28 +00:00
|
|
|
post-patch:
|
2010-06-07 01:44:38 +00:00
|
|
|
cd ${WRKSRC}; ${AUTO_ENV} aclocal
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC}; ${AUTO_ENV} automake --add-missing --foreign
|
2008-03-24 03:01:28 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|