wok diff nvidia-96xx/receipt @ rev 19582
vlc: (dirty) fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:33:25 2016 +0100 (2016-12-25) |
parents | 6fab3264ba87 |
children | 02c70d036ea0 |
line diff
1.1 --- a/nvidia-96xx/receipt Fri Dec 25 15:23:46 2015 +0200 1.2 +++ b/nvidia-96xx/receipt Sun Dec 25 15:33:25 2016 +0100 1.3 @@ -12,6 +12,7 @@ 1.4 WGET_URL="http://download.nvidia.com/XFree86/Linux-x86/$VERSION/$TARBALL" 1.5 RUN_OPTS="--extract-only" 1.6 TAGS="drivers graphic video" 1.7 +PROVIDE="mesa" 1.8 1.9 DEPENDS="linux xorg-server gtk+ cairo linux-agp linux-drm" 1.10 BUILD_DEPENDS="linux-module-headers coreutils-file-summarize xz" 1.11 @@ -57,6 +58,10 @@ 1.12 ln -s $(basename $i) $(dirname $i)/$(basename ${i/so.${VERSION}/so/}) 1.13 ln -s $(basename $i) $(dirname $i)/$(basename ${i/so.${VERSION}/so.1/}) 1.14 done 1.15 + 1.16 + # exclude from files.list (for tazpkg's "find-depends") 1.17 + cd $fs/usr/lib 1.18 + for i in $(ls libGL.so*) ; do mv -f $i ${i//./-.-} ; done 1.19 } 1.20 1.21 pre_install() 1.22 @@ -69,6 +74,10 @@ 1.23 1.24 post_install() 1.25 { 1.26 + # Restore excluded from files.list (for tazpkg's "find-depends") 1.27 + cd $1/usr/lib 1.28 + for i in $(ls libGL.so*) ; do mv -f $i ${i//-.-/.} ; done 1.29 + 1.30 newline 1.31 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 1.32