wok-current diff mesa-dri-ati/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 (8 months ago)
parents 3ad63c8fc2f9
children 4fd464abe902
line diff
     1.1 --- a/mesa-dri-ati/receipt	Sun Jan 14 08:12:37 2024 +0000
     1.2 +++ b/mesa-dri-ati/receipt	Mon Jun 03 16:29:38 2024 +0000
     1.3 @@ -16,5 +16,12 @@
     1.4  genpkg_rules()
     1.5  {
     1.6  	mkdir -p $fs/usr/lib/dri
     1.7 -	cp $install/usr/lib/dri/r[0-9a]*_dri.so	$fs/usr/lib/dri
     1.8 +
     1.9 +	for drv in "r200" "radeon"; do
    1.10 +		ln -s i830_dri.so $fs/usr/lib/dri/"$drv"_dri.so
    1.11 +	done
    1.12 +
    1.13 +        for drv in "r300" "r600" "radeonsi"; do
    1.14 +        	ln -s kms_swrast_dri.so $fs/usr/lib/dri/"$drv"_dri.so
    1.15 +        done
    1.16  }