aboutsummaryrefslogtreecommitdiff
path: root/system/virt-viewer
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-05-02 23:48:30 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-05-02 23:48:30 -0500
commit9bb28a1884861261f0714e40bcf55ba54636a3b2 (patch)
treee94ce00896beaa2bfe190350ef9ac010649b0304 /system/virt-viewer
parent1f5a6e194218ef31994b679c7523fd9ec948a716 (diff)
system/virt-viewer: Updated for version 10.0.
Diffstat (limited to 'system/virt-viewer')
-rw-r--r--system/virt-viewer/virt-viewer.SlackBuild32
-rw-r--r--system/virt-viewer/virt-viewer.info6
2 files changed, 20 insertions, 18 deletions
diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild
index 7966171cf56b..9fff6cfc8f72 100644
--- a/system/virt-viewer/virt-viewer.SlackBuild
+++ b/system/virt-viewer/virt-viewer.SlackBuild
@@ -5,7 +5,7 @@
# Written by Zak B. Elep, <zakame@zakame.net>
PRGNAM=virt-viewer
-VERSION=${VERSION:-7.0}
+VERSION=${VERSION:-10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,7 +48,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -58,19 +58,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --disable-update-mimedb \
- --enable-static=no \
- $SPICEGTK
-
-make
-make install-strip DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --buildtype=release
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/system/virt-viewer/virt-viewer.info b/system/virt-viewer/virt-viewer.info
index d6be327cd1e0..fc97eb1f313d 100644
--- a/system/virt-viewer/virt-viewer.info
+++ b/system/virt-viewer/virt-viewer.info
@@ -1,8 +1,8 @@
PRGNAM="virt-viewer"
-VERSION="7.0"
+VERSION="10.0"
HOMEPAGE="http://virt-manager.org"
-DOWNLOAD="https://virt-manager.org/download/sources/virt-viewer/virt-viewer-7.0.tar.gz"
-MD5SUM="64c9c4045a7a941a0be4050fc33fc6f5"
+DOWNLOAD="https://virt-manager.org/download/sources/virt-viewer/virt-viewer-10.0.tar.xz"
+MD5SUM="59617841716d5bdcaa9006f0649679f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtk-vnc libvirt-glib"