[arch-commits] Commit in streamlink/repos (2 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Fri Feb 4 07:05:14 UTC 2022


    Date: Friday, February 4, 2022 @ 07:05:13
  Author: svenstaro
Revision: 1125312

archrelease: copy trunk to community-testing-any

Added:
  streamlink/repos/community-testing-any/
  streamlink/repos/community-testing-any/PKGBUILD
    (from rev 1125311, streamlink/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: streamlink/repos/community-testing-any/PKGBUILD (from rev 1125311, streamlink/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-02-04 07:05:13 UTC (rev 1125312)
@@ -0,0 +1,36 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgname=streamlink
+pkgver=3.1.1
+pkgrel=1
+pkgdesc='CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)'
+arch=('any')
+url='https://streamlink.github.io/'
+license=('BSD')
+depends=("python-"{pycryptodome,isodate,pycountry,requests,pysocks,websocket-client})
+checkdepends=("python-"{freezegun,pytest,requests-mock})
+makedepends=("python-setuptools")
+optdepends=('ffmpeg: Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+validpgpkeys=('E2B794C7C2C37162E5E2A097E3DB9E282E390FA0') # Streamlink Signing Key <streamlink at protonmail.com>
+sha256sums=('855cd31e900e3ae1d5328a37123bfffe2aec501a1d74bcdd12f0d2a2758060e4'
+            'SKIP')
+sha512sums=('6701991a55fed51838abebb72ccc6be0e7085f9b4d321be1411c3161df34549f060ab4676d815e836239486be22c93c836d806f21482738f6d7e645b052ffe27'
+            'SKIP')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  TZ=UTC PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m pytest
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list