Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 05/20/2005 19:20:56
Module Name:	pkgsrc
Committed By:	jmmv
Date:		Fri May 20 19:20:56 UTC 2005

Modified Files:
	pkgsrc/audio: Makefile
	pkgsrc/audio/libao: DESCR Makefile Makefile.common PLIST buildlink3.mk
	    distinfo
	pkgsrc/audio/libao/patches: patch-ae
	pkgsrc/doc: CHANGES
Added Files:
	pkgsrc/audio/libao-macosx: DESCR Makefile PLIST
	pkgsrc/audio/libao-oss: DESCR Makefile PLIST
	pkgsrc/audio/libao-sun: DESCR Makefile PLIST
Removed Files:
	pkgsrc/audio/libao: PLIST.Darwin
	pkgsrc/audio/libao/patches: patch-aa

Log Message:
- 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.


To generate a diff of this commit:
cvs rdiff -r1.280 -r1.281 pkgsrc/audio/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/audio/libao/DESCR
cvs rdiff -r1.26 -r1.27 pkgsrc/audio/libao/Makefile
cvs rdiff -r1.18 -r1.19 pkgsrc/audio/libao/Makefile.common
cvs rdiff -r1.10 -r1.11 pkgsrc/audio/libao/PLIST
cvs rdiff -r1.1 -r0 pkgsrc/audio/libao/PLIST.Darwin
cvs rdiff -r1.5 -r1.6 pkgsrc/audio/libao/buildlink3.mk
cvs rdiff -r1.16 -r1.17 pkgsrc/audio/libao/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/audio/libao-macosx/DESCR \
    pkgsrc/audio/libao-macosx/Makefile pkgsrc/audio/libao-macosx/PLIST
cvs rdiff -r0 -r1.1 pkgsrc/audio/libao-oss/DESCR \
    pkgsrc/audio/libao-oss/Makefile pkgsrc/audio/libao-oss/PLIST
cvs rdiff -r0 -r1.1 pkgsrc/audio/libao-sun/DESCR \
    pkgsrc/audio/libao-sun/Makefile pkgsrc/audio/libao-sun/PLIST
cvs rdiff -r1.8 -r0 pkgsrc/audio/libao/patches/patch-aa
cvs rdiff -r1.6 -r1.7 pkgsrc/audio/libao/patches/patch-ae
cvs rdiff -r1.10142 -r1.10143 pkgsrc/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.