summaryrefslogtreecommitdiff
path: root/source/l/libvncserver
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libvncserver')
-rwxr-xr-xsource/l/libvncserver/libvncserver.SlackBuild18
-rw-r--r--source/l/libvncserver/libvncserver.info5
-rw-r--r--source/l/libvncserver/slack-desc4
3 files changed, 13 insertions, 14 deletions
diff --git a/source/l/libvncserver/libvncserver.SlackBuild b/source/l/libvncserver/libvncserver.SlackBuild
index 7edc93fc..1e22af58 100755
--- a/source/l/libvncserver/libvncserver.SlackBuild
+++ b/source/l/libvncserver/libvncserver.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
-# Copyright 2007 Heinz Wiesinger <hmwiesinger@gmx.at>
-# Copyright 2008, 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2007, 2014 Heinz Wiesinger, Amsterdam, NL
+# Copyright 2008, 2009, 2010, 2011, 2012, 2015 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,7 @@
# Modified by Robby Workman <rworkman at slackware.com>
# Modified by Eric Hameleers <alien at slackware.com>
-
-VERSION=0.9.9
+VERSION=${VERSION:-$(echo LibVNCServer-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:--j7}
@@ -34,7 +33,7 @@ NUMJOBS=${NUMJOBS:--j7}
MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
case "$MARCH" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
armv7hl) export ARCH=$MARCH ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
@@ -42,8 +41,8 @@ if [ -z "$ARCH" ]; then
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -81,6 +80,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+./autogen.sh
+
+# libva support broken and WONTFIX (for now) upstream.
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -89,6 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --without-libva \
--disable-static \
--build=$TARGET
diff --git a/source/l/libvncserver/libvncserver.info b/source/l/libvncserver/libvncserver.info
deleted file mode 100644
index 11fc89f0..00000000
--- a/source/l/libvncserver/libvncserver.info
+++ /dev/null
@@ -1,5 +0,0 @@
-PRGNAM="libvncserver"
-VERSION="0.9.1"
-HOMEPAGE="http://libvncserver.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libvncserver/LibVNCServer-0.9.1.tar.gz"
-MD5SUM="aa00efc3dabde82fde9509bfbab0aba4"
diff --git a/source/l/libvncserver/slack-desc b/source/l/libvncserver/slack-desc
index d3924fca..958b6faf 100644
--- a/source/l/libvncserver/slack-desc
+++ b/source/l/libvncserver/slack-desc
@@ -5,14 +5,14 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-----------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
libvncserver: libvncserver (VNC Server Library)
libvncserver:
libvncserver: LibVNCServer makes writing a VNC server (or more correctly,
libvncserver: a program exporting a framebuffer via the Remote Frame Buffer
libvncserver: protocol) easy.
libvncserver:
-libvncserver: Homepage: http://libvncserver.sourceforge.net/
+libvncserver: Homepage: https://libvnc.github.io/
libvncserver:
libvncserver:
libvncserver: