aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-03 13:25:54 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:30 +0700
commit02bb379afec967f35287f286b0b0a6292c070ae9 (patch)
tree530dd8f1cbcb3967833c60babe86da4a97d7a471
parent44fdce6014cf9058077e4265fb50e7ef24598917 (diff)
multimedia/straw-viewer: Updated for version 0.1.3.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/straw-viewer/restore_mplayer.diff58
-rw-r--r--multimedia/straw-viewer/straw-viewer.SlackBuild6
-rw-r--r--multimedia/straw-viewer/straw-viewer.info6
3 files changed, 31 insertions, 39 deletions
diff --git a/multimedia/straw-viewer/restore_mplayer.diff b/multimedia/straw-viewer/restore_mplayer.diff
index 1c3f5f82851e..ea6efb080031 100644
--- a/multimedia/straw-viewer/restore_mplayer.diff
+++ b/multimedia/straw-viewer/restore_mplayer.diff
@@ -1,41 +1,35 @@
-diff -Naur straw-viewer-0.1.0/bin/gtk-straw-viewer straw-viewer-0.1.0.patched/bin/gtk-straw-viewer
---- straw-viewer-0.1.0/bin/gtk-straw-viewer 2020-10-06 15:16:34.000000000 -0400
-+++ straw-viewer-0.1.0.patched/bin/gtk-straw-viewer 2020-10-12 01:17:39.658582800 -0400
-@@ -160,6 +160,13 @@
+diff -Naur straw-viewer-0.1.3/bin/gtk-straw-viewer straw-viewer-0.1.3.patched/bin/gtk-straw-viewer
+--- straw-viewer-0.1.3/bin/gtk-straw-viewer 2021-02-23 11:29:38.000000000 -0500
++++ straw-viewer-0.1.3.patched/bin/gtk-straw-viewer 2021-08-03 12:55:18.814976310 -0400
+@@ -163,6 +163,13 @@
fs => q{--fullscreen},
- arg => q{--really-quiet --title=*TITLE* --no-ytdl},
+ arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*},
},
+ mplayer => {
-+ cmd => q{mplayer},
-+ srt => q{-sub *SUB*},
-+ audio => q{-audiofile *AUDIO*},
-+ fs => q{-fs},
-+ arg => q{-prefer-ipv4 -really-quiet -title *TITLE*},
-+ },
- smplayer => {
- cmd => q{smplayer},
- srt => q{-sub *SUB*},
-diff -Naur straw-viewer-0.1.0/bin/straw-viewer straw-viewer-0.1.0.patched/bin/straw-viewer
---- straw-viewer-0.1.0/bin/straw-viewer 2020-10-06 15:16:34.000000000 -0400
-+++ straw-viewer-0.1.0.patched/bin/straw-viewer 2020-10-12 01:18:57.794575697 -0400
-@@ -153,11 +153,19 @@
- arg => q{--really-quiet --title=*TITLE* --no-ytdl},
++ cmd => q{mplayer},
++ srt => q{-sub *SUB*},
++ audio => q{-audiofile *AUDIO*},
++ fs => q{-fs},
++ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*},
++ },
+ },
+ video_player_selected => undef, # autodetect it later
+
+diff -Naur straw-viewer-0.1.3/bin/straw-viewer straw-viewer-0.1.3.patched/bin/straw-viewer
+--- straw-viewer-0.1.3/bin/straw-viewer 2021-02-23 11:29:38.000000000 -0500
++++ straw-viewer-0.1.3.patched/bin/straw-viewer 2021-08-03 12:57:03.187966822 -0400
+@@ -158,6 +158,14 @@
+ arg => q{--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*},
novideo => q{--no-video},
},
+ mplayer => {
-+ cmd => q{mplayer},
-+ srt => q{-sub *SUB*},
-+ audio => q{-audiofile *AUDIO*},
-+ fs => q{-fs},
-+ arg => q{-prefer-ipv4 -really-quiet -title *TITLE*},
-+ novideo => q{-novideo},
-+ },
++ cmd => q{mplayer},
++ srt => q{-sub *SUB*},
++ audio => q{-audiofile *AUDIO*},
++ fs => q{-fs},
++ arg => q{-prefer-ipv4 -really-quiet -title *TITLE* *VIDEO*},
++ novideo => q{-novideo},
++ },
},
video_player_selected => (
- $constant{win32}
-- ? 'vlc'
-+ ? 'mplayer'
- : undef # auto-defined
- ),
-
diff --git a/multimedia/straw-viewer/straw-viewer.SlackBuild b/multimedia/straw-viewer/straw-viewer.SlackBuild
index 338b658fe5fd..5ae01ebaa4ce 100644
--- a/multimedia/straw-viewer/straw-viewer.SlackBuild
+++ b/multimedia/straw-viewer/straw-viewer.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210803 bkw: update for v0.1.3.
# 20201208 bkw: update for v0.1.2.
# 20201109 bkw: update for v0.1.1.
# 20201012 bkw: update for v0.1.0.
@@ -29,7 +30,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=straw-viewer
-VERSION=${VERSION:-0.1.2}
+VERSION=${VERSION:-0.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
diff --git a/multimedia/straw-viewer/straw-viewer.info b/multimedia/straw-viewer/straw-viewer.info
index 14c1670ef155..a001f25f9e18 100644
--- a/multimedia/straw-viewer/straw-viewer.info
+++ b/multimedia/straw-viewer/straw-viewer.info
@@ -1,8 +1,8 @@
PRGNAM="straw-viewer"
-VERSION="0.1.2"
+VERSION="0.1.3"
HOMEPAGE="https://github.com/trizen/straw-viewer/"
-DOWNLOAD="https://github.com/trizen/straw-viewer/archive/0.1.2/straw-viewer-0.1.2.tar.gz"
-MD5SUM="dcee29de09e239cf1bbb6ebc8909b351"
+DOWNLOAD="https://github.com/trizen/straw-viewer/archive/0.1.3/straw-viewer-0.1.3.tar.gz"
+MD5SUM="fcae48602793f701833da52686bf2504"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-data-dump perl-LWP-Protocol-https perl-JSON perl-Module-Build perl-List-MoreUtils"