blob: e2a4a92246b931a55c28a98acb07b86f103339cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Megumi_fox <i@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=('mpv'
'ffmpeg'
'python-aiohttp'
'qt5-base'
'qt5-quickcontrols2'
'qt5-graphicaleffects'
'qt5-quickcontrols'
'python')
makedepends=('cmake'
'extra-cmake-modules' )
optdepends=('python-protobuf: for YouTube LiveChat support'
'streamlink: for foreign streaming service support')
source=(
"QLivePlayer-${pkgver}::https://github.com/IsoaSFlus/QLivePlayer/archive/${pkgver}.tar.gz"
)
sha256sums=('435747c5ec9f07d271cba99ca02c3932fdef86bc516f7491dd001502bc2c97db')
build() {
cd $srcdir/QLivePlayer-${pkgver}
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib ..
make
}
package() {
cd $srcdir/QLivePlayer-${pkgver}/build
make install
}
|