mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
network/youtube-dl: Updated for version 2016.08.10.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
4e2769f146
commit
a09dde546c
3 changed files with 21 additions and 13 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue