wok-current view mesa-dri-nouveau/receipt @ rev 25709
Rework mesa-dri to use symlink (85% size free), thanks alanyih
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 03 16:29:38 2024 +0000 (5 months ago) |
parents | 91035b7cc264 |
children | 4fd464abe902 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-dri-nouveau"
4 VERSION="21.3.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Mesa classic DRI + Gallium3D drivers for Nouveau."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.mesa3d.org/"
11 DEPENDS="libdrm-nouveau mesa"
12 WANTED="mesa"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/dri
18 mkdir -p $fs/etc/X11/xorg.conf.d
20 for drv in "nouveau" "nouveau_vieux"; do
21 ln -s i830_dri.so $fs/usr/lib/dri/"$drv"_dri.so
22 done
24 cat > $fs/etc/X11/xorg.conf.d/90-DRI.conf <<EOT
25 Section "DRI"
26 Mode 0666
27 EndSection
28 EOT
30 chown -R root.root $fs
31 }
33 TAZBB_NO_INSTALL="because this is not hardware neutral"