diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-19 20:54:29 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-19 20:54:29 +0000 |
commit | eb4af385f24255a5dd6afbf949874fcf5bcb084b (patch) | |
tree | a8654d496cc9d516784e2515b9b286bbdd7fe7c0 /media-libs/libsdl | |
parent | new version, removed old one (diff) | |
download | gentoo-2-eb4af385f24255a5dd6afbf949874fcf5bcb084b.tar.gz gentoo-2-eb4af385f24255a5dd6afbf949874fcf5bcb084b.tar.bz2 gentoo-2-eb4af385f24255a5dd6afbf949874fcf5bcb084b.zip |
opengl fix by phoen][x
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r-- | media-libs/libsdl/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libsdl/files/digest-libsdl-1.2.4-r1 | 1 | ||||
-rw-r--r-- | media-libs/libsdl/libsdl-1.2.4-r1.ebuild | 95 |
3 files changed, 104 insertions, 1 deletions
diff --git a/media-libs/libsdl/ChangeLog b/media-libs/libsdl/ChangeLog index 577bcd26ce57..5d86dbea9145 100644 --- a/media-libs/libsdl/ChangeLog +++ b/media-libs/libsdl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libsdl # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.4 2002/04/17 11:48:33 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.5 2002/04/19 20:54:29 seemant Exp $ + +*libsdl-1.2.4-r1 (19 Apr 2002) + + 19 Apr 2002; Seemant Kulleen <seemant@gentoo.org> libsdl-1.2.4-r1.ebuild : + + phoen][x from #gentoo pointed out that opengl was being disabled and enabled + contrary to its USE flag setting. *libsdl-1.2.4 (17 Apr 2002) diff --git a/media-libs/libsdl/files/digest-libsdl-1.2.4-r1 b/media-libs/libsdl/files/digest-libsdl-1.2.4-r1 new file mode 100644 index 000000000000..d7cf1782b39d --- /dev/null +++ b/media-libs/libsdl/files/digest-libsdl-1.2.4-r1 @@ -0,0 +1 @@ +MD5 116c083aad99faae691c6ca8dcdf406d SDL-1.2.4.tar.gz 1806163 diff --git a/media-libs/libsdl/libsdl-1.2.4-r1.ebuild b/media-libs/libsdl/libsdl-1.2.4-r1.ebuild new file mode 100644 index 000000000000..bb436be62a6a --- /dev/null +++ b/media-libs/libsdl/libsdl-1.2.4-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Seemant Kulleen <seemant@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.4-r1.ebuild,v 1.1 2002/04/19 20:54:29 seemant Exp $ + +S=${WORKDIR}/SDL-${PV} +DESCRIPTION="Simple Direct Media Layer" +SRC_URI="http://www.libsdl.org/release/SDL-${PV}.tar.gz" +HOMEPAGE="http://www.libsdl.org/" + +RDEPEND=">=media-libs/audiofile-0.1.9 + X? ( virtual/x11 ) + esd? ( >=media-sound/esound-0.2.19 ) + ggi? ( >=media-libs/libggi-2.0_beta3 ) + nas? ( media-libs/nas ) + alsa? ( media-libs/alsa-lib ) + arts? ( >=kde-base/kdelibs-2.0.1 ) + svga? ( >=media-libs/svgalib-1.4.2 ) + opengl? ( virtual/opengl ) + directfb? ( >=dev-libs/DirectFB-0.9.7 )" + +DEPEND="${RDEPEND} + dev-lang/nasm" + + +src_compile() { + local myconf + + use X \ + && myconf="${myconf} --enable-video-x11" \ + || myconf="${myconf} --disable-video-x11" + + use xv \ + && myconf="${myconf} --enable-video-x11-xv" \ + || myconf="${myconf} --disable-video-x11-xv" + + use esd \ + && myconf="--enable-esd" \ + || myconf="--disable-esd" + + use ggi \ + && myconf="${myconf} --enable-video-ggi" \ + || myconf="${myconf} --disable-video-ggi" + + use nas \ + && myconf="${myconf} --enable-nas" \ + || myconf="${myconf} --disable-nas" + + use alsa \ + && myconf="${myconf} --enable-alsa" \ + || myconf="${myconf} --disable-alsa" + + use arts \ + && myconf="${myconf} --enable-arts" \ + || myconf="${myconf} --disable-arts" + + use svga \ + && myconf="${myconf} --enable-video-svga" \ + || myconf="${myconf} --disable-video-svga" + + use aalib \ + && myconf="${myconf} --enable-video-aalib" \ + || myconf="${myconf} --disable-video-aalib" + + use fbcon \ + && myconf="${myconf} --enable-video-fbcon" \ + || myconf="${myconf} --disable-video-fbcon" + + use opengl \ + && myconf="${myconf} --enable-video-opengl" \ + || myconf="${myconf} --disable-video-opengl" + + use directfb \ + && myconf="${myconf} --enable-video-directfb" \ + || myconf="${myconf} --disable-video-directfb" + + ./configure \ + --host=${CHOST} \ + --enable-input-events \ + --prefix=/usr \ + --mandir=/usr/share/man \ + ${myconf} || die + + emake || die +} + +src_install() { + make \ + DESTDIR=${D} \ + install || die + + preplib /usr + dodoc BUGS COPYING CREDITS README* TODO WhatsNew + dohtml -r ./ +} |