diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-02-17 18:30:02 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-02-17 18:30:02 +0000 |
commit | 170ad11ef491344f3b6bedc7d00ff04f5b28d445 (patch) | |
tree | 66b7ae0309eedca684062ef43235f852333130de /media-libs/glide-v3 | |
parent | Removed the previous version. (diff) | |
download | gentoo-2-170ad11ef491344f3b6bedc7d00ff04f5b28d445.tar.gz gentoo-2-170ad11ef491344f3b6bedc7d00ff04f5b28d445.tar.bz2 gentoo-2-170ad11ef491344f3b6bedc7d00ff04f5b28d445.zip |
update USE flags to only use voodoo3
Diffstat (limited to 'media-libs/glide-v3')
-rw-r--r-- | media-libs/glide-v3/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/glide-v3/files/digest-glide-v3-3.10-r1 | 2 | ||||
-rw-r--r-- | media-libs/glide-v3/glide-v3-3.10-r1.ebuild | 54 |
3 files changed, 62 insertions, 1 deletions
diff --git a/media-libs/glide-v3/ChangeLog b/media-libs/glide-v3/ChangeLog index 7d66fc17ccc6..7f56f4527014 100644 --- a/media-libs/glide-v3/ChangeLog +++ b/media-libs/glide-v3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/glide-v3 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/glide-v3/ChangeLog,v 1.1 2002/02/01 21:53:30 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/glide-v3/ChangeLog,v 1.2 2002/02/17 18:30:02 azarah Exp $ + + 17 Feb 2002; M.Schlemmer <azarah@gentoo.org> glide-v3-3.10-r1.ebuild : + + Changed the USE flags used, so that only 'voodoo3' is needed for voodoo3 + support, else voodoo4/5 support will be compiled in. *glide-v3-3.10 (1 Feb 2002) diff --git a/media-libs/glide-v3/files/digest-glide-v3-3.10-r1 b/media-libs/glide-v3/files/digest-glide-v3-3.10-r1 new file mode 100644 index 000000000000..52168ebc368b --- /dev/null +++ b/media-libs/glide-v3/files/digest-glide-v3-3.10-r1 @@ -0,0 +1,2 @@ +MD5 322250849c105f9b7d7e3690c69ed474 glide3x-3.10.tar.gz 3055109 +MD5 dec0b3a17912934f6da79f57cd0a802c swlibs-3.10.tar.gz 596883 diff --git a/media-libs/glide-v3/glide-v3-3.10-r1.ebuild b/media-libs/glide-v3/glide-v3-3.10-r1.ebuild new file mode 100644 index 000000000000..588e79555fe3 --- /dev/null +++ b/media-libs/glide-v3/glide-v3-3.10-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Travis Tilley <lordviram@nesit.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/glide-v3/glide-v3-3.10-r1.ebuild,v 1.1 2002/02/17 18:30:02 azarah Exp $ + +S=${WORKDIR}/${PN/-v3/3x} +DESCRIPTION="Hardware support for the voodoo3, voodoo4 and voodoo5" +SRC_URI="http://www.ibiblio.org/gentoo/distfiles/glide3x-${PV}.tar.gz + http://www.ibiblio.org/gentoo/distfiles/swlibs-${PV}.tar.gz" +# check for future updates here +# http://telia.dl.sourceforge.net/mirrors/slackware/slackware-8.0/contrib/contrib-sources/3dfx/voodoo4_voodoo5/ +HOMEPAGE="http://glide.sourceforge.net/" + +DEPEND=">=sys-devel/automake-1.4 + >=sys-devel/autoconf-2.13 + >=sys-devel/libtool-1.3.3 + >=sys-devel/m4-1.4 + >=sys-devel/perl-5.005" + +PROVIDE="virtual/glide" + +if [ "`use voodoo3`" ] ; then + compilefor="h3" +else + compilefor="h5" +fi + +src_compile() { + cd ${WORKDIR} + chmod +x swlibs/include/make/ostype + cd ${WORKDIR}/glide3x ; ln -fs ${WORKDIR}/swlibs swlibs + cd ${WORKDIR}/glide3x/h3/minihwc ; ln -fs linhwc.c.dri linhwc.c + cd ${WORKDIR}/glide3x/h3/glide3/src ; ln -fs gglide.c.dri gglide.c + ln -fs gsst.c.dri gsst.c ; ln -fs glfb.c.dri glfb.c + + cd ${WORKDIR}/glide3x + libtoolize -f && aclocal && automake && autoconf + mkdir build + cd build + ../configure --prefix=/usr \ + --enable-fx-glide-hw=$compilefor \ + --enable-fx-dri-build || die + + ./build.3dfx all || die +} + +src_install() { + cd ${WORKDIR}/glide3x/build + ./build.3dfx DESTDIR=${D} install || die + + dodir /usr/X11R6/lib + dosym /usr/lib/libglide3.so.${PV}.0 /usr/X11R6/lib/libglide3.so +} + |