[arch-commits] Commit in qliveplayer/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Aug 21 06:38:17 UTC 2021


    Date: Saturday, August 21, 2021 @ 06:38:17
  Author: felixonmars
Revision: 1004101

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-21 06:38:17 UTC (rev 1004100)
+++ PKGBUILD	2021-08-21 06:38:17 UTC (rev 1004101)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Megumi_fox <i at megumifox.com>
-
-pkgname=qliveplayer
-pkgver=3.22.4
-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' 'qt5-svg')
-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")
-sha512sums=('08fc3abb7b923baba09c60c86185431fe3754a1e06978247247e1482100e3b41c2a5185bc5fea1270fd2e7e9d90509880ea4ba4e8bb133cc4745f229c93744d3')
-
-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
-}

Copied: qliveplayer/repos/community-x86_64/PKGBUILD (from rev 1004096, qliveplayer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-21 06:38:17 UTC (rev 1004101)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Megumi_fox <i at megumifox.com>
+
+pkgname=qliveplayer
+pkgver=4.0.0
+_libcommit=03d3c7b0bf010986710182ba4ab9a887b4c3b42d
+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' 'qt5-base' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-quickcontrols'
+         'qt5-quickcontrols2' 'qt5-svg')
+makedepends=('extra-cmake-modules' 'ninja' 'rust')
+optdepends=('streamlink: for foreign streaming service support')
+source=("https://github.com/IsoaSFlus/QLivePlayer/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        "https://github.com/IsoaSFlus/QLivePlayer-Lib/archive/$_libcommit/$pkgname-lib-$_libcommit.tar.gz")
+sha512sums=('149b22413b04468db6d2adb0f8bce2245be799c5e4f7eeb61005c09104606c9efe2873a1ff69bdba642429c4b19e3add5f0324b9a2efa2164829009b68f7391a'
+            '4330f869d325117f59b11300c50cbf69af31173ffe9c909cb7fb8bc752c23a5a49cb402fd95097540ec091f68382c1d34aa406c3a231774d348cb339a1dc1939')
+
+prepare() {
+    mkdir -p build
+    rmdir QLivePlayer-$pkgver/src/QLivePlayer-Lib
+    ln -s ../../QLivePlayer-Lib-$_libcommit QLivePlayer-$pkgver/src/QLivePlayer-Lib
+}
+
+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