From 3d5351f8dff0655f0a65e96c63b3897b5d5f80b9 Mon Sep 17 00:00:00 2001 From: jmmv Date: Fri, 20 May 2005 19:20:55 +0000 Subject: - Change libao to not build OSS, Sun, MacOS X nor several other plugins even when the header files are found. Bump its revision to 1 due to this. This makes the libao package completely audio-output agnostic. - Add a libao-macosx package containing the MacOS X plugin (sorry, untested). - Add a libao-oss package containing the OSS plugin. While here, use ossaudio.buildlink3.mk to determine the audio device instead of hardcoding it in a patch. - Add a libao-macosx package containing the Sun audio plugin (sorry, untested). Change approved by silence on tech-pkg@ for quite a long time since my proposal. I'm doing these changes to cleanup the base libao package. Before these, it contained a huge conditional to determine when the OSS and/or Sun plugins were built, which often failed in untested platforms (PLIST inconsistencies, for example). Having these plugins in independent packages makes debugging easier, keeps the dependency tree clean and also lets us use {ONLY,NOT}_FOR_PLATFORM directives to easily say where they work or don't. --- audio/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'audio/Makefile') diff --git a/audio/Makefile b/audio/Makefile index ef418bac85a..8f51bdf52eb 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.280 2005/05/16 09:55:43 rh Exp $ +# $NetBSD: Makefile,v 1.281 2005/05/20 19:20:55 jmmv Exp $ # COMMENT= Audio tools @@ -120,6 +120,9 @@ SUBDIR+= libac3 SUBDIR+= libao SUBDIR+= libao-arts SUBDIR+= libao-esound +SUBDIR+= libao-macosx +SUBDIR+= libao-oss +SUBDIR+= libao-sun SUBDIR+= libaudiofile SUBDIR+= libcdaudio SUBDIR+= libcddb -- cgit v1.2.3