mirror of https://github.com/streamlink/streamlink
Debian packaging base (#80)
* copy initial stuff from livestreamer, but renamed to streamlink * rename here, too, so the build passes * fix incorrect file names * fix renamed/deleted files * rename debian files * update name to point to current copyright * remove old livestreamer changelog
This commit is contained in:
parent
3f93cf27cd
commit
15ad59cd98
|
@ -1,7 +1,6 @@
|
|||
include AUTHORS
|
||||
include CHANGELOG.rst
|
||||
include CONTRIBUTING.rst
|
||||
include README.rst
|
||||
include CHANGELOG.md
|
||||
include README.md
|
||||
include LICENSE*
|
||||
include requirements-docs.txt
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
streamlink (0.0.2-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #XXXXXXX)
|
||||
|
||||
-- Stefan Breunig <stefan-debian@yrden.de> Sun, 16 Oct 2016 11:37:03 +0100
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,108 @@
|
|||
Source: streamlink
|
||||
Maintainer: Stefan Breunig <stefan-debian@yrden.de>
|
||||
Section: python
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.6
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-python,
|
||||
python,
|
||||
python3,
|
||||
python-setuptools,
|
||||
python3-setuptools,
|
||||
python-singledispatch,
|
||||
python3 (>= 3.4) | python3-singledispatch,
|
||||
python-requests,
|
||||
python3-requests,
|
||||
python-sphinx,
|
||||
python-concurrent.futures
|
||||
X-Python-Version: >= 2.6
|
||||
X-Python3-Version: >= 3.3
|
||||
Homepage: http://streamlink.io/
|
||||
Vcs-Git: git://github.com/streamlink/streamlink.git
|
||||
Vcs-Browser: https://github.com/streamlink/streamlink
|
||||
|
||||
Package: python-streamlink
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
${python:Depends},
|
||||
python-requests,
|
||||
python-singledispatch,
|
||||
python-concurrent.futures
|
||||
Recommends: rtmpdump,
|
||||
python-crypto,
|
||||
python-librtmp
|
||||
Suggests: streamlink
|
||||
Description: library to extract video streams from various services - Python 2
|
||||
The API lists available video qualities from URLs which are
|
||||
visible to a service’s users. It can extract any such quality
|
||||
and pass on the raw video data.
|
||||
.
|
||||
Currently most of the big streaming services are supported
|
||||
(e.g. Dailymotion, Livestream, Justin.tv, Twitch, YouTube Live
|
||||
and UStream) and more specialized content providers can be
|
||||
added easily using Streamlink’s plugin system.
|
||||
.
|
||||
This package makes Streamlink APIs accessible in Python 2.
|
||||
|
||||
Package: python3-streamlink
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
${python3:Depends},
|
||||
python3-requests,
|
||||
python3 (>= 3.4) | python3-singledispatch
|
||||
Recommends: rtmpdump,
|
||||
python3-crypto,
|
||||
python3-librtmp
|
||||
Suggests: streamlink
|
||||
Description: library to extract video streams from various services - Python 3
|
||||
The API lists available video qualities from URLs which are
|
||||
visible to a service’s users. It can extract any such quality
|
||||
and pass on the raw video data.
|
||||
.
|
||||
Currently most of the big streaming services are supported
|
||||
(e.g. Dailymotion, Livestream, Justin.tv, Twitch, YouTube Live
|
||||
and UStream) and more specialized content providers can be
|
||||
added easily using Streamlink’s plugin system.
|
||||
.
|
||||
This package makes Streamlink APIs accessible in Python 3.
|
||||
|
||||
Package: python-streamlink-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends: ${sphinxdoc:Depends},
|
||||
${misc:Depends},
|
||||
libjs-modernizr,
|
||||
sphinx-rtd-theme-common
|
||||
Recommends: fonts-inconsolata,
|
||||
fonts-lato
|
||||
Description: library to extract video streams from various services - documentation
|
||||
The API lists available video qualities from URLs which are
|
||||
visible to a service’s users. It can extract any such quality
|
||||
and pass on the raw video data.
|
||||
.
|
||||
Currently most of the big streaming services are supported
|
||||
(e.g. Dailymotion, Livestream, Justin.tv, Twitch, YouTube Live
|
||||
and UStream) and more specialized content providers can be
|
||||
added easily using Streamlink’s plugin system.
|
||||
.
|
||||
This package contains the Streamlink usage, API and plugins
|
||||
documentation in HTML format.
|
||||
|
||||
Package: streamlink
|
||||
Section: video
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
${python:Depends},
|
||||
python-streamlink (= ${source:Version})
|
||||
Suggests: python-streamlink-doc
|
||||
Description: CLI that pipes video streams to video players
|
||||
Streamlink is a Command Line Interface that extracts video
|
||||
streams from various services and hands them to a video player,
|
||||
such as VLC. The main purpose of Streamlink is to allow the
|
||||
user to avoid buggy and CPU heavy flash plugins but still
|
||||
be able to enjoy various streamed content.
|
||||
.
|
||||
Currently most of the big streaming services are supported
|
||||
(e.g. Dailymotion, Livestream, Justin.tv, Twitch, YouTube Live
|
||||
and UStream) and more specialized content providers can be
|
||||
added easily using Streamlink’s plugin system.
|
|
@ -0,0 +1,73 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Contact: Forrest Alvarez <forrest.alvarez+streamlinkdebian@gmail.com>
|
||||
Source: https://github.com/streamlink/streamlink
|
||||
Upstream-Name: streamlink
|
||||
|
||||
Files: *
|
||||
Copyright: 2011-2016 Christopher Rosell <chrippa@tanuki.se>
|
||||
2016 Streamlink Team
|
||||
License: BSD-2-clause
|
||||
|
||||
Files: src/streamlink/packages/pbs.py
|
||||
Copyright: 2011-2012 Andrew Moffat
|
||||
License: Expat
|
||||
|
||||
Files: docs/_themes/sphinx_rtd_theme_violet/*
|
||||
Copyright: 2013 Dave Snider
|
||||
2014 Christopher Rosell <chrippa@tanuki.se>
|
||||
License: Expat
|
||||
|
||||
Files: docs/_themes/sphinx_rtd_theme_violet/search.html
|
||||
docs/_themes/sphinx_rtd_theme_violet/layout_old.html
|
||||
Copyright: 2007-2013 the Sphinx Team
|
||||
License: BSD-2-clause
|
||||
|
||||
Files: docs/_themes/sphinx_rtd_theme_violet/static/js/scrollspy.js
|
||||
Copyright: 2011-2014 Twitter, Inc.
|
||||
License: Expat
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2014-2016, Stefan Breunig <stefan-debian@yrden.de>
|
||||
License: BSD-2-clause
|
||||
|
||||
License: BSD-2-clause
|
||||
All rights reserved.
|
||||
.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
|
@ -0,0 +1,22 @@
|
|||
Description: Remove GitHub Buttons without replacement
|
||||
Upstream includes buttons to GitHub that display how
|
||||
often the project was starred. Due to privacy concerns
|
||||
these are removed from the documentation in Debian.
|
||||
Forwarded: not-needed
|
||||
Author: Stefan Breunig <stefan-debian@yrden.de>
|
||||
|
||||
Index: packaging/docs/_themes/sphinx_rtd_theme_violet/layout.html
|
||||
===================================================================
|
||||
--- packaging.orig/docs/_themes/sphinx_rtd_theme_violet/layout.html 2015-01-19 22:51:07.000000000 +0100
|
||||
+++ packaging/docs/_themes/sphinx_rtd_theme_violet/layout.html 2015-01-19 23:07:46.225297834 +0100
|
||||
@@ -176,10 +176,6 @@
|
||||
{% endif %}
|
||||
|
||||
|
||||
- {% if theme_github_user and theme_github_repo %}
|
||||
- <script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
|
||||
- {% endif %}
|
||||
-
|
||||
{%- block footer %} {% endblock %}
|
||||
|
||||
</body>
|
|
@ -0,0 +1,34 @@
|
|||
Subject: Remove streamlink version check on startup
|
||||
Forwarded: not-needed
|
||||
Author: Stefan Breunig <stefan-debian@yrden.de>
|
||||
Bug-Debian: https://bugs.debian.org/750502
|
||||
|
||||
Index: packaging/src/streamlink_cli/main.py
|
||||
===================================================================
|
||||
--- packaging.orig/src/streamlink_cli/main.py 2015-05-02 22:17:15.771531546 +0200
|
||||
+++ packaging/src/streamlink_cli/main.py 2015-05-02 22:17:15.771531546 +0200
|
||||
@@ -866,9 +866,9 @@
|
||||
setup_console()
|
||||
setup_http_session()
|
||||
|
||||
- if args.version_check or not args.no_version_check:
|
||||
+ if args.version_check:
|
||||
with ignored(Exception):
|
||||
- check_version(force=args.version_check)
|
||||
+ check_version(force=True)
|
||||
|
||||
if args.plugins:
|
||||
print_plugins()
|
||||
Index: packaging/src/streamlink_cli/argparser.py
|
||||
===================================================================
|
||||
--- packaging.orig/src/streamlink_cli/argparser.py 2015-03-23 21:33:43.167182164 +0100
|
||||
+++ packaging/src/streamlink_cli/argparser.py 2015-05-02 22:18:38.469608924 +0200
|
||||
@@ -256,7 +256,7 @@
|
||||
"--no-version-check",
|
||||
action="store_true",
|
||||
help="""
|
||||
- Do not check for new Streamlink releases.
|
||||
+ Unused, kept for compatibility reasons.
|
||||
"""
|
||||
)
|
||||
general.add_argument(
|
|
@ -0,0 +1,4 @@
|
|||
remove_new_version_check
|
||||
remove_github_buttons
|
||||
use_debian_fonts
|
||||
use_debian_modernizr
|
|
@ -0,0 +1,19 @@
|
|||
Description: Use Debian packaged fonts
|
||||
Remove Google Fonts link used by upstream and instead
|
||||
use local fonts. Except for "Roboto Slab", all are
|
||||
available on Debian.
|
||||
Forwarded: not-needed
|
||||
Author: Stefan Breunig <stefan-debian@yrden.de>
|
||||
|
||||
Index: packaging/docs/_themes/sphinx_rtd_theme_violet/layout.html
|
||||
===================================================================
|
||||
--- packaging.orig/docs/_themes/sphinx_rtd_theme_violet/layout.html 2015-01-19 22:50:36.613894253 +0100
|
||||
+++ packaging/docs/_themes/sphinx_rtd_theme_violet/layout.html 2015-01-19 22:50:59.298397091 +0100
|
||||
@@ -23,7 +23,6 @@
|
||||
{% endif %}
|
||||
|
||||
{# CSS #}
|
||||
- <link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||
|
||||
{# OPENSEARCH #}
|
||||
{% if not embedded %}
|
|
@ -0,0 +1,18 @@
|
|||
Subject: Use Debian packaged modernizr
|
||||
Forwarded: not-needed
|
||||
Author: Stefan Breunig <stefan-debian@yrden.de>
|
||||
|
||||
|
||||
Index: packaging/docs/_themes/sphinx_rtd_theme_violet/layout.html
|
||||
===================================================================
|
||||
--- packaging.orig/docs/_themes/sphinx_rtd_theme_violet/layout.html 2015-01-19 21:33:26.997832354 +0100
|
||||
+++ packaging/docs/_themes/sphinx_rtd_theme_violet/layout.html 2015-01-19 22:11:53.404504485 +0100
|
||||
@@ -68,7 +68,7 @@
|
||||
{%- block extrahead %} {% endblock %}
|
||||
|
||||
{# Keep modernizr in head - http://modernizr.com/docs/#installing #}
|
||||
- <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
|
||||
+ <script src="file:///usr/share/javascript/modernizr/modernizr.min.js"></script>
|
||||
|
||||
</head>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
Document: python-streamlink-doc
|
||||
Title: streamlink documentation
|
||||
Author: Streamlink Team
|
||||
Abstract: The documentation explains the usage and how to write new plugins
|
||||
Section: Programming/Python
|
||||
|
||||
Format: HTML
|
||||
Files: /usr/share/doc/python-streamlink-doc/html/*.html
|
||||
Index: /usr/share/doc/python-streamlink-doc/html/index.html
|
|
@ -0,0 +1,2 @@
|
|||
requirements-docs.txt
|
||||
build/sphinx/html
|
|
@ -0,0 +1,2 @@
|
|||
usr/lib/python2*/*-packages/streamlink/*
|
||||
usr/lib/python2*/*-packages/streamlink-*.egg-info
|
|
@ -0,0 +1,2 @@
|
|||
usr/lib/python3*/*-packages/streamlink/*
|
||||
usr/lib/python3*/*-packages/streamlink-*.egg-info
|
|
@ -0,0 +1,19 @@
|
|||
#! /usr/bin/make -f
|
||||
|
||||
# Place streamlink executable in the correct place right away. This
|
||||
# also avoids overwrites by the Python 3 build, regardless of order.
|
||||
export PYBUILD_INSTALL_ARGS_python2 = --install-scripts usr/share/streamlink/
|
||||
|
||||
%:
|
||||
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_install:
|
||||
python setup.py build_sphinx -b man
|
||||
python setup.py build_sphinx -b html
|
||||
dh_auto_install
|
||||
|
||||
override_dh_compress:
|
||||
dh_compress -X.html
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs CHANGELOG.md
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,2 @@
|
|||
usr/lib/python2.7/*-packages/streamlink_cli usr/share/streamlink
|
||||
usr/share/streamlink/streamlink
|
|
@ -0,0 +1 @@
|
|||
usr/share/streamlink/streamlink usr/bin/streamlink
|
|
@ -0,0 +1 @@
|
|||
build/sphinx/man/streamlink.1
|
|
@ -0,0 +1,3 @@
|
|||
version=3
|
||||
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
|
||||
http://pypi.debian.net/streamlink/streamlink-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
|
Loading…
Reference in New Issue