aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vd-hoeven.nl>2018-04-11 22:54:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-14 07:06:28 +0700
commit57ae6af847621873bb3f2577195d3911611aa6e1 (patch)
treeda5d8bfd77a1a936e0a89a959516cb11b27afed1
parent3eb8b3c4ddf0de9a88316024fad5a60ea238df42 (diff)
network/freerdp: Updated for version git20180405.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/freerdp/freerdp.SlackBuild18
-rw-r--r--network/freerdp/freerdp.info6
2 files changed, 14 insertions, 10 deletions
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild
index cfdefedd5fc7..e88664c54e3a 100644
--- a/network/freerdp/freerdp.SlackBuild
+++ b/network/freerdp/freerdp.SlackBuild
@@ -5,7 +5,7 @@
# Copyright 2010,2012 Niels Horn, Rio de Janeiro, RJ, Brazil
# Copyright 2015 Mario Preksavec <mario@slackware.hr>
-# Copyright 2015-2016 Philip van der Hoeven, Almere, The Netherlands
+# Copyright 2015-2018 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,15 +27,16 @@
PRGNAM=freerdp
-VERSION=${VERSION:-git20160509}
+VERSION=${VERSION:-git20180405}
+COMMIT=${COMMIT:-a9ecd6a6ccc71130805a6bf3214c169fc42746ba}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-DIRNAME=FreeRDP-master
+DIRNAME=FreeRDP-$COMMIT
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -46,8 +47,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $DIRNAME
-tar xvf $CWD/freerdp-$VERSION.tar.gz
+tar xvf $CWD/$COMMIT.tar.gz
cd $DIRNAME
chown -R root:root .
find -L . \
@@ -88,6 +89,9 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_CUPS=ON \
-DWITH_FFMPEG=$WITH_FFMPEG \
+ -DWITH_LIBSYSTEMD=OFF \
+ -DWITH_WAYLAND=OFF \
+ -DWITH_PULSE=ON \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG
diff --git a/network/freerdp/freerdp.info b/network/freerdp/freerdp.info
index 2fa7e8c7e9b6..353a8a7219ba 100644
--- a/network/freerdp/freerdp.info
+++ b/network/freerdp/freerdp.info
@@ -1,8 +1,8 @@
PRGNAM="freerdp"
-VERSION="git20160509"
+VERSION="git20180405"
HOMEPAGE="http://www.freerdp.com/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/freerdp/freerdp-git20160509.tar.gz"
-MD5SUM="93c2ee23a95837b00bdc2b94010c684a"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/freerdp/a9ecd6a6ccc71130805a6bf3214c169fc42746ba.tar.gz"
+MD5SUM="70f2d81876739d4e29dce805ece70b28"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg"