With this glide ebuild, two new USE variables are introduced. voodoo3 and voodoo4. the voodoo4 variable also compiles support for the voodoo5... unlike the last glide ebuild this one works. in order to make use of this, however, there needs to be support in the x ebuild. ebuild is as follows: # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Travis Tilley <lordviram@nesit.org> S=${WORKDIR}/${P} DESCRIPTION="hardware support for the voodoo3" SRC_URI="http://download.sourceforge.net/mirrors/slackware/slackware-8.0/contrib/contrib-sources/3dfx/vo odoo3_banshee/glide_h3_dri-3.10/glide3x.tar.gz http://download.sourceforge.net/mirrors/slackware/slackware-8.0/contrib/contrib-sources/3dfx/voo doo3_banshee/glide_h3_dri-3.10/swlibs.tar.gz" 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" fi if [ "`use voodoo4`" ]; then compilefor="h5" fi if [ "$compilefor" = "" ]; then die 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 ./build.3dfx all | tee make.hst } src_install() { cd ${WORKDIR}/glide3x/build ./build.3dfx DESTDIR=${D} install }
Created attachment 92 [details] glide ebuild
Commited to Portage