1 # $NetBSD: Makefile.common,v 1.33 2011/04/09 13:20:20 shattered Exp $
2 # used by audio/libao-arts/Makefile
3 # used by audio/libao-esound/Makefile
4 # used by audio/libao-macosx/Makefile
5 # used by audio/libao-nas/Makefile
6 # used by audio/libao-oss/Makefile
7 # used by audio/libao-sun/Makefile
10 CATEGORIES= audio devel
11 MASTER_SITES= http://downloads.xiph.org/releases/ao/
13 MAINTAINER= pkgsrc-users@NetBSD.org
14 HOMEPAGE= http://www.xiph.org/ao/
15 COMMENT= Cross-platform audio library
17 DISTINFO_FILE= ${.CURDIR}/../../audio/libao/distinfo
18 PATCHDIR= ${.CURDIR}/../../audio/libao/patches
21 USE_TOOLS+= gmake pkg-config
23 MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
24 MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
26 PKGCONFIG_OVERRIDE+= ao.pc.in
28 CONFIGURE_ARGS+= --disable-alsa
29 CONFIGURE_ARGS+= --disable-alsa09
30 CONFIGURE_ARGS+= --disable-arts
31 CONFIGURE_ARGS+= --disable-esd
32 CONFIGURE_ARGS+= --disable-nas
33 CONFIGURE_ARGS+= --disable-pulse
34 CONFIGURE_ARGS+= ENABLE_AIX_AUDIO=no
35 CONFIGURE_ARGS+= ENABLE_IRIX=no
36 CONFIGURE_ARGS+= ENABLE_OSS=no
37 CONFIGURE_ARGS+= ENABLE_SUN_AUDIO=no
38 CONFIGURE_ARGS+= ENABLE_MACOSX=no
39 CONFIGURE_ARGS+= ENABLE_SOLARIS=no
41 MAKE_ENV+= DLLIB=${BUILDLINK_LDADD.dl}
43 .include "../../mk/dlopen.buildlink3.mk"
44 .include "../../mk/oss.buildlink3.mk"