diff options
Diffstat (limited to 'network/freerdp/freerdp.SlackBuild')
-rw-r--r-- | network/freerdp/freerdp.SlackBuild | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild index f3ce3deea5..cfdefedd5f 100644 --- a/network/freerdp/freerdp.SlackBuild +++ b/network/freerdp/freerdp.SlackBuild @@ -4,8 +4,8 @@ # free implementation of the Remote Desktop Protocol # Copyright 2010,2012 Niels Horn, Rio de Janeiro, RJ, Brazil -# Copyright 2015 Philip van der Hoeven, Almere, The Netherlands # Copyright 2015 Mario Preksavec <mario@slackware.hr> +# Copyright 2015-2016 Philip van der Hoeven, Almere, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,20 +27,11 @@ PRGNAM=freerdp -VERSION=${VERSION:-1.2.0_beta1_android9} -BUILD=${BUILD:-4} +VERSION=${VERSION:-git20160509} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -TARNAME=${VERSION%_*}+${VERSION##*_} -TARNAME=${TARNAME/_/-}.tar.gz -DIRNAME=FreeRDP-${VERSION//_/-} - -# If the source is downloaded with a browser or content_disposition set the -# filename is different. -ALTTARNAME=FreeRDP-${VERSION//_/-}.tar.gz -if [ -f $ALTTARNAME ]; then - TARNAME=$ALTTARNAME -fi +DIRNAME=FreeRDP-master if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -81,7 +72,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $DIRNAME -tar xvf $CWD/$TARNAME +tar xvf $CWD/freerdp-$VERSION.tar.gz cd $DIRNAME chown -R root:root . find -L . \ @@ -90,15 +81,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Patch for cmake 3.1. Thanks to Mario Preksavec and Christoph Willing. -patch -p1 <$CWD/patches/freerdp-cmake-3.1.patch - mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $(pkg-config --cflags gstreamer-base-1.0)" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DWITH_CUPS=ON \ -DWITH_FFMPEG=$WITH_FFMPEG \ -DCMAKE_BUILD_TYPE=Release .. |