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

Felix Yan felixonmars at archlinux.org
Wed Jan 20 09:50:34 UTC 2021


    Date: Wednesday, January 20, 2021 @ 09:50:34
  Author: felixonmars
Revision: 823944

archrelease: copy trunk to community-x86_64

Added:
  qliveplayer/repos/community-x86_64/
  qliveplayer/repos/community-x86_64/PKGBUILD
    (from rev 823943, qliveplayer/trunk/PKGBUILD)

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

Copied: qliveplayer/repos/community-x86_64/PKGBUILD (from rev 823943, qliveplayer/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-01-20 09:50:34 UTC (rev 823944)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Megumi_fox <i at megumifox.com>
+
+pkgname=qliveplayer
+pkgver=3.21.0
+pkgrel=1
+pkgdesc='Cute and useful Live Stream Player with danmaku support.'
+arch=('x86_64')
+url="https://github.com/IsoaSFlus/QLivePlayer"
+license=('GPL2')
+depends=('ffmpeg' 'mpv' 'python-aiohttp' 'qt5-base' 'qt5-quickcontrols2' 'qt5-graphicaleffects'
+         'qt5-quickcontrols' 'python')
+makedepends=('extra-cmake-modules' 'ninja')
+optdepends=('python-protobuf: for YouTube LiveChat support'
+            'streamlink: for foreign streaming service support')
+source=("https://github.com/IsoaSFlus/QLivePlayer/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('435747c5ec9f07d271cba99ca02c3932fdef86bc516f7491dd001502bc2c97db')
+
+prepare() {
+    mkdir -p build
+}
+
+build() {
+    cd build
+    cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ../QLivePlayer-$pkgver
+    ninja
+}
+
+package() {
+    cd build
+    DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list