Gentoo Archives: gentoo-commits

From: Jian Lin <jlin.gentoo@×××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/qliveplayer/
Date: Sun, 29 Nov 2020 00:45:38
Message-Id: 1606610595.b68f729c2c52828c771cab06388058adbb41f745.jian@gentoo
1 commit: b68f729c2c52828c771cab06388058adbb41f745
2 Author: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
3 AuthorDate: Sun Nov 29 00:43:15 2020 +0000
4 Commit: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
5 CommitDate: Sun Nov 29 00:43:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b68f729c
7
8 media-video/qliveplayer: new package
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Jian Lin <jlin.gentoo <AT> outlook.com>
12
13 media-video/qliveplayer/Manifest | 1 +
14 media-video/qliveplayer/metadata.xml | 11 +++++++
15 media-video/qliveplayer/qliveplayer-3.20.0.ebuild | 39 +++++++++++++++++++++++
16 3 files changed, 51 insertions(+)
17
18 diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
19 new file mode 100644
20 index 00000000..794b86ec
21 --- /dev/null
22 +++ b/media-video/qliveplayer/Manifest
23 @@ -0,0 +1 @@
24 +DIST QLivePlayer-3.20.0.tar.gz 3909984 BLAKE2B 720008e65f748501d4f43cc866dec47f574e12aea37c51a7173cbc04d9d7e01795de9ed5e7d9acd32fd449049cc0c88850ede7783c9dc1459ed126dc81b233ba SHA512 741964c3f34876ca9197c132c521e6c4cf5ca56e8b0d20429263828f55d0f03c72e8099ee6d2d3a67944e98d0d4c00cc8234d245fb5aae3f1669aa0cc4aefef2
25
26 diff --git a/media-video/qliveplayer/metadata.xml b/media-video/qliveplayer/metadata.xml
27 new file mode 100644
28 index 00000000..436b06b7
29 --- /dev/null
30 +++ b/media-video/qliveplayer/metadata.xml
31 @@ -0,0 +1,11 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>jlin.gentoo@×××××××.com</email>
37 + <name>Jian Lin</name>
38 + </maintainer>
39 + <upstream>
40 + <remote-id type="github">IsoaSFlus/QLivePlayer</remote-id>
41 + </upstream>
42 +</pkgmetadata>
43
44 diff --git a/media-video/qliveplayer/qliveplayer-3.20.0.ebuild b/media-video/qliveplayer/qliveplayer-3.20.0.ebuild
45 new file mode 100644
46 index 00000000..07183d56
47 --- /dev/null
48 +++ b/media-video/qliveplayer/qliveplayer-3.20.0.ebuild
49 @@ -0,0 +1,39 @@
50 +# Copyright 1999-2020 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=7
54 +
55 +inherit xdg cmake optfeature
56 +
57 +MY_P="QLivePlayer-${PV}"
58 +
59 +DESCRIPTION="A cute and useful Live Stream Player with danmaku support"
60 +HOMEPAGE="https://github.com/IsoaSFlus/QLivePlayer"
61 +SRC_URI="https://github.com/IsoaSFlus/QLivePlayer/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
62 +S="${WORKDIR}/${MY_P}"
63 +
64 +LICENSE="GPL-2"
65 +SLOT="0"
66 +KEYWORDS="~amd64"
67 +
68 +RDEPEND="
69 + media-video/mpv
70 + media-video/ffmpeg
71 + net-misc/curl
72 + dev-python/aiohttp
73 + >=dev-lang/python-3.7.0
74 +"
75 +DEPEND="
76 + kde-frameworks/extra-cmake-modules
77 + >=dev-qt/qtcore-5.12
78 + >=dev-qt/qtquickcontrols-5.12
79 + >=dev-qt/qtquickcontrols2-5.12
80 + >=dev-qt/qtgraphicaleffects-5.12
81 +"
82 +
83 +pkg_postinst()
84 +{
85 + xdg_pkg_postinst
86 + optfeature "twitch support" "net-misc/streamlink"
87 + optfeature "youtube support" "net-misc/streamlink dev-python/protobuf-python"
88 +}