aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-05-03 23:11:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-05-04 19:29:32 -0500
commitc17d86df959b90b419174776a7c80a07877b662e (patch)
tree26695beaa9e779f8709cbd981659f8f4163a2d78 /libraries
parent83da5b8cc2f5d5bd6ae8b4bca586a79479b3dcfd (diff)
libraries/virglrenderer: Updated for version 0.9.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/virglrenderer/virglrenderer.SlackBuild42
-rw-r--r--libraries/virglrenderer/virglrenderer.info6
2 files changed, 25 insertions, 23 deletions
diff --git a/libraries/virglrenderer/virglrenderer.SlackBuild b/libraries/virglrenderer/virglrenderer.SlackBuild
index f22f601a138b9..bf182fbf979c2 100644
--- a/libraries/virglrenderer/virglrenderer.SlackBuild
+++ b/libraries/virglrenderer/virglrenderer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for virglrenderer
-# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=virglrenderer
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,29 +61,31 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-glx \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/virglrenderer/virglrenderer.info b/libraries/virglrenderer/virglrenderer.info
index 574b3cf8a766a..8a9d76fec01d6 100644
--- a/libraries/virglrenderer/virglrenderer.info
+++ b/libraries/virglrenderer/virglrenderer.info
@@ -1,8 +1,8 @@
PRGNAM="virglrenderer"
-VERSION="0.7.0"
+VERSION="0.9.1"
HOMEPAGE="https://virgil3d.github.io"
-DOWNLOAD="https://www.freedesktop.org/software/virgl/virglrenderer-0.7.0.tar.bz2"
-MD5SUM="f46ff65025c869c0ae86ba337cc699c2"
+DOWNLOAD="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-0.9.1/virglrenderer-virglrenderer-0.9.1.tar.bz2"
+MD5SUM="c58730dcaaf11fd0b03506ce30a2ac14"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""