wok-current rev 12690

mesa: enable Xorg, udev, add file to bdeps and include radeon Xorg driver in mesa-dri-ati
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 02 15:03:20 2012 +0200 (2012-05-02)
parents fa1321eb3c4e
children bb299a081d94
files mesa-dri-ati/receipt mesa-dri/receipt mesa/receipt
line diff
     1.1 --- a/mesa-dri-ati/receipt	Wed May 02 14:16:10 2012 +0200
     1.2 +++ b/mesa-dri-ati/receipt	Wed May 02 15:03:20 2012 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  WEB_SITE="http://www.mesa3d.org/"
     1.5  DEPENDS="mesa mesa-dri libdrm-radeon"
     1.6  WANTED="mesa"
     1.7 +#PROVIDE="xorg-xf86-video-ati"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11 @@ -15,9 +16,9 @@
    1.12  	mkdir -p $fs/usr/lib/dri
    1.13  	for driver in radeon r200 r300 r600
    1.14  	do
    1.15 -		cp $_pkg/usr/lib/dri/${driver}_dri.so \
    1.16 +		cp $install/usr/lib/dri/${driver}_dri.so \
    1.17  			$fs/usr/lib/dri
    1.18  	done
    1.19 +	# Radeon Xorg driver
    1.20 +	cp -a $install/usr/lib/xorg $fs/usr/lib
    1.21  }
    1.22 -
    1.23 -TAZBB_NO_INSTALL="because this is not hardware neutral"
     2.1 --- a/mesa-dri/receipt	Wed May 02 14:16:10 2012 +0200
     2.2 +++ b/mesa-dri/receipt	Wed May 02 15:03:20 2012 +0200
     2.3 @@ -20,5 +20,5 @@
     2.4  	done
     2.5  
     2.6  	mkdir -p $fs/etc/X11/xorg.conf.d
     2.7 -	cp -a stuff/*.conf $fs/etc/X11/xorg.conf.d
     2.8 +	cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d
     2.9  }
     3.1 --- a/mesa/receipt	Wed May 02 14:16:10 2012 +0200
     3.2 +++ b/mesa/receipt	Wed May 02 15:03:20 2012 +0200
     3.3 @@ -12,11 +12,11 @@
     3.4  WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
     3.5  PROVIDE="libgl"
     3.6  
     3.7 -DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt"
     3.8 -BUILD_DEPENDS="$DEPENDS expat-dev libdrm-dev xorg-libXdamage-dev \
     3.9 +DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev"
    3.10 +BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
    3.11  xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
    3.12 -pkg-config talloc xorg-makedepend lesstif libxml2-python xorg-imake \
    3.13 -lesstif-dev"
    3.14 +talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
    3.15 +xorg-server-dev udev-dev file"
    3.16  
    3.17  # Rules to configure and make the package.
    3.18  compile_rules()
    3.19 @@ -38,10 +38,7 @@
    3.20  genpkg_rules()
    3.21  {
    3.22  	mkdir -p $fs/usr/lib
    3.23 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.24 -
    3.25 -	# DRI drivers are include in the package mesa-dri-*
    3.26 -	#cp -a $_pkg/usr/lib/dri $fs/usr/lib
    3.27 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.28  
    3.29  	# libGLU is included in the package libglu-mesa
    3.30  	rm -r -f $fs/usr/lib/libGLU*