diff graphics/mesa/mesa.sh @ 602:705beca72ba0

vanilla: fix many meson based builds
author David Demelier <markand@malikania.fr>
date Sat, 13 Jul 2019 18:04:46 +0200
parents b1690d766bdb
children 25cecc6dca48
line wrap: on
line diff
--- a/graphics/mesa/mesa.sh	Sat Jul 13 22:44:11 2019 +0200
+++ b/graphics/mesa/mesa.sh	Sat Jul 13 18:04:46 2019 +0200
@@ -66,8 +66,8 @@
 
 build()
 {
-	rm -rf $PKGNAME-$PKGVERSION
-	tar xvaf $PKGNAME-$PKGVERSION.tar.xz
+	#rm -rf $PKGNAME-$PKGVERSION
+	#tar xvaf $PKGNAME-$PKGVERSION.tar.xz
 	pushd $PKGNAME-$PKGVERSION
 
 	patch -p0 < ../disable-tls.patch
@@ -82,6 +82,7 @@
 		--prefix / \
 		--buildtype release \
 		--default-library shared \
+		-D libdir=lib \
 		-D egl=true \
 		-D bpm=true \
 		-D platforms=$with_platforms \
@@ -95,6 +96,6 @@
 	DESTDIR=$DESTDIR ninja -C build install
 
 	popd
-	rm -rf $PKGNAME-$PKGVERSION
+	#rm -rf $PKGNAME-$PKGVERSION
 }