aboutsummaryrefslogtreecommitdiff
path: root/multimedia/minitube
diff options
context:
space:
mode:
authorFranzen <slackbuilds@schoepfer.info>2022-02-06 13:41:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 13:41:53 +0700
commit457c0ba4f2b63ebedbe748d19056a123f06a7649 (patch)
treefa9bc0bca2a73bc934b5dcd3a04f9fc318593543 /multimedia/minitube
parent65831565aa94a8b39da5425c7f4d21f3447caad4 (diff)
multimedia/minitube: Updated for version 3.9.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/minitube')
-rw-r--r--multimedia/minitube/minitube-gcc47.patch11
-rw-r--r--multimedia/minitube/minitube.SlackBuild21
-rw-r--r--multimedia/minitube/minitube.info10
3 files changed, 14 insertions, 28 deletions
diff --git a/multimedia/minitube/minitube-gcc47.patch b/multimedia/minitube/minitube-gcc47.patch
deleted file mode 100644
index 6283b1fe9987..000000000000
--- a/multimedia/minitube/minitube-gcc47.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-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 {
diff --git a/multimedia/minitube/minitube.SlackBuild b/multimedia/minitube/minitube.SlackBuild
index 830958050428..0c0a8d8ad0f4 100644
--- a/multimedia/minitube/minitube.SlackBuild
+++ b/multimedia/minitube/minitube.SlackBuild
@@ -2,7 +2,9 @@
# Slackware build script for minitube
-# Copyright 2009 Mikhail Zotov < mikhail dot ru at gmail dot com >
+# Copyright 2009 Mikhail Zotov
+# Copyright 2021 Johannes Schoepfer, Germany
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -21,19 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Version number bumped by /dev/ammo42
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=minitube
-VERSION=${VERSION:-2.1.3}
+VERSION=${VERSION:-3.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -51,14 +51,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC -m64"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -80,9 +80,6 @@ find -L . \
\( -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 \
@@ -92,7 +89,7 @@ make install INSTALL_ROOT=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS CHANGES COPYING INSTALL TODO \
+ AUTHORS CHANGES COPYING TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/minitube/minitube.info b/multimedia/minitube/minitube.info
index ab76d9715c58..d706134328b2 100644
--- a/multimedia/minitube/minitube.info
+++ b/multimedia/minitube/minitube.info
@@ -1,10 +1,10 @@
PRGNAM="minitube"
-VERSION="2.1.3"
+VERSION="3.9.3
HOMEPAGE="https://flavio.tordini.org/minitube"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/minitube-2.1.3.tar.xz"
-MD5SUM="3f0d44da75b275b442fde4a21af2f115"
+DOWNLOAD="https://github.com/flaviotordini/minitube/releases/download/3.9.3/minitube-3.9.3.tar.bz2"
+MD5SUM="f6eddbba90988051bf62339df73481a6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="mpv"
MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds@schoepfer.info"
+EMAIL="slackbuilds at schoepfer dot info"