openbsd-ports/audio/libao/Makefile

68 lines
1.6 KiB
Makefile
Raw Normal View History

2006-11-24 11:22:21 -05:00
# $OpenBSD: Makefile,v 1.35 2006/11/24 16:22:21 naddy Exp $
2006-11-24 11:22:21 -05:00
COMMENT-main= "portable audio output library"
COMMENT-arts= "aRts module for portable audio output library"
COMMENT-esd= "ESounD module for portable audio output library"
2004-10-22 12:37:07 -04:00
VERSION= 0.8.5
DISTNAME= libao-${VERSION}
2006-11-24 11:22:21 -05:00
PKGNAME-main= libao-${VERSION}p3
PKGNAME-arts= libao-arts-${VERSION}p2
PKGNAME-esd= libao-esd-${VERSION}p3
CATEGORIES= audio
HOMEPAGE= http://www.xiph.org/ao/
2006-10-28 06:30:41 -04:00
SHARED_LIBS += ao 3.2 # .3.2
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}src/
2001-10-08 10:57:55 -04:00
2002-08-07 16:40:15 -04:00
PSEUDO_FLAVORS= no_arts no_esd
2001-07-26 08:31:32 -04:00
FLAVOR?= no_arts
2006-11-24 11:22:21 -05:00
MULTI_PACKAGES= -main
2001-07-26 08:31:32 -04:00
.if !${FLAVOR:L:Mno_arts}
2006-11-24 11:22:21 -05:00
MULTI_PACKAGES+=-arts
.endif
2001-07-26 08:31:32 -04:00
.if !${FLAVOR:L:Mno_esd}
2006-11-24 11:22:21 -05:00
MULTI_PACKAGES+=-esd
.endif
2005-10-18 19:24:25 -04:00
USE_LIBTOOL= Yes
2003-10-08 12:01:45 -04:00
SEPARATE_BUILD= simple
2006-11-24 11:22:21 -05:00
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static
.if ${FLAVOR:L:Mno_arts}
CONFIGURE_ARGS+= --disable-arts
.endif
.if ${FLAVOR:L:Mno_esd}
CONFIGURE_ARGS+= --disable-esd
.endif
CONFIGURE_ARGS+= --disable-nas
2006-11-24 11:22:21 -05:00
.if ${MULTI_PACKAGES:M-arts}
MODULES= devel/gettext
.endif
2006-11-24 11:22:21 -05:00
LIB_DEPENDS-main=
RUN_DEPENDS-main=
WANTLIB-main= pthread
LIB_DEPENDS-arts= ${MODGETTEXT_LIB_DEPENDS} \
artsc::x11/kde/arts3
RUN_DEPENDS-arts= ${MODGETTEXT_RUN_DEPENDS} \
:libao-${VERSION}:audio/libao
WANTLIB-arts= glib-2.0 gmodule-2.0 gthread-2.0 pthread
LIB_DEPENDS-esd= esd.>=2::audio/esound
RUN_DEPENDS-esd= :libao-${VERSION}:audio/libao
WANTLIB-esd= audiofile m pthread
.include <bsd.port.mk>