pkgsrc/audio/libao/Makefile.common
shattered 0b74b106d0 Update to 1.1.0. Notable changes:
Fix segfaults when closing a driver that did not successfully open.
Fix Mac OS X AUHAL support to properly handle suspend/wakeup, headphone plug/unplug, other hardware events
Fix building Mac OS X driver AUHAL compilation for 10.5, restore Mac OS X 10.4 support
Add 24 bit playback to Pulse plugin
Fix compilation of sndio plugin
Fix 24 bit playback in ALSA plugin
Improve/correct latency setup in ALSA (see Trac #1762)

Also fixes crash in ogg123 with libao-pulse (Trac #1689)
2011-04-09 13:20:20 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: Makefile.common,v 1.33 2011/04/09 13:20:20 shattered Exp $
# used by audio/libao-arts/Makefile
# used by audio/libao-esound/Makefile
# used by audio/libao-macosx/Makefile
# used by audio/libao-nas/Makefile
# used by audio/libao-oss/Makefile
# used by audio/libao-sun/Makefile
DISTNAME= libao-1.1.0
CATEGORIES= audio devel
MASTER_SITES= http://downloads.xiph.org/releases/ao/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xiph.org/ao/
COMMENT= Cross-platform audio library
PKG_DESTDIR_SUPPORT= user-destdir
DISTINFO_FILE= ${.CURDIR}/../../audio/libao/distinfo
PATCHDIR= ${.CURDIR}/../../audio/libao/patches
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= yes
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
PKGCONFIG_OVERRIDE+= ao.pc.in
CONFIGURE_ARGS+= --disable-alsa
CONFIGURE_ARGS+= --disable-alsa09
CONFIGURE_ARGS+= --disable-arts
CONFIGURE_ARGS+= --disable-esd
CONFIGURE_ARGS+= --disable-nas
CONFIGURE_ARGS+= --disable-pulse
CONFIGURE_ARGS+= ENABLE_AIX_AUDIO=no
CONFIGURE_ARGS+= ENABLE_IRIX=no
CONFIGURE_ARGS+= ENABLE_OSS=no
CONFIGURE_ARGS+= ENABLE_SUN_AUDIO=no
CONFIGURE_ARGS+= ENABLE_MACOSX=no
CONFIGURE_ARGS+= ENABLE_SOLARIS=no
MAKE_ENV+= DLLIB=${BUILDLINK_LDADD.dl}
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"