diff options
Diffstat (limited to 'multimedia/minitube/minitube.SlackBuild')
-rw-r--r-- | multimedia/minitube/minitube.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/multimedia/minitube/minitube.SlackBuild b/multimedia/minitube/minitube.SlackBuild index 1f3ca32e95b35..20e82f05437ae 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 \ |