mesa: strip Software Pipe

* down from 60 MB to 6 MB
This commit is contained in:
Sergei Reznikov
2017-11-22 03:38:47 +03:00
parent 96d4ae7136
commit 3058e690f9

View File

@@ -6,7 +6,7 @@ providing 3D rendering to Haiku applications."
HOMEPAGE="http://www.mesa3d.org/"
COPYRIGHT="1999-2017 Brian Paul"
LICENSE="MIT"
REVISION="5"
REVISION="6"
SOURCE_URI="https://mesa.freedesktop.org/archive/mesa-${portVersion}.tar.xz"
CHECKSUM_SHA256="69f472a874b1122404fa0bd13e2d6bf87eb3b9ad9c21d2f39872a96d83d9e5f5"
PATCHES="mesa-$portVersion.patchset"
@@ -99,6 +99,7 @@ INSTALL()
mkdir -p $addOnsDir/opengl
mv $(find $libDir -name 'libswpipe.so') \
"$addOnsDir/opengl/Software Pipe"
strip -s "$addOnsDir/opengl/Software Pipe"
rm -rf $libDir/haiku
# Set some nice version info