Hi, all here is the patch for alsa and directfb support in SDL. I know, it gets some mk files from wip, but if someone use Linux, he knows how alsa is better solution then oss. I completely test alsa support, so i add it to PKG_SUGGESTED_OPTIONS, but directfb support is there to future, and cause i have directfb installed on my system, so i need --disable-video-directfb do disable support it. But for embedded hardware, this support could be very interesting. I didn't test it yet, but i will, after directfb will be tested on NetBSD (see pkgsrc-wip-review%lists.sourceforge.net@localhost please). I hope, that this patch (or something like this) will be in cvs tree, so please try it, test it, fix it and put it to devel/SDL. Thanks a lot abd regards. -- Ondrej Tuma Www: www.blackmouse.biz, mcbig.webjet.cz Jabber: mcbig%jabber.cz@localhost
; name=alsa_directfb.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=alsa_directfb.patch --- options.mk.orig 2008-01-16 20:31:26.000000000 +0100 +++ options.mk 2008-01-16 20:48:39.000000000 +0100 @@ -1,7 +1,7 @@ # $NetBSD: options.mk,v 1.2 2006/06/15 09:45:05 adam Exp $ =20 PKG_OPTIONS_VAR=3D PKG_OPTIONS.SDL -PKG_SUPPORTED_OPTIONS=3D aalib arts esound nas +PKG_SUPPORTED_OPTIONS=3D aalib arts esound nas alsa PKG_SUGGESTED_OPTIONS=3D aalib arts esound nas =20 .include "../../mk/bsd.options.mk" @@ -31,3 +31,17 @@ .else CONFIGURE_ARGS+=3D --disable-nas .endif + +.if !empty(PKG_OPTIONS:Malsa) +CONFIGURE_ARGS+=3D --enable-alsa +.include "../../wip/mk/alsa.mk" +.else +CONFIGURE_ARGS+=3D --disable-alsa +.endif + +.if !empty(PKG_OPTIONS:Mdirectfb) +CONFIGURE_ARGS+=3D --enable-video-directfb +.include "../../wip/directfb/buildlink3.mk" +.else +CONFIGURE_ARGS+=3D --disable-video-directfb +.endif
Attachment:
signature.asc
Description: PGP signature