diff --git a/multimedia/minitube/minitube-gcc47.patch b/multimedia/minitube/minitube-gcc47.patch new file mode 100644 index 0000000000..6283b1fe99 --- /dev/null +++ b/multimedia/minitube/minitube-gcc47.patch @@ -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 ++#include + #endif + + namespace QtLP_Private { diff --git a/multimedia/minitube/minitube.SlackBuild b/multimedia/minitube/minitube.SlackBuild index 1f3ca32e95..20e82f0543 100644 --- a/multimedia/minitube/minitube.SlackBuild +++ b/multimedia/minitube/minitube.SlackBuild @@ -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 \ diff --git a/multimedia/minitube/minitube.info b/multimedia/minitube/minitube.info index 35fdcbb209..0ce5e5267c 100644 --- a/multimedia/minitube/minitube.info +++ b/multimedia/minitube/minitube.info @@ -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=""