summaryrefslogtreecommitdiff
path: root/network/freerdp/freerdp.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-19 10:46:56 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-19 15:20:47 -0600
commit32a3552962e34dd40be60590446cdb394e1b9c34 (patch)
treed47ee05a2e7f4edf7fed0957689e2d230c6472ec /network/freerdp/freerdp.SlackBuild
parent015c74dd3b4881257a53a55fd85afc64a7e51c04 (diff)
downloadslackbuilds-32a3552962e34dd40be60590446cdb394e1b9c34.tar.gz
network/freerdp: Updated for version 20131115_ea18d2b.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/freerdp/freerdp.SlackBuild')
-rw-r--r--network/freerdp/freerdp.SlackBuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild
index abe6b5d96c..c69221b43b 100644
--- a/network/freerdp/freerdp.SlackBuild
+++ b/network/freerdp/freerdp.SlackBuild
@@ -26,13 +26,13 @@
# Revision date: 2012/02/17
PRGNAM=freerdp
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-20131115_ea18d2b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# This is a bit messy, but that's how upstream serves it...
-TARNAME=FreeRDP-$VERSION.tar.gz
-UNTARNAME=$(tar tf $TARNAME 2>/dev/null | head -n 1 | tr -d \/)
+#TARNAME=FreeRDP-$VERSION.tar.gz
+#UNTARNAME=$(tar tf $TARNAME 2>/dev/null | head -n 1 | tr -d \/)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -66,9 +66,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $UNTARNAME
-tar xvf $CWD/$TARNAME
-cd $UNTARNAME
+#rm -rf $UNTARNAME
+#tar xvf $CWD/$TARNAME
+#cd $UNTARNAME
+rm -fR $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -76,6 +79,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# http://sourceforge.net/mailarchive/forum.php?thread_name=520BE6FD.5080803%40macports.org&forum_name=freerdp-devel
+patch -p0 < $CWD/patch-ffmpeg-2.0.diff
+
mkdir -p build
cd build
cmake \