diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-06-30 23:55:12 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2021-06-30 23:55:12 +0000 |
commit | 8bfb9ea01c9157b384f1ecdd2037a2b79f9a19af (patch) | |
tree | 31e6760d03121b3832cf6a86aa8a1b6b08c20172 /multimedia/ytfzf | |
parent | 02c1630da8c21c0a140da7c64a257faff152b57c (diff) | |
download | ports-8bfb9ea01c9157b384f1ecdd2037a2b79f9a19af.tar.gz ports-8bfb9ea01c9157b384f1ecdd2037a2b79f9a19af.zip |
Diffstat (limited to 'multimedia/ytfzf')
-rw-r--r-- | multimedia/ytfzf/Makefile | 2 | ||||
-rw-r--r-- | multimedia/ytfzf/distinfo | 6 | ||||
-rw-r--r-- | multimedia/ytfzf/files/patch-ytfzf | 20 |
3 files changed, 14 insertions, 14 deletions
diff --git a/multimedia/ytfzf/Makefile b/multimedia/ytfzf/Makefile index e64b06b92059..2acb21de8460 100644 --- a/multimedia/ytfzf/Makefile +++ b/multimedia/ytfzf/Makefile @@ -1,6 +1,6 @@ PORTNAME= ytfzf DISTVERSIONPREFIX= v -DISTVERSION= 1.1.6 +DISTVERSION= 1.2.0 CATEGORIES= multimedia MAINTAINER= 0mp@FreeBSD.org diff --git a/multimedia/ytfzf/distinfo b/multimedia/ytfzf/distinfo index 78cc620ccd11..444f30a69b03 100644 --- a/multimedia/ytfzf/distinfo +++ b/multimedia/ytfzf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621770324 -SHA256 (pystardust-ytfzf-v1.1.6_GH0.tar.gz) = c700e0e9b2f0d55b962fc3f28e48d68c00c686d06f7cbfe33032def6169b1aef -SIZE (pystardust-ytfzf-v1.1.6_GH0.tar.gz) = 3223006 +TIMESTAMP = 1625097159 +SHA256 (pystardust-ytfzf-v1.2.0_GH0.tar.gz) = 244205d59f4fbab30c87740b7181c387a1892e23d8e20a034adcfaa686130fa7 +SIZE (pystardust-ytfzf-v1.2.0_GH0.tar.gz) = 3229824 diff --git a/multimedia/ytfzf/files/patch-ytfzf b/multimedia/ytfzf/files/patch-ytfzf index 8ad829d4d472..c7a5827d6be3 100644 --- a/multimedia/ytfzf/files/patch-ytfzf +++ b/multimedia/ytfzf/files/patch-ytfzf @@ -1,11 +1,11 @@ ---- ytfzf.orig 2021-04-17 13:32:28 UTC +--- ytfzf.orig 2021-06-26 05:44:53 UTC +++ ytfzf -@@ -861,7 +861,7 @@ play_url () { - delete_thumbnails () { - session_count=0 - while read -r pid; do -- [ -d /proc/"$pid" ] && session_count=$(( session_count + 1 )) -+ kill -0 "$pid" 2>/dev/null && session_count=$(( session_count + 1 )) - done < "$pid_file" - if [ $session_count -eq 1 ] ; then - [ -d "$thumb_dir" ] && rm -r "$thumb_dir" +@@ -1095,7 +1095,7 @@ play_url () { + session_is_running () { + session_count=0 + while read -r pid; do +- [ -d /proc/"$pid" ] && session_count=$(( session_count + 1 )) ++ kill -0 "$pid" 2>/dev/null && session_count=$(( session_count + 1 )) + done < "$pid_file" + [ $session_count -eq 1 ] && return 1 || return 0 + } |