tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

SDL alsa support

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 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

; name=alsa_directfb.patch
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=alsa_directfb.patch

---     2008-01-16 20:31:26.000000000 +0100
+++  2008-01-16 20:48:39.000000000 +0100
@@ -1,7 +1,7 @@
 # $NetBSD:,v 1.2 2006/06/15 09:45:05 adam Exp $
-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
 .include "../../mk/"
@@ -31,3 +31,17 @@
 CONFIGURE_ARGS+=3D     --disable-nas
+.if !empty(PKG_OPTIONS:Malsa)
+CONFIGURE_ARGS+=3D    --enable-alsa
+.include "../../wip/mk/"
+CONFIGURE_ARGS+=3D    --disable-alsa
+.if !empty(PKG_OPTIONS:Mdirectfb)
+CONFIGURE_ARGS+=3D    --enable-video-directfb
+.include "../../wip/directfb/"
+CONFIGURE_ARGS+=3D    --disable-video-directfb

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index