multimedia/minitube: Updated for version 1.8.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-12 21:44:39 +02:00 committed by Robby Workman
parent 85a2333b6b
commit f71725b388
3 changed files with 21 additions and 7 deletions

View File

@ -0,0 +1,11 @@
diff -Naur minitube-20120813_338dac6.orig/src/qtsingleapplication/qtlocalpeer.cpp minitube-20120813_338dac6/src/qtsingleapplication/qtlocalpeer.cpp
--- minitube-20120813_338dac6.orig/src/qtsingleapplication/qtlocalpeer.cpp 2012-08-13 17:09:04.000000000 +0200
+++ minitube-20120813_338dac6/src/qtsingleapplication/qtlocalpeer.cpp 2012-09-12 13:00:44.330889268 +0200
@@ -58,6 +58,7 @@
#endif
#if defined(Q_OS_UNIX)
#include <time.h>
+#include <unistd.h>
#endif
namespace QtLP_Private {

View File

@ -24,7 +24,7 @@
# Version number bumped by /dev/ammo42
PRGNAM=minitube
VERSION=${VERSION:-1.5}
VERSION=${VERSION:-1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM
rm -rf $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 \) \
@ -70,6 +70,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Fix building with gcc-4.7.x
patch -p1 < $CWD/minitube-gcc47.patch
qmake
# Use our SLKCFLAGS plus the hardcoded ones from the Makefile
make \

View File

@ -1,8 +1,8 @@
PRGNAM="minitube"
VERSION="1.5"
VERSION="1.8"
HOMEPAGE="http://flavio.tordini.org/minitube"
DOWNLOAD="http://flavio.tordini.org/files/minitube/minitube-1.5.tar.gz"
MD5SUM="27929edeaf68c5062a8c2fb7b7403016"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/minitube-1.8.tar.xz"
MD5SUM="c722e08f2b95bd6a9df7d6765427c9a6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""