diff options
author | Johannes Schoepfer <slackbuilds at schoepfer dot info> | 2023-01-29 22:39:29 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-04 07:19:51 +0700 |
commit | e38f04fc33d8e61274c6ecdef3a55d0a3c654d00 (patch) | |
tree | ebc1b0e67830faae45a1ce6883f700a245a2c36c /multimedia | |
parent | b9e2df322260407e95322e9fda88e488d21ce2b3 (diff) |
multimedia/minitube: Fixed for mpv >= 0.35.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/minitube/minitube.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/minitube/minitube.SlackBuild b/multimedia/minitube/minitube.SlackBuild index c45ed88a1b0c2..d0b90056f5180 100644 --- a/multimedia/minitube/minitube.SlackBuild +++ b/multimedia/minitube/minitube.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for minitube # Copyright 2009 Mikhail Zotov -# Copyright 2021 Johannes Schoepfer, Germany +# Copyright 2021-2023 Johannes Schoepfer, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=minitube VERSION=${VERSION:-3.9.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,6 +80,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +# fix for mpv >= 0.35, thanks to Chris Willing +sed -i -e '/mpv_opengl_init_params/ s/, nullptr};/};/' \ + lib/media/src/mpv/mpvwidget.cpp qmake # Use our SLKCFLAGS plus the hardcoded ones from the Makefile make \ |