summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/yturl/yturl.1150
-rw-r--r--network/yturl/yturl.SlackBuild11
-rw-r--r--network/yturl/yturl.info6
-rw-r--r--network/yturl/yturl.pod33
4 files changed, 192 insertions, 8 deletions
diff --git a/network/yturl/yturl.1 b/network/yturl/yturl.1
new file mode 100644
index 0000000000..d2a34559bd
--- /dev/null
+++ b/network/yturl/yturl.1
@@ -0,0 +1,150 @@
+.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.20)
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings. \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote. \*(C+ will
+.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+. ds -- \(*W-
+. ds PI pi
+. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+. ds L" ""
+. ds R" ""
+. ds C` ""
+. ds C' ""
+'br\}
+.el\{\
+. ds -- \|\(em\|
+. ds PI \(*p
+. ds L" ``
+. ds R" ''
+'br\}
+.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD. Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.ie \nF \{\
+. de IX
+. tm Index:\\$1\t\\n%\t"\\$2"
+..
+. nr % 0
+. rr F
+.\}
+.el \{\
+. de IX
+..
+.\}
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear. Run. Save yourself. No user-serviceable parts.
+. \" fudge factors for nroff and troff
+.if n \{\
+. ds #H 0
+. ds #V .8m
+. ds #F .3m
+. ds #[ \f1
+. ds #] \fP
+.\}
+.if t \{\
+. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+. ds #V .6m
+. ds #F 0
+. ds #[ \&
+. ds #] \&
+.\}
+. \" simple accents for nroff and troff
+.if n \{\
+. ds ' \&
+. ds ` \&
+. ds ^ \&
+. ds , \&
+. ds ~ ~
+. ds /
+.\}
+.if t \{\
+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+. \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+. \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+. \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+. ds : e
+. ds 8 ss
+. ds o a
+. ds d- d\h'-1'\(ga
+. ds D- D\h'-1'\(hy
+. ds th \o'bp'
+. ds Th \o'LP'
+. ds ae ae
+. ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "YTURL 1"
+.TH YTURL 1 "2013-06-18" "20130618" "SlackBuilds.org"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH "NAME"
+yturl \- Get direct URLs to YouTube videos.
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+yturl [\-h] [\-q \s-1QUALITY\s0] [\-\-3d] videoID/url
+.PP
+videoID/url is a YouTube url or bare video \s-1ID\s0.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\-h, \-\-help" 4
+.IX Item "-h, --help"
+show this help message and exit
+.IP "\-q \s-1QUALITY\s0, \-\-quality \s-1QUALITY\s0" 4
+.IX Item "-q QUALITY, --quality QUALITY"
+specify quality, can be \*(L"low\*(R", \*(L"medium\*(R", \*(L"high\*(R", or an itag (see
+http://goo.gl/uEIuR)
+.IP "\-\-3d" 4
+.IX Item "--3d"
+Return 3D video only
diff --git a/network/yturl/yturl.SlackBuild b/network/yturl/yturl.SlackBuild
index 0654d9fb3f..39b2c9dd48 100644
--- a/network/yturl/yturl.SlackBuild
+++ b/network/yturl/yturl.SlackBuild
@@ -10,7 +10,7 @@
# wget -O yturl-master-$(date +%Y%m%d).zip https://github.com/cdown/yturl/archive/master.zip
PRGNAM=yturl
-VERSION=${VERSION:-20130202}
+VERSION=${VERSION:-20130618}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,12 +58,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed -i 's,share/man,man,' setup.py
-python setup.py install --root=$PKG
-gzip $PKG/usr/man/man1/$PRGNAM.1
+mkdir -p $PKG/usr/bin
+install -m0755 $PRGNAM $PKG/usr/bin/$PRGNAM
+mkdir -p $PKG/usr/man/man1
+gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/yturl/yturl.info b/network/yturl/yturl.info
index a4f2c62b68..c6d0c8b700 100644
--- a/network/yturl/yturl.info
+++ b/network/yturl/yturl.info
@@ -1,9 +1,9 @@
PRGNAM="yturl"
-VERSION="20130202"
+VERSION="20130618"
HOMEPAGE="https://github.com/cdown/yturl"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/yturl-master-20130202.zip"
+DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/yturl-master-20130618.zip"
DOWNLOAD_x86_64=""
-MD5SUM="c5059a5411836afcf8a12016f172e68d"
+MD5SUM="a9062ed7802d0c91546f6aa42a2fd89e"
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
diff --git a/network/yturl/yturl.pod b/network/yturl/yturl.pod
new file mode 100644
index 0000000000..0b457dd24c
--- /dev/null
+++ b/network/yturl/yturl.pod
@@ -0,0 +1,33 @@
+# POD source for yturl man page. Convert with:
+# pod2man --stderr -s1 -cSlackBuilds.org -r20130618 yturl.pod > yturl.1
+
+=pod
+
+=head1 NAME
+
+yturl - Get direct URLs to YouTube videos.
+
+=head1 SYNOPSIS
+
+yturl [-h] [-q QUALITY] [--3d] videoID/url
+
+videoID/url is a YouTube url or bare video ID.
+
+=head1 OPTIONS
+
+=over 4
+
+=item -h, --help
+
+show this help message and exit
+
+=item -q QUALITY, --quality QUALITY
+
+specify quality, can be "low", "medium", "high", or an itag (see
+http://goo.gl/uEIuR)
+
+=item --3d
+
+Return 3D video only
+
+=cut