# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.5-r1.ebuild,v 1.9 2003/09/06 23:59:48 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.5-r1.ebuild,v 1.10 2003/09/10 04:19:00 vapier Exp $
IUSE="arts xv opengl fbcon aalib nas esd X svga ggi alsa"
cp SDL_DirectFB_video.c SDL_DirectFB_video.c.orig
sed -e "s:DICAPS_ALL, ::" SDL_DirectFB_video.c.orig \
> SDL_DirectFB_video.c
+ cd ${S}
+ sed -i 's:head -1:head -n 1:' configure
}
src_compile() {
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.5-r2.ebuild,v 1.7 2003/07/29 21:17:55 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.5-r2.ebuild,v 1.8 2003/09/10 04:19:00 vapier Exp $
IUSE="arts xv opengl fbcon aalib nas esd X svga ggi alsa"
# resolution in XFree86-4.3 instead of the worst one.
cd ${S}
use X && epatch ${FILESDIR}/${P}-xfree-4.3.patch.bz2
+ sed -i 's:head -1:head -n 1:' configure
}
src_compile() {
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.6.ebuild,v 1.1 2003/09/09 02:00:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.6.ebuild,v 1.2 2003/09/10 04:19:00 vapier Exp $
DESCRIPTION="Simple Direct Media Layer"
HOMEPAGE="http://www.libsdl.org/"
S=${WORKDIR}/SDL-${PV}
src_compile() {
+ sed -i 's:head -1:head -n 1:' configure
+
local myconf
if use oss || use alsa || use esd || use arts || use nas ; then
myconf="${myconf} --enable-audio"