multimedia/minitube: Updated for version 3.9.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Franzen 2022-02-06 13:41:53 +07:00 committed by Willy Sudiarto Raharjo
parent 65831565aa
commit 457c0ba4f2
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 14 additions and 28 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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"