wok diff mesa/receipt @ rev 6997

Add fop
author Paul Issott <paul@slitaz.org>
date Sun Oct 31 11:03:23 2010 +0000 (2010-10-31)
parents f27e4d63e0bf
children 50c03a002022
line diff
     1.1 --- a/mesa/receipt	Sat Oct 16 01:51:14 2010 +0000
     1.2 +++ b/mesa/receipt	Sun Oct 31 11:03:23 2010 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mesa"
     1.7 -VERSION="7.8.2"
     1.8 +VERSION="7.9"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  DEPENDS="glibc-base expat libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
    1.13 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm"
    1.14 +xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm libxcb libdrm"
    1.15  SUGGESTED="nvidia"
    1.16  BUILD_DEPENDS="$DEPENDS slitaz-toolchain expat-dev lesstif lesstif-dev libdrm-dev \
    1.17  xorg-dri2proto xorg-glproto xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
    1.18  xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
    1.19 -xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev pkg-config"
    1.20 +xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev pkg-config
    1.21 +wget talloc-dev libxml2-python libxcb-dev"
    1.22  SOURCE="Mesa"
    1.23  TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
    1.24  WEB_SITE="http://www.mesa3d.org/"
    1.25 @@ -23,15 +24,6 @@
    1.26  {
    1.27  	ln -s $src $PACKAGE-$VERSION 2>/dev/null
    1.28  
    1.29 -	# Get and untar demo files
    1.30 -	if [ ! -f $SOURCES_REPOSITORY/MesaDemos-$VERSION.tar.bz2 ]; then
    1.31 -		wget ftp://ftp.freedesktop.org/pub/mesa/$VERSION/MesaDemos-$VERSION.tar.bz2 \
    1.32 -			-P $SOURCES_REPOSITORY
    1.33 -	fi
    1.34 -	echo -n "Untaring MesaDemos-$VERSION.tar.bz2"
    1.35 -	tar xjf $SOURCES_REPOSITORY/MesaDemos-$VERSION.tar.bz2
    1.36 -	status
    1.37 -
    1.38  	cd $src
    1.39  	# --with-dri-driverdir=/usr/lib/X11/modules/dri ?
    1.40  	sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
    1.41 @@ -40,11 +32,15 @@
    1.42  		--with-x \
    1.43  		--enable-gl-osmesa \
    1.44  		--enable-motif \
    1.45 -		--disable-gallium-intel \
    1.46 -		--disable-gallium \
    1.47 +		--enable-gallium-radeon \
    1.48 +		--enable-gallium-nouveau \
    1.49 +		--enable-xcb \
    1.50  		$CONFIGURE_ARGS &&
    1.51 +	# Also build nouveau_vieux_dri.so.
    1.52  	make -j 4 &&
    1.53 -	make DESTDIR=$PWD/_pkg install
    1.54 +	make -j 4 -C src/mesa/drivers/dri/nouveau &&
    1.55 +	make DESTDIR=$PWD/_pkg install &&
    1.56 +	make -C src/mesa/drivers/dri/nouveau DESTDIR=$PWD/_pkg install
    1.57  }
    1.58  
    1.59  # Rules to gen a SliTaz package suitable for Tazpkg.