aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-04-02 18:15:51 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-04-02 18:15:58 +0000
commit403d58149ff4871b20a0b5d26e2d7b5f40ed9d72 (patch)
treeafe5acbbc199d505c0460d32b6b02394aad7eeec /testing
parenta552d70c6d63f4547e1505b2f42f11238fc417f6 (diff)
downloadaports-403d58149ff4871b20a0b5d26e2d7b5f40ed9d72.tar.bz2
aports-403d58149ff4871b20a0b5d26e2d7b5f40ed9d72.tar.xz
testing/py3-livestream: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-livestream/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/py3-livestream/APKBUILD b/testing/py3-livestream/APKBUILD
new file mode 100644
index 0000000000..d6c109d45d
--- /dev/null
+++ b/testing/py3-livestream/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=py3-livestream
+_pkgname=PyLivestream
+pkgver=1.5.1
+pkgrel=0
+pkgdesc="Simple cross-platform FFmpeg-based live streaming to YouTube, Periscope, Facebook Live and more"
+url="https://github.com/scivision/PyLivestream"
+arch="noarch"
+license="AGPL-3.0-or-later"
+depends="ffmpeg"
+makedepends="python3-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/scivision/$_pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+ install -D -m0644 stream.ini "$pkgdir"/etc/$_pkgname/stream.ini
+}
+
+sha512sums="e31f3e66f233935a4843ccaf3569d6b0439f5be21b4e9ddf94b5e87315503ce6b00d64739dd3fa86a8e8bcb011f1523e62ac0aec2ac9dc8628502f14c09e39db py3-livestream-1.5.1.tar.gz"