diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-12 21:44:39 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-13 17:58:11 -0500 |
commit | f71725b388a7251b8861bf0df14a96e004a4e14f (patch) | |
tree | 2ea06883d78bf30e5afc7e10f628fc0da1d815d3 /multimedia/minitube/minitube.SlackBuild | |
parent | 85a2333b6b92c6b7689bf6c4acad9551caaf5953 (diff) | |
download | slackbuilds-f71725b388a7251b8861bf0df14a96e004a4e14f.tar.gz |
multimedia/minitube: Updated for version 1.8.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 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 \ |