diff options
-rw-r--r-- | media-libs/glide-v3/files/digest-glide-v3-1.0 | 1 | ||||
-rw-r--r-- | media-libs/glide-v3/files/digest-glide-v3-3.10 | 2 | ||||
-rw-r--r-- | media-libs/glide-v3/glide-v3-1.0.ebuild | 19 | ||||
-rw-r--r-- | media-libs/glide-v3/glide-v3-3.10.ebuild | 57 |
4 files changed, 59 insertions, 20 deletions
diff --git a/media-libs/glide-v3/files/digest-glide-v3-1.0 b/media-libs/glide-v3/files/digest-glide-v3-1.0 deleted file mode 100644 index 5c031b9fecbd..000000000000 --- a/media-libs/glide-v3/files/digest-glide-v3-1.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 e014f3cf5ebee5d62ce4d903c58ed8aa glide-3.20010821.tar.bz2 364544 diff --git a/media-libs/glide-v3/files/digest-glide-v3-3.10 b/media-libs/glide-v3/files/digest-glide-v3-3.10 new file mode 100644 index 000000000000..51ce4999a1e7 --- /dev/null +++ b/media-libs/glide-v3/files/digest-glide-v3-3.10 @@ -0,0 +1,2 @@ +MD5 322250849c105f9b7d7e3690c69ed474 glide3x-3.10.tar.gz 3059712 +MD5 dec0b3a17912934f6da79f57cd0a802c swlibs-3.10.tar.gz 602112 diff --git a/media-libs/glide-v3/glide-v3-1.0.ebuild b/media-libs/glide-v3/glide-v3-1.0.ebuild deleted file mode 100644 index f7db12118a15..000000000000 --- a/media-libs/glide-v3/glide-v3-1.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Peter Gavin <your email> -# $Header: /var/cvsroot/gentoo-x86/media-libs/glide-v3/glide-v3-1.0.ebuild,v 1.5 2002/01/28 19:34:23 azarah Exp $ - -S=${WORKDIR}/glide3 -DESCRIPTION="the glide library (for voodoo3 cards)" -SRC_URI="http://www.ibiblio.org/gentoo/glide-3.20010821.tar.bz2" -HOMEPAGE="http://dri.sourceforge.net/" -DEPEND="" -RDEPEND="" - -src_install () { - insinto /usr/include/glide3 - doins ${S}/*.h - into /usr/X11R6 - newlib.so ${S}/libglide3.so-voodoo3 libglide3.so -} - diff --git a/media-libs/glide-v3/glide-v3-3.10.ebuild b/media-libs/glide-v3/glide-v3-3.10.ebuild new file mode 100644 index 000000000000..2f0121111999 --- /dev/null +++ b/media-libs/glide-v3/glide-v3-3.10.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Travis Tilley <lordviram@nesit.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/glide-v3/glide-v3-3.10.ebuild,v 1.1 2002/01/29 08:49:17 azarah Exp $ + +S=${WORKDIR}/${PN/-v3/3x} +DESCRIPTION="Hardware support for the voodoo3" +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" +elif [ "`use voodoo4`" ] ; then + compilefor="h5" +elif [ "`use voodoo5`" ] ; then + compilefor="h5" +else +# die "You need voodoo3, voodoo4 or voodoo5 in your USE !!!" +# if we do this, a emerge --world update fails for people not using voodoo's, +# so default to h3 for now + compilefor="h3" +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 +} |