Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 153547 Details for
Bug 222659
media-libs/glide-v2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for glide-v2
glide-v2-20080514.ebuild (text/plain), 2.60 KB, created by
justXi
on 2008-05-18 14:48:59 UTC
(
hide
)
Description:
ebuild for glide-v2
Filename:
MIME Type:
Creator:
justXi
Created:
2008-05-18 14:48:59 UTC
Size:
2.60 KB
patch
obsolete
># Copyright ># Distributed under the terms of the GNU General Public License v2 ># $Header: glide-v2-20080514.ebuild $ > >inherit multilib eutils > >LIBVER="2.53" > >MY_PN="${PN/g/G}" >MY_PN="${MY_PN/-v2/2}" >MY_P="${MY_PN}-${PV}" >S="${WORKDIR}/${MY_P}" > >DESCRIPTION="Hardware support for 3dfx Voodoo cards" >HOMEPAGE="http://glide.sourceforge.net/" >SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" > >LICENSE="3DFX" >SLOT="0" >KEYWORDS="x86" > >IUSE="voodoo3 voodoo2 rush voodoo1 ctrisetup debug" > >RDEPEND="x11-libs/libX11" >DEPEND="${RDEPEND} > dev-lang/nasm > x11-libs/libXt" > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}/glide-v2-2.6-headers-fix.patch" > epatch "${FILESDIR}/glide-v2-gcc4-fix.patch" >} > >src_compile() { > local compilefor glide_flags > > if use voodoo3; then > compilefor="${compilefor} h3" > fi > if use voodoo2; then > compilefor="${compilefor} cvg" > fi > if use voodoo1; then > compilefor="${compilefor} sst1" > fi > if use rush; then > compilefor="${compilefor} sst96" > fi > # If nothing's set, build everything > if [[ ! -n "${compilefor}" ]]; then > compilefor="h3 cvg sst1 sst96" > fi > > glide_flags="" > if use ctrisetup; then > glide_flags="FX_GLIDE_CTRISETUP=1" > einfo ${glide_flags} > fi > if use debug; then > glide_flags="${glide_flags} DEBUG=1" > einfo ${glide_flags} > fi > > for card in ${compilefor}; do > make -f makefile.linux \ > FX_GLIDE_HW=${card} \ > OPTFLAGS="${CFLAGS}" \ > ${glide_flags} || die "make failed!" > if [[ $card = h3 ]]; then > mv ${card}/lib/libglide.so.2.* libglide2-v3.so > elif [[ $card = cvg ]]; then > mv ${card}/lib/libglide.so.2.* libglide2-v2.so > elif [[ $card = sst1 ]]; then > mv ${card}/lib/libglide.so.2.* libglide2-v1.so > elif [[ $card = sst96 ]]; then > mv ${card}/lib/libglide.so.2.* libglide2-vr.so > fi > make -f makefile.linux \ > FX_GLIDE_HW=${card} \ > clean || die "make clean failed!" > done >} > >src_install() { > local default_lib default_libver > > einfo "S = ${S}" > dolib.so ${S}/libglide2-v*.so > > if use voodoo3; then > default_libver="3" > elif use voodoo2; then > default_libver="2" > elif use voodoo1; then > default_libver="1" > elif use rush; then > default_libver="r" > else > # Default to voodoo3 > default_libver="2" > fi > default_lib="libglide2-v${default_libver}.so" > > dosym ${default_lib} /usr/$(get_libdir)/libglide2.so.${LIBVER} > dosym libglide2.so.${LIBVER} /usr/$(get_libdir)/libglide2.so.2 > dosym libglide2.so.${LIBVER} /usr/$(get_libdir)/libglide2.so > > insinto /usr/include/glide2 > doins \ > swlibs/fxmisc/3dfx.h \ > cvg/glide/src/glide.h \ > cvg/glide/src/glidesys.h \ > cvg/glide/src/glideutl.h \ > swlibs/fxmisc/linutil.h \ > cvg/incsrc/sst1vid.h \ > swlibs/texus/lib/texus.h >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 222659
: 153547 |
153549
|
153553
|
153555