From a09dde546cd15116ebbe398d19b7799f84455e38 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 10 Aug 2016 14:44:43 +0300 Subject: network/youtube-dl: Updated for version 2016.08.10. Signed-off-by: Dimitris Zlatanidis --- network/youtube-dl/youtube-dl.1 | 14 ++++++++++++-- network/youtube-dl/youtube-dl.SlackBuild | 14 ++++++-------- network/youtube-dl/youtube-dl.info | 6 +++--- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/network/youtube-dl/youtube-dl.1 b/network/youtube-dl/youtube-dl.1 index cb2edcfc8b..d18c6e3c80 100644 --- a/network/youtube-dl/youtube-dl.1 +++ b/network/youtube-dl/youtube-dl.1 @@ -644,7 +644,17 @@ Requires bidiv or fribidi executable in PATH .RE .TP .B \-\-sleep\-interval \f[I]SECONDS\f[] -Number of seconds to sleep before each download. +Number of seconds to sleep before each download when used alone or a +lower bound of a range for randomized sleep before each download +(minimum possible number of seconds to sleep) when used along with +\-\-max\-sleep\-interval. +.RS +.RE +.TP +.B \-\-max\-sleep\-interval \f[I]SECONDS\f[] +Upper bound of a range for randomized sleep before each download +(maximum possible number of seconds to sleep). +Must only be used along with \-\-min\-sleep\-interval. .RS .RE .SS Video Format Options: @@ -2275,7 +2285,7 @@ activity. .PP Before requesting a new feature, please have a quick peek at the list of supported -options (https://github.com/rg3/youtube-dl/blob/master/README.md#synopsis). +options (https://github.com/rg3/youtube-dl/blob/master/README.md#options). Many feature requests are for features that actually exist already! Please, absolutely do show off your work in the issue report and detail how the existing similar options do \f[I]not\f[] solve your problem. diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild index 3b2f63f087..6e60081b1f 100644 --- a/network/youtube-dl/youtube-dl.SlackBuild +++ b/network/youtube-dl/youtube-dl.SlackBuild @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=youtube-dl -VERSION=${VERSION:-2016.07.30} +VERSION=${VERSION:-2016.08.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ 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" @@ -91,11 +91,9 @@ mkdir -p $PKG/usr/man/man1 install -D -m0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1 gzip -9 $PKG/usr/man/man1/$PRGNAM.1 -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md LICENSE AUTHORS ${PRGNAM}.plugin.zsh $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md LICENSE AUTHORS ${PRGNAM}.plugin.zsh docs/*.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info index 22189638ec..449371d7d2 100644 --- a/network/youtube-dl/youtube-dl.info +++ b/network/youtube-dl/youtube-dl.info @@ -1,8 +1,8 @@ PRGNAM="youtube-dl" -VERSION="2016.07.30" +VERSION="2016.08.10" HOMEPAGE="https://rg3.github.io/youtube-dl" -DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2016.07.30.tar.gz" -MD5SUM="eaae8d931f59ab6d3d380bf080c15e31" +DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2016.08.10.tar.gz" +MD5SUM="1ceb819f6a83850cafa2865eb0d24f30" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3