wok diff mesa-dri-nouveau/receipt @ rev 18626

syslinux/taziso: get flavor
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 24 13:11:53 2015 +0100 (2015-11-24)
parents ac843e45fd3c
children f7dd646afeb9
line diff
     1.1 --- a/mesa-dri-nouveau/receipt	Thu Jun 13 10:12:01 2013 +0200
     1.2 +++ b/mesa-dri-nouveau/receipt	Tue Nov 24 13:11:53 2015 +0100
     1.3 @@ -7,14 +7,20 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  LICENSE="MIT"
     1.6  WEB_SITE="http://www.mesa3d.org/"
     1.7 -DEPENDS="mesa mesa-dri libdrm-nouveau"
     1.8 +DEPENDS="mesa libdrm-nouveau"
     1.9  WANTED="mesa"
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14 -	mkdir -p $fs/usr/lib/dri
    1.15 +	mkdir -p $fs/usr/lib/dri $fs/etc/X11/xorg.conf.d
    1.16  	cp $install/usr/lib/dri/nouveau_vieux_dri.so $fs/usr/lib/dri
    1.17 +	cat > $fs/etc/X11/xorg.conf.d/90-DRI.conf <<EOT
    1.18 +Section "DRI"
    1.19 +        Mode         0666
    1.20 +EndSection
    1.21 +EOT
    1.22 +	chown -R root.root $fs
    1.23  }
    1.24  
    1.25  TAZBB_NO_INSTALL="because this is not hardware neutral"