libraries/virglrenderer: Updated for version 0.6.0.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-02-20 16:14:49 +01:00
parent 2c805e1db2
commit 484f5994bb
2 changed files with 9 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for virglrenderer # Slackware build script for virglrenderer
# Copyright 2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # Copyright 2016-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=virglrenderer PRGNAM=virglrenderer
VERSION=${VERSION:-0.5.0} VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -79,6 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--with-glx \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make

View file

@ -1,8 +1,8 @@
PRGNAM="virglrenderer" PRGNAM="virglrenderer"
VERSION="0.5.0" VERSION="0.6.0"
HOMEPAGE="https://virgil3d.github.io" HOMEPAGE="https://virgil3d.github.io"
DOWNLOAD="https://www.freedesktop.org/software/virgl/virglrenderer-0.5.0.tar.bz2" DOWNLOAD="https://www.freedesktop.org/software/virgl/virglrenderer-0.6.0.tar.bz2"
MD5SUM="29804ecd1713e298828f9d1642eb289d" MD5SUM="3afe7895e87a32cda9789ea34298253a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""