commit:     b68f729c2c52828c771cab06388058adbb41f745
Author:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
AuthorDate: Sun Nov 29 00:43:15 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Nov 29 00:43:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b68f729c

media-video/qliveplayer: new package

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jian Lin <jlin.gentoo <AT> outlook.com>

 media-video/qliveplayer/Manifest                  |  1 +
 media-video/qliveplayer/metadata.xml              | 11 +++++++
 media-video/qliveplayer/qliveplayer-3.20.0.ebuild | 39 +++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
new file mode 100644
index 00000000..794b86ec
--- /dev/null
+++ b/media-video/qliveplayer/Manifest
@@ -0,0 +1 @@
+DIST QLivePlayer-3.20.0.tar.gz 3909984 BLAKE2B 
720008e65f748501d4f43cc866dec47f574e12aea37c51a7173cbc04d9d7e01795de9ed5e7d9acd32fd449049cc0c88850ede7783c9dc1459ed126dc81b233ba
 SHA512 
741964c3f34876ca9197c132c521e6c4cf5ca56e8b0d20429263828f55d0f03c72e8099ee6d2d3a67944e98d0d4c00cc8234d245fb5aae3f1669aa0cc4aefef2

diff --git a/media-video/qliveplayer/metadata.xml 
b/media-video/qliveplayer/metadata.xml
new file mode 100644
index 00000000..436b06b7
--- /dev/null
+++ b/media-video/qliveplayer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Jian Lin</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">IsoaSFlus/QLivePlayer</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/media-video/qliveplayer/qliveplayer-3.20.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.0.ebuild
new file mode 100644
index 00000000..07183d56
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.20.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg cmake optfeature
+
+MY_P="QLivePlayer-${PV}"
+
+DESCRIPTION="A cute and useful Live Stream Player with danmaku support"
+HOMEPAGE="https://github.com/IsoaSFlus/QLivePlayer";
+SRC_URI="https://github.com/IsoaSFlus/QLivePlayer/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       media-video/mpv
+       media-video/ffmpeg
+       net-misc/curl
+       dev-python/aiohttp
+       >=dev-lang/python-3.7.0
+"
+DEPEND="
+       kde-frameworks/extra-cmake-modules
+       >=dev-qt/qtcore-5.12
+       >=dev-qt/qtquickcontrols-5.12
+       >=dev-qt/qtquickcontrols2-5.12
+       >=dev-qt/qtgraphicaleffects-5.12
+"
+
+pkg_postinst()
+{
+       xdg_pkg_postinst
+       optfeature "twitch support" "net-misc/streamlink"
+       optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
+}

Reply via email to