[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-10-13 Thread Haelwenn Monnier
commit: 845c9f275476dbc68aea70146bbb19379a7c8334
Author: Jian Lin  outlook  com>
AuthorDate: Sun Oct 10 02:07:55 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sun Oct 10 02:07:55 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=845c9f27

media-video/qliveplayer: bump to 4.1.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest |  42 
 media-video/qliveplayer/qliveplayer-4.1.0.ebuild | 240 +++
 2 files changed, 282 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index bd0c887c7..147079fa2 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,5 +1,7 @@
 DIST QLivePlayer-4.0.1.tar.gz 565349 BLAKE2B 
63ad63714820d39c8d1836b07a381a653d41012384710f491a3e11d80aab31b1436c821ecd0a42a91f1235c154826ca39ee6faa3121f9c7df31fb594b339fc30
 SHA512 
f63ac6ec483355ae7cdc31296b4640af2c56f7cc1f011abb7072a7b18f588f77331e6bf0399668e7b44890a6bc6b7647d60db1124e7d0137e0aa89df5908c516
+DIST QLivePlayer-4.1.0.tar.gz 566759 BLAKE2B 
ea586fea054af461b8d342efa18aead9841e0cda6dd2394a0c83e3aca1ac08a970f7e6c2f9854c3f041d7fd91f0d496e4b965bd8f5772c763cf0afffecca9ba2
 SHA512 
4e90717847305ec5f5568f712b7febc7a1364c10a93182761bcba910df91ad5b1d7ce85358c9feeefbc69d5cf70ef96937cc97bfe5a75b866aca4e36b1cc36c1
 DIST QLivePlayer-Lib-03d3c7b0bf010986710182ba4ab9a887b4c3b42d.tar.gz 35875 
BLAKE2B 
67c321f1515a891e131876e189fa54199222b1f6eaafaf68b2b4901eee85b5efaa3c459208bc6cc93b1ec8b8bc650ae8257720e84c1a986a0060f40a6a8f2729
 SHA512 
4330f869d325117f59b11300c50cbf69af31173ffe9c909cb7fb8bc752c23a5a49cb402fd95097540ec091f68382c1d34aa406c3a231774d348cb339a1dc1939
+DIST QLivePlayer-Lib-1d8c90d4939ce54316fce1f77a77e1950cffe66a.tar.gz 46436 
BLAKE2B 
4dcb793c2f0d0e5355eb019dd7fd03a7ad82529a47a748fb9cb4aeb8fd94e0de35bb7f7edd0d8637482737f3dc350c6f70b2b91ca52138768f11e52695aae1d6
 SHA512 
839104fc9ea4935f90893e8eb39a21c85c22842d3a280642cb798aff062fcb0345d8558d2e1502e4db839c1e1fc7f563f5e0a3a6eab3535c930add2169266635
 DIST adler-1.0.2.crate 12778 BLAKE2B 
a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd
 SHA512 
7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
 DIST aho-corasick-0.7.18.crate 112923 BLAKE2B 
4f6947d1aacf89ccfab0592cdc55fa61ef09cea38231d3f758765dbce328a810c0b588be4ba96e81d64955379ee005722d22a7aec39caea6e72342245d7ca34f
 SHA512 
7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
 DIST async-compression-0.3.8.crate 57977 BLAKE2B 
228e279c9ba68531f9444862c05029af85c1cd9ff751be4101fefa82688f0a5472a798257c21f3812e7c37c18fe0fabbc0c4ed0b6316e1473044b97a89ddd2d3
 SHA512 
8ef6c186d3d5131034322540dedce6d8108bf1f00f9e73433772c06a77eb33567124f303a217f77f6daeb697f26fe9d6dd8ed6b9ae1e16ddb6e0f3053ab2bb06
@@ -9,6 +11,7 @@ DIST base64-0.13.0.crate 62070 BLAKE2B 
b957f65cdb1e28baeca0cefc92fa98be797409b7d
 DIST bincode-1.3.3.crate 28958 BLAKE2B 
ea01d2efd8149ecba5e240ed989268b683d542a5f369902d316a4fd1ae4b8edd94e2d4a8cbff0e96646eb29facb04a84b249d74f0781dc3d29c8797ac975aa9f
 SHA512 
49e39d71214dbb623a18e3852f6f2f2a5c3f951b64107d66c8adaa95a442a3283fba978bca41b126c9879b12833b945f478d2c77d35482b3577fc1a894e8e5f3
 DIST bit-set-0.5.2.crate 14093 BLAKE2B 
06d41a217438d9a00f8e57e592d12364b671d082f21a4d174673bc820dde28ef5ce02e782002d03c9311f71b0130eeeca7cfacbc4c1b27475069479163643ef3
 SHA512 
9709f35c7e69b84eed61f73da99ffe0693d1d0fa5fb94d13759cfbbb9dd4b0bb27628c3200e4b29ef29cdb0aede5fd3d7ddf663012b2c5946975bc169efbac34
 DIST bit-vec-0.6.3.crate 19927 BLAKE2B 
f5bd3bb9c87fdf3b206739b74df20cab50a1a45af3a58b2642a5a061c26207884be58ef8369a3cd06dfd3615bff0ce15915fdd4b6b6f03facc4a0f86c0b7e910
 SHA512 
b4b4a82c80d0ff13527ae4fff449ac9c1c7bc519c013af6ea3428348e0e5b9306b725c0a13a42d7d9dcf0f895a9eee0c63695a2503eb7fd2200083c9ea3a9aa8
+DIST bitflags-1.2.1.crate 16745 BLAKE2B 
0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b
 SHA512 
ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
 DIST bitflags-1.3.1.crate 22434 BLAKE2B 
c28ca81865f90d548623e6259170b07b6e8934bfb7391b919565622e88a3e0d204b4eeab60dd43e08195380a0ba5688c68cad112c8b9b6849acfd091d871182b
 SHA512 
f61f201499efddf76f0a3f172a92941ca3f2ae8f81a6dafb1f654027a65b8570cb2ef3ffbc5091d7b3a52f0307efde1f521909a5a2c6348442579c9c4aa1829f
 DIST block-buffer-0.9.0.crate 7108 BLAKE2B 
42e99ec46c6e43d5f85e8d6d0a8fcef7175c97828758c93e55505c0e18e2646ae77bf264076041bf682532e28268a4978dd9c822c0475347ee3d29c5df2601fb
 SHA512 

[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-10-13 Thread Haelwenn Monnier
commit: 22bed99666ad40aa4cd56d9976fd79fa2c087616
Author: Jian Lin  outlook  com>
AuthorDate: Sun Oct 10 00:58:22 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sun Oct 10 01:00:20 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22bed996

media-video/qliveplayer: drop old and update url

Closes: https://bugs.gentoo.org/817155
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest   |  1 -
 media-video/qliveplayer/qliveplayer-3.22.4.ebuild  | 71 --
 ...4.0.1-r1.ebuild => qliveplayer-4.0.1-r2.ebuild} |  6 +-
 3 files changed, 3 insertions(+), 75 deletions(-)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index 8d4e3b56e..bd0c887c7 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,4 +1,3 @@
-DIST QLivePlayer-3.22.4.tar.gz 640975 BLAKE2B 
313d6a68d9ab2914680e3c8f3478659fc8cae4e060f2006c0dba4441796c7880611ad1ca9d2d754bacd5cc542774eefcb0e46807b6dacc20a04c1538bda0394f
 SHA512 
08fc3abb7b923baba09c60c86185431fe3754a1e06978247247e1482100e3b41c2a5185bc5fea1270fd2e7e9d90509880ea4ba4e8bb133cc4745f229c93744d3
 DIST QLivePlayer-4.0.1.tar.gz 565349 BLAKE2B 
63ad63714820d39c8d1836b07a381a653d41012384710f491a3e11d80aab31b1436c821ecd0a42a91f1235c154826ca39ee6faa3121f9c7df31fb594b339fc30
 SHA512 
f63ac6ec483355ae7cdc31296b4640af2c56f7cc1f011abb7072a7b18f588f77331e6bf0399668e7b44890a6bc6b7647d60db1124e7d0137e0aa89df5908c516
 DIST QLivePlayer-Lib-03d3c7b0bf010986710182ba4ab9a887b4c3b42d.tar.gz 35875 
BLAKE2B 
67c321f1515a891e131876e189fa54199222b1f6eaafaf68b2b4901eee85b5efaa3c459208bc6cc93b1ec8b8bc650ae8257720e84c1a986a0060f40a6a8f2729
 SHA512 
4330f869d325117f59b11300c50cbf69af31173ffe9c909cb7fb8bc752c23a5a49cb402fd95097540ec091f68382c1d34aa406c3a231774d348cb339a1dc1939
 DIST adler-1.0.2.crate 12778 BLAKE2B 
a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd
 SHA512 
7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1

diff --git a/media-video/qliveplayer/qliveplayer-3.22.4.ebuild 
b/media-video/qliveplayer/qliveplayer-3.22.4.ebuild
deleted file mode 100644
index ecc8b1752..0
--- a/media-video/qliveplayer/qliveplayer-3.22.4.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit cmake optfeature python-single-r1 readme.gentoo-r1 xdg
-
-MY_P="QLivePlayer-${PV}"
-
-DESCRIPTION="A player and recorder for live streams and videos 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 ~arm ~arm64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-   ${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.15:5
-   >=dev-qt/qtdeclarative-5.15:5
-   >=dev-qt/qtgui-5.15:5
-   >=dev-qt/qtnetwork-5.15:5
-   >=dev-qt/qtwidgets-5.15:5
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/aiohttp[${PYTHON_USEDEP}]
-   ')
-   media-video/ffmpeg
-   media-video/mpv
-   net-misc/curl
-   >=dev-qt/qtquickcontrols-5.15:5
-   >=dev-qt/qtquickcontrols2-5.15:5
-   >=dev-qt/qtsvg-5.15:5
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules:5
-"
-
-src_prepare() {
-   xdg_environment_reset
-   cmake_src_prepare
-   # respect PYTHON_SINGLE_TARGET
-   grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null 
|| die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
-   grep 'dmcPyProcess->start("python3", dmcPy);' \
-   src/qlphelper/danmakulauncher.cpp >/dev/null || die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
-   grep 'proc->start("python3", args);' \
-   src/qlphelper/streamfinder.cpp >/dev/null || die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
-}
-
-src_install() {
-   cmake_src_install
-   readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-   readme.gentoo_print_elog
-   optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
-}

diff --git a/media-video/qliveplayer/qliveplayer-4.0.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-4.0.1-r2.ebuild
similarity index 96%
rename from media-video/qliveplayer/qliveplayer-4.0.1-r1.ebuild
rename to media-video/qliveplayer/qliveplayer-4.0.1-r2.ebuild
index a133c15ce..1a56a6749 100644
--- 

[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-05-25 Thread Haelwenn Monnier
commit: c9c71b65a39086355172be51f63999608142a13c
Author: Jian Lin  outlook  com>
AuthorDate: Tue May 25 08:22:24 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue May 25 08:24:53 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9c71b65

media-video/qliveplayer: bump to 3.22.1

bump to 3.22.1
add dev-qt/qtsvg to RDEPEND to display icon

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest  |  1 +
 media-video/qliveplayer/qliveplayer-3.22.1.ebuild | 71 +++
 2 files changed, 72 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index c29c959af..36b08460f 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,2 +1,3 @@
 DIST QLivePlayer-3.21.1.tar.gz 639098 BLAKE2B 
956edafc652d5124ea14357a8015450c6678d1fa46b9701b5e65e23ca824bcc4e2b2598ff9c5441210afaa32c21c21affb432b323b452053fa5a548816765c56
 SHA512 
8aca7a62ff4839ff0640b3d982fa6f498996add39d6ed7e4904db2530347c35a56c524cb3c75c85d3de7c635142ff1dc8e3ac69644eef19f4aa55d77a21dd2f1
 DIST QLivePlayer-3.22.0.tar.gz 640034 BLAKE2B 
2038a1b003140525dd03ec14fb357b36826c28d3744133781622b89aee1c973db94ba823c2c64697eb1a3bc77a633f37e6deec14b2678c632f34f853c4881104
 SHA512 
cd8f7255c101565dd1b90d9e9a7faedfff7b423d5a8d5f7cd0d35d0e991ce28f06b2631a90e9c4d8f787daa0ceb921004a206eaa1a25332a8c592f57c282ab11
+DIST QLivePlayer-3.22.1.tar.gz 640838 BLAKE2B 
8552eefa4b8510b602e65fa553ba257467aaf5bd73710e90f690bcb19ceabc25dd4ae4f00143233df624f166f8170bf083aafbbec2d42e7988bd705037a9308e
 SHA512 
45ec1f3d4d698a52107d07a7a55d457215d634b8106ac4facb9250960974f1ea683c338cedeb6f66fef428e88e05ef4286b3e95e22d23ed576c4bc69c5c7c50a

diff --git a/media-video/qliveplayer/qliveplayer-3.22.1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.22.1.ebuild
new file mode 100644
index 0..ee31e703a
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.22.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit xdg cmake optfeature python-single-r1 readme.gentoo-r1
+
+MY_P="QLivePlayer-${PV}"
+
+DESCRIPTION="A player and recorder for live streams and videos 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 ~arm ~arm64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   >=dev-qt/qtcore-5.15:5
+   >=dev-qt/qtdeclarative-5.15:5
+   >=dev-qt/qtgui-5.15:5
+   >=dev-qt/qtnetwork-5.15:5
+   >=dev-qt/qtwidgets-5.15:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   ')
+   media-video/ffmpeg
+   media-video/mpv
+   net-misc/curl
+   >=dev-qt/qtquickcontrols-5.15:5
+   >=dev-qt/qtquickcontrols2-5.15:5
+   >=dev-qt/qtsvg-5.15:5
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   kde-frameworks/extra-cmake-modules:5
+"
+
+src_prepare() {
+   xdg_environment_reset
+   cmake_src_prepare
+   # respect PYTHON_SINGLE_TARGET
+   grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null 
|| die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
+   grep 'dmcPyProcess->start("python3", dmcPy);' \
+   src/qlphelper/danmakulauncher.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
+   grep 'proc->start("python3", args);' \
+   src/qlphelper/streamfinder.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
+}
+
+src_install() {
+   cmake_src_install
+   readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+   readme.gentoo_print_elog
+   optfeature "twitch support" "net-misc/streamlink"
+   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
+}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-05-25 Thread Haelwenn Monnier
commit: d30e6a995580c787bee6a03f788655fdd6aad802
Author: Jian Lin  outlook  com>
AuthorDate: Tue May 25 08:24:19 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue May 25 08:24:53 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d30e6a99

media-video/qliveplayer: drop old 3.21.1-r1

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest   |  1 -
 .../qliveplayer/qliveplayer-3.21.1-r1.ebuild   | 70 --
 2 files changed, 71 deletions(-)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index 36b08460f..b812b3ce3 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,3 +1,2 @@
-DIST QLivePlayer-3.21.1.tar.gz 639098 BLAKE2B 
956edafc652d5124ea14357a8015450c6678d1fa46b9701b5e65e23ca824bcc4e2b2598ff9c5441210afaa32c21c21affb432b323b452053fa5a548816765c56
 SHA512 
8aca7a62ff4839ff0640b3d982fa6f498996add39d6ed7e4904db2530347c35a56c524cb3c75c85d3de7c635142ff1dc8e3ac69644eef19f4aa55d77a21dd2f1
 DIST QLivePlayer-3.22.0.tar.gz 640034 BLAKE2B 
2038a1b003140525dd03ec14fb357b36826c28d3744133781622b89aee1c973db94ba823c2c64697eb1a3bc77a633f37e6deec14b2678c632f34f853c4881104
 SHA512 
cd8f7255c101565dd1b90d9e9a7faedfff7b423d5a8d5f7cd0d35d0e991ce28f06b2631a90e9c4d8f787daa0ceb921004a206eaa1a25332a8c592f57c282ab11
 DIST QLivePlayer-3.22.1.tar.gz 640838 BLAKE2B 
8552eefa4b8510b602e65fa553ba257467aaf5bd73710e90f690bcb19ceabc25dd4ae4f00143233df624f166f8170bf083aafbbec2d42e7988bd705037a9308e
 SHA512 
45ec1f3d4d698a52107d07a7a55d457215d634b8106ac4facb9250960974f1ea683c338cedeb6f66fef428e88e05ef4286b3e95e22d23ed576c4bc69c5c7c50a

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
deleted file mode 100644
index 784351e8f..0
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit xdg cmake optfeature python-single-r1 readme.gentoo-r1
-
-MY_P="QLivePlayer-${PV}"
-
-DESCRIPTION="A player and recorder for live streams and videos 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 ~arm ~arm64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-   ${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.15:5
-   >=dev-qt/qtdeclarative-5.15:5
-   >=dev-qt/qtgui-5.15:5
-   >=dev-qt/qtnetwork-5.15:5
-   >=dev-qt/qtwidgets-5.15:5
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/aiohttp[${PYTHON_USEDEP}]
-   ')
-   media-video/ffmpeg
-   media-video/mpv
-   net-misc/curl
-   >=dev-qt/qtquickcontrols-5.15:5
-   >=dev-qt/qtquickcontrols2-5.15:5
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules:5
-"
-
-src_prepare() {
-   xdg_environment_reset
-   cmake_src_prepare
-   # respect PYTHON_SINGLE_TARGET
-   grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null 
|| die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
-   grep 'dmcPyProcess->start("python3", dmcPy);' \
-   src/qlphelper/danmakulauncher.cpp >/dev/null || die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
-   grep 'proc->start("python3", args);' \
-   src/qlphelper/streamfinder.cpp >/dev/null || die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
-}
-
-src_install() {
-   cmake_src_install
-   readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-   readme.gentoo_print_elog
-   optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
-}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-03-02 Thread Theo Anderson
commit: 032cce8d76ee5d136507c3dde11f92e897f8e7b3
Author: Jian Lin  outlook  com>
AuthorDate: Mon Mar  1 17:57:49 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Mon Mar  1 17:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=032cce8d

media-video/qliveplayer: reformat

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild | 9 +++--
 media-video/qliveplayer/qliveplayer-3.22.0.ebuild| 9 +++--
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
index 532060f9..784351e8 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -43,8 +43,7 @@ DEPEND="
kde-frameworks/extra-cmake-modules:5
 "
 
-src_prepare()
-{
+src_prepare() {
xdg_environment_reset
cmake_src_prepare
# respect PYTHON_SINGLE_TARGET
@@ -58,14 +57,12 @@ src_prepare()
sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
 }
 
-src_install()
-{
+src_install() {
cmake_src_install
readme.gentoo_create_doc
 }
 
-pkg_postinst()
-{
+pkg_postinst() {
xdg_pkg_postinst
readme.gentoo_print_elog
optfeature "twitch support" "net-misc/streamlink"

diff --git a/media-video/qliveplayer/qliveplayer-3.22.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.22.0.ebuild
index 532060f9..784351e8 100644
--- a/media-video/qliveplayer/qliveplayer-3.22.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.22.0.ebuild
@@ -43,8 +43,7 @@ DEPEND="
kde-frameworks/extra-cmake-modules:5
 "
 
-src_prepare()
-{
+src_prepare() {
xdg_environment_reset
cmake_src_prepare
# respect PYTHON_SINGLE_TARGET
@@ -58,14 +57,12 @@ src_prepare()
sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
 }
 
-src_install()
-{
+src_install() {
cmake_src_install
readme.gentoo_create_doc
 }
 
-pkg_postinst()
-{
+pkg_postinst() {
xdg_pkg_postinst
readme.gentoo_print_elog
optfeature "twitch support" "net-misc/streamlink"



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-03-02 Thread Theo Anderson
commit: 40db11f9ff1bc428f289a0a1f6c6f47964c070be
Author: Jian Lin  outlook  com>
AuthorDate: Mon Mar  1 17:53:45 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Mon Mar  1 17:53:45 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40db11f9

media-video/qliveplayer: bump to 3.22.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest  |  1 +
 media-video/qliveplayer/qliveplayer-3.22.0.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index 4618de8a..b25f8c1a 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,2 +1,3 @@
 DIST QLivePlayer-3.21.0.tar.gz 639005 BLAKE2B 
254257cbab62b2578be5a2980c95b982b2da9223756a1efaf3098df1a313d4a252aac70bc032bc13f4e6e330e67d3525a6615d61cec494eab3d666b0ccfc3208
 SHA512 
755d975b37488979c257ecb8473a3702ee20859d1e1c10c42a7077b84e6b9a890dfb5af442c7a4a30c73bf2a088671ec14c1a4a95c849a724cabf88e6a407ec3
 DIST QLivePlayer-3.21.1.tar.gz 639098 BLAKE2B 
956edafc652d5124ea14357a8015450c6678d1fa46b9701b5e65e23ca824bcc4e2b2598ff9c5441210afaa32c21c21affb432b323b452053fa5a548816765c56
 SHA512 
8aca7a62ff4839ff0640b3d982fa6f498996add39d6ed7e4904db2530347c35a56c524cb3c75c85d3de7c635142ff1dc8e3ac69644eef19f4aa55d77a21dd2f1
+DIST QLivePlayer-3.22.0.tar.gz 640034 BLAKE2B 
2038a1b003140525dd03ec14fb357b36826c28d3744133781622b89aee1c973db94ba823c2c64697eb1a3bc77a633f37e6deec14b2678c632f34f853c4881104
 SHA512 
cd8f7255c101565dd1b90d9e9a7faedfff7b423d5a8d5f7cd0d35d0e991ce28f06b2631a90e9c4d8f787daa0ceb921004a206eaa1a25332a8c592f57c282ab11

diff --git a/media-video/qliveplayer/qliveplayer-3.22.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.22.0.ebuild
new file mode 100644
index ..532060f9
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.22.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit xdg cmake optfeature python-single-r1 readme.gentoo-r1
+
+MY_P="QLivePlayer-${PV}"
+
+DESCRIPTION="A player and recorder for live streams and videos 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 ~arm ~arm64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   >=dev-qt/qtcore-5.15:5
+   >=dev-qt/qtdeclarative-5.15:5
+   >=dev-qt/qtgui-5.15:5
+   >=dev-qt/qtnetwork-5.15:5
+   >=dev-qt/qtwidgets-5.15:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   ')
+   media-video/ffmpeg
+   media-video/mpv
+   net-misc/curl
+   >=dev-qt/qtquickcontrols-5.15:5
+   >=dev-qt/qtquickcontrols2-5.15:5
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   kde-frameworks/extra-cmake-modules:5
+"
+
+src_prepare()
+{
+   xdg_environment_reset
+   cmake_src_prepare
+   # respect PYTHON_SINGLE_TARGET
+   grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null 
|| die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
+   grep 'dmcPyProcess->start("python3", dmcPy);' \
+   src/qlphelper/danmakulauncher.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
+   grep 'proc->start("python3", args);' \
+   src/qlphelper/streamfinder.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
+}
+
+src_install()
+{
+   cmake_src_install
+   readme.gentoo_create_doc
+}
+
+pkg_postinst()
+{
+   xdg_pkg_postinst
+   readme.gentoo_print_elog
+   optfeature "twitch support" "net-misc/streamlink"
+   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
+}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-03-02 Thread Theo Anderson
commit: a1b8b79621a4323d76228da989cba560039a9ac9
Author: Jian Lin  outlook  com>
AuthorDate: Mon Mar  1 17:54:40 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Mon Mar  1 17:55:31 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1b8b796

media-video/qliveplayer: drop 3.21.0-r1

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest   |  1 -
 .../qliveplayer/qliveplayer-3.21.0-r1.ebuild   | 73 --
 2 files changed, 74 deletions(-)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index b25f8c1a..c29c959a 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,3 +1,2 @@
-DIST QLivePlayer-3.21.0.tar.gz 639005 BLAKE2B 
254257cbab62b2578be5a2980c95b982b2da9223756a1efaf3098df1a313d4a252aac70bc032bc13f4e6e330e67d3525a6615d61cec494eab3d666b0ccfc3208
 SHA512 
755d975b37488979c257ecb8473a3702ee20859d1e1c10c42a7077b84e6b9a890dfb5af442c7a4a30c73bf2a088671ec14c1a4a95c849a724cabf88e6a407ec3
 DIST QLivePlayer-3.21.1.tar.gz 639098 BLAKE2B 
956edafc652d5124ea14357a8015450c6678d1fa46b9701b5e65e23ca824bcc4e2b2598ff9c5441210afaa32c21c21affb432b323b452053fa5a548816765c56
 SHA512 
8aca7a62ff4839ff0640b3d982fa6f498996add39d6ed7e4904db2530347c35a56c524cb3c75c85d3de7c635142ff1dc8e3ac69644eef19f4aa55d77a21dd2f1
 DIST QLivePlayer-3.22.0.tar.gz 640034 BLAKE2B 
2038a1b003140525dd03ec14fb357b36826c28d3744133781622b89aee1c973db94ba823c2c64697eb1a3bc77a633f37e6deec14b2678c632f34f853c4881104
 SHA512 
cd8f7255c101565dd1b90d9e9a7faedfff7b423d5a8d5f7cd0d35d0e991ce28f06b2631a90e9c4d8f787daa0ceb921004a206eaa1a25332a8c592f57c282ab11

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
deleted file mode 100644
index 407d6797..
--- a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit xdg cmake optfeature python-single-r1 readme.gentoo-r1
-
-MY_P="QLivePlayer-${PV}"
-
-DESCRIPTION="A player and recorder for live streams and videos 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 ~arm ~arm64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-   ${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.12:5
-   >=dev-qt/qtdeclarative-5.12:5
-   >=dev-qt/qtgui-5.12:5
-   >=dev-qt/qtnetwork-5.12:5
-   >=dev-qt/qtwidgets-5.12:5
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/aiohttp[${PYTHON_USEDEP}]
-   ')
-   media-video/ffmpeg
-   media-video/mpv
-   net-misc/curl
-   >=dev-qt/qtquickcontrols-5.12:5
-   >=dev-qt/qtquickcontrols2-5.12:5
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules:5
-"
-
-src_prepare()
-{
-   xdg_environment_reset
-   cmake_src_prepare
-   # respect PYTHON_SINGLE_TARGET
-   grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null 
|| die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
-   grep 'dmcPyProcess->start("python3", dmcPy);' \
-   src/qlphelper/danmakulauncher.cpp >/dev/null || die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
-   grep 'proc->start("python3", args);' \
-   src/qlphelper/streamfinder.cpp >/dev/null || die
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
-}
-
-src_install()
-{
-   cmake_src_install
-   readme.gentoo_create_doc
-}
-
-pkg_postinst()
-{
-   xdg_pkg_postinst
-   readme.gentoo_print_elog
-   optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
-}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-16 Thread Theo Anderson
commit: 8df595c6b6a2c3aade2e3bfe6f3903dfd06e52f4
Author: Jian Lin  outlook  com>
AuthorDate: Tue Feb 16 17:53:58 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Tue Feb 16 17:54:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8df595c6

media-video/qliveplayer: add check for sed

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild | 16 +---
 media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild | 16 +---
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
index 27026270..407d6797 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
@@ -47,13 +47,15 @@ src_prepare()
 {
xdg_environment_reset
cmake_src_prepare
-   # fix python version
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
-   || die "Sed failed to set python version!"
+   # respect PYTHON_SINGLE_TARGET
+   grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null 
|| die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
+   grep 'dmcPyProcess->start("python3", dmcPy);' \
+   src/qlphelper/danmakulauncher.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
+   grep 'proc->start("python3", args);' \
+   src/qlphelper/streamfinder.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
 }
 
 src_install()

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
index d581231d..532060f9 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -47,13 +47,15 @@ src_prepare()
 {
xdg_environment_reset
cmake_src_prepare
-   # fix python version
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
-   || die "Sed failed to set python version!"
+   # respect PYTHON_SINGLE_TARGET
+   grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null 
|| die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
+   grep 'dmcPyProcess->start("python3", dmcPy);' \
+   src/qlphelper/danmakulauncher.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
+   grep 'proc->start("python3", args);' \
+   src/qlphelper/streamfinder.cpp >/dev/null || die
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
 }
 
 src_install()



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/, media-video/qliveplayer/files/

2021-02-16 Thread Theo Anderson
commit: 58fa8d0cea5b11e1368c2061ab830aa9fa335e00
Author: Jian Lin  outlook  com>
AuthorDate: Tue Feb 16 17:35:16 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Tue Feb 16 17:54:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58fa8d0c

media-video/qliveplayer: add README.gentoo

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/files/README.gentoo  | 5 +
 media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild | 9 -
 media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild | 9 -
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/media-video/qliveplayer/files/README.gentoo 
b/media-video/qliveplayer/files/README.gentoo
new file mode 100644
index ..bede90a6
--- /dev/null
+++ b/media-video/qliveplayer/files/README.gentoo
@@ -0,0 +1,5 @@
+qliveplayer is a GUI program to watch live streams and videos.
+qlphelper is the core CLI program called by qliveplayer.
+qlphelper or qlprecorder can be used to record live streams and videos.
+mpv console or a qliveplayer config file can be used to change settings.
+See https://github.com/IsoaSFlus/QLivePlayer/wiki for more information.

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
index d5f8601b..27026270 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
 
-inherit xdg cmake optfeature python-single-r1
+inherit xdg cmake optfeature python-single-r1 readme.gentoo-r1
 
 MY_P="QLivePlayer-${PV}"
 
@@ -56,9 +56,16 @@ src_prepare()
|| die "Sed failed to set python version!"
 }
 
+src_install()
+{
+   cmake_src_install
+   readme.gentoo_create_doc
+}
+
 pkg_postinst()
 {
xdg_pkg_postinst
+   readme.gentoo_print_elog
optfeature "twitch support" "net-misc/streamlink"
optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
 }

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
index e83c7852..d581231d 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
 
-inherit xdg cmake optfeature python-single-r1
+inherit xdg cmake optfeature python-single-r1 readme.gentoo-r1
 
 MY_P="QLivePlayer-${PV}"
 
@@ -56,9 +56,16 @@ src_prepare()
|| die "Sed failed to set python version!"
 }
 
+src_install()
+{
+   cmake_src_install
+   readme.gentoo_create_doc
+}
+
 pkg_postinst()
 {
xdg_pkg_postinst
+   readme.gentoo_print_elog
optfeature "twitch support" "net-misc/streamlink"
optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
 }



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-16 Thread Theo Anderson
commit: e785ddbdffeb96e3143404ad4a3d3acfe1e57828
Author: Jian Lin  outlook  com>
AuthorDate: Tue Feb 16 17:11:48 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Tue Feb 16 17:54:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e785ddbd

media-video/qliveplayer: add xdg_environment_reset in src_prepare

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild | 1 +
 media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
index 7da31f94..d5f8601b 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
@@ -45,6 +45,7 @@ DEPEND="
 
 src_prepare()
 {
+   xdg_environment_reset
cmake_src_prepare
# fix python version
sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
index 0cd43e9a..e83c7852 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -45,6 +45,7 @@ DEPEND="
 
 src_prepare()
 {
+   xdg_environment_reset
cmake_src_prepare
# fix python version
sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-16 Thread Theo Anderson
commit: 5554f62a4bae404291ebfbe44cf6c31cc10a6ab7
Author: Jian Lin  outlook  com>
AuthorDate: Tue Feb 16 16:21:21 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Tue Feb 16 17:54:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5554f62a

media-video/qliveplayer: update DESCRIPTION and metadata

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/metadata.xml | 7 +++
 media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild | 2 +-
 media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/media-video/qliveplayer/metadata.xml 
b/media-video/qliveplayer/metadata.xml
index 436b06b7..e6eea790 100644
--- a/media-video/qliveplayer/metadata.xml
+++ b/media-video/qliveplayer/metadata.xml
@@ -6,6 +6,13 @@
Jian Lin


+   
+   IsoaSFlus
+   m...@isoasflus.com
+   
+   
https://github.com/IsoaSFlus/QLivePlayer/releases
+   https://github.com/IsoaSFlus/QLivePlayer/wiki
+   
https://github.com/IsoaSFlus/QLivePlayer/issues
IsoaSFlus/QLivePlayer

 

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
index b3458069..7da31f94 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
@@ -9,7 +9,7 @@ inherit xdg cmake optfeature python-single-r1
 
 MY_P="QLivePlayer-${PV}"
 
-DESCRIPTION="A cute and useful Live Stream Player with danmaku support"
+DESCRIPTION="A player and recorder for live streams and videos 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}"

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
index f6542b3b..0cd43e9a 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -9,7 +9,7 @@ inherit xdg cmake optfeature python-single-r1
 
 MY_P="QLivePlayer-${PV}"
 
-DESCRIPTION="A cute and useful Live Stream Player with danmaku support"
+DESCRIPTION="A player and recorder for live streams and videos 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}"



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-14 Thread Andrew Ammerlaan
commit: 2194201e6bb80b7d7f44fa8a53986b076c0d5f18
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sun Feb 14 16:56:07 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Feb 14 16:56:07 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2194201e

media-video/qliveplayer: Re-add direct dependencies.

Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild | 6 +-
 media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
index f4e729c1..b3458069 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
@@ -21,7 +21,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="
${PYTHON_DEPS}
-   >=dev-qt/qtdeclarative-5.12:5[widgets]
+   >=dev-qt/qtcore-5.12:5
+   >=dev-qt/qtdeclarative-5.12:5
+   >=dev-qt/qtgui-5.12:5
+   >=dev-qt/qtnetwork-5.12:5
+   >=dev-qt/qtwidgets-5.12:5
 "
 RDEPEND="
${COMMON_DEPEND}

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
index 74e48cda..f6542b3b 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -21,7 +21,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="
${PYTHON_DEPS}
-   >=dev-qt/qtdeclarative-5.15:5[widgets]
+   >=dev-qt/qtcore-5.15:5
+   >=dev-qt/qtdeclarative-5.15:5
+   >=dev-qt/qtgui-5.15:5
+   >=dev-qt/qtnetwork-5.15:5
+   >=dev-qt/qtwidgets-5.15:5
 "
 RDEPEND="
${COMMON_DEPEND}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-14 Thread Andrew Ammerlaan
commit: abfd0675a9b0deefe183b1822c5c3195550ca20d
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sun Feb 14 15:51:50 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Feb 14 15:55:33 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=abfd0675

media-video/qliveplayer: Fix dependencies.

dev-qt/qtdeclarative[widgets] pulls in dev-qt/qtcore, dev-qt/qtgui,
dev-qt/qtnetwork and dev-qt/qtwidgets.
Added dev-qt/qtquickcontrols and dev-qt/qtquickcontrols2.

Closes: https://bugs.gentoo.org/770529

Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 .../qliveplayer/qliveplayer-3.21.0-r1.ebuild   | 59 ++
 .../qliveplayer/qliveplayer-3.21.1-r1.ebuild   | 59 ++
 2 files changed, 118 insertions(+)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
new file mode 100644
index ..afb66067
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit xdg cmake optfeature python-single-r1
+
+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 ~arm ~arm64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   >=dev-qt/qtdeclarative-5.12:5[widgets]
+   >=dev-qt/qtquickcontrols-5.12:5
+   >=dev-qt/qtquickcontrols2-5.12:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   ')
+   media-video/ffmpeg
+   media-video/mpv
+   net-misc/curl
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   kde-frameworks/extra-cmake-modules:5
+"
+
+src_prepare()
+{
+   cmake_src_prepare
+   # fix python version
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
+   || die "Sed failed to set python version!"
+}
+
+pkg_postinst()
+{
+   xdg_pkg_postinst
+   optfeature "twitch support" "net-misc/streamlink"
+   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
+}

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
new file mode 100644
index ..54fc2709
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit xdg cmake optfeature python-single-r1
+
+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 ~arm ~arm64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   >=dev-qt/qtdeclarative-5.15:5[widgets]
+   >=dev-qt/qtquickcontrols-5.15:5
+   >=dev-qt/qtquickcontrols2-5.15:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   ')
+   media-video/ffmpeg
+   media-video/mpv
+   net-misc/curl
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   kde-frameworks/extra-cmake-modules:5
+"
+
+src_prepare()
+{
+   cmake_src_prepare
+   # fix python version
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
+   || die "Sed failed to set python version!"
+}
+
+pkg_postinst()
+{
+   xdg_pkg_postinst
+   optfeature "twitch support" "net-misc/streamlink"
+   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
+}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-14 Thread Andrew Ammerlaan
commit: 53fd6807b9e62fcc8118b96597e42afd02e034a6
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sun Feb 14 16:47:44 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Feb 14 16:47:44 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53fd6807

media-video/qliveplayer: Move dev-qt/qtquickcontrols{,2} to RDEPEND.

Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild | 4 ++--
 media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
index afb66067..f4e729c1 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0-r1.ebuild
@@ -22,8 +22,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 COMMON_DEPEND="
${PYTHON_DEPS}
>=dev-qt/qtdeclarative-5.12:5[widgets]
-   >=dev-qt/qtquickcontrols-5.12:5
-   >=dev-qt/qtquickcontrols2-5.12:5
 "
 RDEPEND="
${COMMON_DEPEND}
@@ -33,6 +31,8 @@ RDEPEND="
media-video/ffmpeg
media-video/mpv
net-misc/curl
+   >=dev-qt/qtquickcontrols-5.12:5
+   >=dev-qt/qtquickcontrols2-5.12:5
 "
 DEPEND="
${COMMON_DEPEND}

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
index 54fc2709..74e48cda 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1-r1.ebuild
@@ -22,8 +22,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 COMMON_DEPEND="
${PYTHON_DEPS}
>=dev-qt/qtdeclarative-5.15:5[widgets]
-   >=dev-qt/qtquickcontrols-5.15:5
-   >=dev-qt/qtquickcontrols2-5.15:5
 "
 RDEPEND="
${COMMON_DEPEND}
@@ -33,6 +31,8 @@ RDEPEND="
media-video/ffmpeg
media-video/mpv
net-misc/curl
+   >=dev-qt/qtquickcontrols-5.15:5
+   >=dev-qt/qtquickcontrols2-5.15:5
 "
 DEPEND="
${COMMON_DEPEND}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-14 Thread Andrew Ammerlaan
commit: 2d1541ac096fc343bb6c13d10a4f7ba999445754
Author: Ronny (tastytea) Gutbrod  tastytea  de>
AuthorDate: Sun Feb 14 15:56:53 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Feb 14 15:56:53 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d1541ac

media-video/qliveplayer: Remove old ebuilds.

Signed-off-by: Ronny (tastytea) Gutbrod  tastytea.de>

 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 61 ---
 media-video/qliveplayer/qliveplayer-3.21.1.ebuild | 61 ---
 2 files changed, 122 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
deleted file mode 100644
index 6a005e5c..
--- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit xdg cmake optfeature python-single-r1
-
-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 ~arm ~arm64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-   ${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.12:5
-   >=dev-qt/qtdeclarative-5.12:5
-   >=dev-qt/qtgui-5.12:5
-   >=dev-qt/qtnetwork-5.12:5
-   >=dev-qt/qtwidgets-5.12:5
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/aiohttp[${PYTHON_USEDEP}]
-   ')
-   media-video/ffmpeg
-   media-video/mpv
-   net-misc/curl
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules:5
-"
-
-src_prepare()
-{
-   cmake_src_prepare
-   # fix python version
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
-   || die "Sed failed to set python version!"
-}
-
-pkg_postinst()
-{
-   xdg_pkg_postinst
-   optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
-}

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
deleted file mode 100644
index a402e986..
--- a/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit xdg cmake optfeature python-single-r1
-
-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 ~arm ~arm64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-   ${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.15:5
-   >=dev-qt/qtdeclarative-5.15:5
-   >=dev-qt/qtgui-5.15:5
-   >=dev-qt/qtnetwork-5.15:5
-   >=dev-qt/qtwidgets-5.15:5
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/aiohttp[${PYTHON_USEDEP}]
-   ')
-   media-video/ffmpeg
-   media-video/mpv
-   net-misc/curl
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules:5
-"
-
-src_prepare()
-{
-   cmake_src_prepare
-   # fix python version
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
-   || die "Sed failed to set python version!"
-}
-
-pkg_postinst()
-{
-   xdg_pkg_postinst
-   optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
-}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-01 Thread Andrew Ammerlaan
commit: 46bebd65b9e20726ec9511e7fb638fa3651e2cf2
Author: Jian Lin  outlook  com>
AuthorDate: Mon Feb  1 09:25:34 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  1 09:25:34 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46bebd65

media-video/qliveplayer: update dependencies

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 7 ---
 media-video/qliveplayer/qliveplayer-3.21.1.ebuild | 7 ---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
index 319f3a83..6a005e5c 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
@@ -22,9 +22,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 COMMON_DEPEND="
${PYTHON_DEPS}
>=dev-qt/qtcore-5.12:5
-   >=dev-qt/qtgraphicaleffects-5.12:5
-   >=dev-qt/qtquickcontrols-5.12:5
-   >=dev-qt/qtquickcontrols2-5.12:5
+   >=dev-qt/qtdeclarative-5.12:5
+   >=dev-qt/qtgui-5.12:5
+   >=dev-qt/qtnetwork-5.12:5
+   >=dev-qt/qtwidgets-5.12:5
 "
 RDEPEND="
${COMMON_DEPEND}

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
index 501bd1ba..a402e986 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
@@ -22,9 +22,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 COMMON_DEPEND="
${PYTHON_DEPS}
>=dev-qt/qtcore-5.15:5
-   >=dev-qt/qtgraphicaleffects-5.15:5
-   >=dev-qt/qtquickcontrols-5.15:5
-   >=dev-qt/qtquickcontrols2-5.15:5
+   >=dev-qt/qtdeclarative-5.15:5
+   >=dev-qt/qtgui-5.15:5
+   >=dev-qt/qtnetwork-5.15:5
+   >=dev-qt/qtwidgets-5.15:5
 "
 RDEPEND="
${COMMON_DEPEND}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-01 Thread Andrew Ammerlaan
commit: 4c1113e0682c36e3bc7c72b6794e6e8cfa69ac6c
Author: Jian Lin  outlook  com>
AuthorDate: Mon Feb  1 09:17:19 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  1 09:17:19 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c1113e0

media-video/qliveplayer: sort optfeatures

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 2 +-
 media-video/qliveplayer/qliveplayer-3.21.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
index c31c6748..319f3a83 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
@@ -56,5 +56,5 @@ pkg_postinst()
 {
xdg_pkg_postinst
optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
+   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
 }

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
index 6a725132..501bd1ba 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
@@ -56,5 +56,5 @@ pkg_postinst()
 {
xdg_pkg_postinst
optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
+   optfeature "youtube support" "dev-python/protobuf-python 
net-misc/streamlink"
 }



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-01 Thread Andrew Ammerlaan
commit: 1c0df8f3b40ac72b2aadcde2edf3dbb1522ba2a7
Author: Jian Lin  outlook  com>
AuthorDate: Mon Feb  1 09:10:03 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  1 09:10:03 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c0df8f3

media-video/qliveplayer: bump to 3.21.1

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest  |  1 +
 media-video/qliveplayer/qliveplayer-3.21.1.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index fd0ee97a..aaa54650 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,2 +1,3 @@
 DIST QLivePlayer-3.20.2.tar.gz 638142 BLAKE2B 
f9b7f6f69a4d751b57441e61b670a909408317801463415c8b0c311766bdbf16913c811e11c7a31096a6609b2e5e6f8ae64688d03d04dd1ebab97ebdf1644e08
 SHA512 
9ea868c59ff15ee6efa4a9c02578fee628c0f2985203d2696496512f9e1fd05b5d1642d4812711ef3be3843077b6f655288f07d48da7ceb80add20e7442cbf5b
 DIST QLivePlayer-3.21.0.tar.gz 639005 BLAKE2B 
254257cbab62b2578be5a2980c95b982b2da9223756a1efaf3098df1a313d4a252aac70bc032bc13f4e6e330e67d3525a6615d61cec494eab3d666b0ccfc3208
 SHA512 
755d975b37488979c257ecb8473a3702ee20859d1e1c10c42a7077b84e6b9a890dfb5af442c7a4a30c73bf2a088671ec14c1a4a95c849a724cabf88e6a407ec3
+DIST QLivePlayer-3.21.1.tar.gz 639098 BLAKE2B 
956edafc652d5124ea14357a8015450c6678d1fa46b9701b5e65e23ca824bcc4e2b2598ff9c5441210afaa32c21c21affb432b323b452053fa5a548816765c56
 SHA512 
8aca7a62ff4839ff0640b3d982fa6f498996add39d6ed7e4904db2530347c35a56c524cb3c75c85d3de7c635142ff1dc8e3ac69644eef19f4aa55d77a21dd2f1

diff --git a/media-video/qliveplayer/qliveplayer-3.21.1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
new file mode 100644
index ..6a725132
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.21.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit xdg cmake optfeature python-single-r1
+
+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 ~arm ~arm64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   >=dev-qt/qtcore-5.15:5
+   >=dev-qt/qtgraphicaleffects-5.15:5
+   >=dev-qt/qtquickcontrols-5.15:5
+   >=dev-qt/qtquickcontrols2-5.15:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   ')
+   media-video/ffmpeg
+   media-video/mpv
+   net-misc/curl
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   kde-frameworks/extra-cmake-modules:5
+"
+
+src_prepare()
+{
+   cmake_src_prepare
+   # fix python version
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
+   || die "Sed failed to set python version!"
+}
+
+pkg_postinst()
+{
+   xdg_pkg_postinst
+   optfeature "twitch support" "net-misc/streamlink"
+   optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
+}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-02-01 Thread Andrew Ammerlaan
commit: 4d4ab613d2b8269a7288834794b087e4afc2d0c6
Author: Jian Lin  outlook  com>
AuthorDate: Mon Feb  1 09:13:28 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  1 09:13:28 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d4ab613

media-video/qliveplayer: drop old 3.20.2

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/Manifest  |  1 -
 media-video/qliveplayer/qliveplayer-3.20.2.ebuild | 60 ---
 2 files changed, 61 deletions(-)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index aaa54650..4618de8a 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,3 +1,2 @@
-DIST QLivePlayer-3.20.2.tar.gz 638142 BLAKE2B 
f9b7f6f69a4d751b57441e61b670a909408317801463415c8b0c311766bdbf16913c811e11c7a31096a6609b2e5e6f8ae64688d03d04dd1ebab97ebdf1644e08
 SHA512 
9ea868c59ff15ee6efa4a9c02578fee628c0f2985203d2696496512f9e1fd05b5d1642d4812711ef3be3843077b6f655288f07d48da7ceb80add20e7442cbf5b
 DIST QLivePlayer-3.21.0.tar.gz 639005 BLAKE2B 
254257cbab62b2578be5a2980c95b982b2da9223756a1efaf3098df1a313d4a252aac70bc032bc13f4e6e330e67d3525a6615d61cec494eab3d666b0ccfc3208
 SHA512 
755d975b37488979c257ecb8473a3702ee20859d1e1c10c42a7077b84e6b9a890dfb5af442c7a4a30c73bf2a088671ec14c1a4a95c849a724cabf88e6a407ec3
 DIST QLivePlayer-3.21.1.tar.gz 639098 BLAKE2B 
956edafc652d5124ea14357a8015450c6678d1fa46b9701b5e65e23ca824bcc4e2b2598ff9c5441210afaa32c21c21affb432b323b452053fa5a548816765c56
 SHA512 
8aca7a62ff4839ff0640b3d982fa6f498996add39d6ed7e4904db2530347c35a56c524cb3c75c85d3de7c635142ff1dc8e3ac69644eef19f4aa55d77a21dd2f1

diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
deleted file mode 100644
index c31c6748..
--- a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit xdg cmake optfeature python-single-r1
-
-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 ~arm ~arm64 ~x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-   ${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.12:5
-   >=dev-qt/qtgraphicaleffects-5.12:5
-   >=dev-qt/qtquickcontrols-5.12:5
-   >=dev-qt/qtquickcontrols2-5.12:5
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/aiohttp[${PYTHON_USEDEP}]
-   ')
-   media-video/ffmpeg
-   media-video/mpv
-   net-misc/curl
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules:5
-"
-
-src_prepare()
-{
-   cmake_src_prepare
-   # fix python version
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
-   || die "Sed failed to set python version!"
-}
-
-pkg_postinst()
-{
-   xdg_pkg_postinst
-   optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
-}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-01-03 Thread Michał Górny
commit: 73ba7ed7bb67725a94f1de33ff1b594722cfaff4
Author: Jian Lin  outlook  com>
AuthorDate: Sat Jan  2 18:52:52 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  2 19:00:44 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=73ba7ed7

media-video/qliveplayer: sort dependencies

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

 media-video/qliveplayer/qliveplayer-3.20.2.ebuild | 2 +-
 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
index 5b8c8d3d..c31c6748 100644
--- a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
@@ -31,8 +31,8 @@ RDEPEND="
$(python_gen_cond_dep '
dev-python/aiohttp[${PYTHON_USEDEP}]
')
-   media-video/mpv
media-video/ffmpeg
+   media-video/mpv
net-misc/curl
 "
 DEPEND="

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
index 5b8c8d3d..c31c6748 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
@@ -31,8 +31,8 @@ RDEPEND="
$(python_gen_cond_dep '
dev-python/aiohttp[${PYTHON_USEDEP}]
')
-   media-video/mpv
media-video/ffmpeg
+   media-video/mpv
net-misc/curl
 "
 DEPEND="



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-01-03 Thread Michał Górny
commit: 21973b3c84d56b3a4c16cce35cbeae1a4ac543dd
Author: Jian Lin  outlook  com>
AuthorDate: Sat Jan  2 17:01:21 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  2 17:02:59 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21973b3c

media-video/qliveplayer: add qt slot 5

add qt slot 5, thanks to xgqt on irc

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

 media-video/qliveplayer/qliveplayer-3.20.2.ebuild | 10 +-
 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 10 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
index 04e5867b..5b8c8d3d 100644
--- a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
@@ -21,10 +21,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="
${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.12
-   >=dev-qt/qtgraphicaleffects-5.12
-   >=dev-qt/qtquickcontrols-5.12
-   >=dev-qt/qtquickcontrols2-5.12
+   >=dev-qt/qtcore-5.12:5
+   >=dev-qt/qtgraphicaleffects-5.12:5
+   >=dev-qt/qtquickcontrols-5.12:5
+   >=dev-qt/qtquickcontrols2-5.12:5
 "
 RDEPEND="
${COMMON_DEPEND}
@@ -37,7 +37,7 @@ RDEPEND="
 "
 DEPEND="
${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules
+   kde-frameworks/extra-cmake-modules:5
 "
 
 src_prepare()

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
index 04e5867b..5b8c8d3d 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
@@ -21,10 +21,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="
${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.12
-   >=dev-qt/qtgraphicaleffects-5.12
-   >=dev-qt/qtquickcontrols-5.12
-   >=dev-qt/qtquickcontrols2-5.12
+   >=dev-qt/qtcore-5.12:5
+   >=dev-qt/qtgraphicaleffects-5.12:5
+   >=dev-qt/qtquickcontrols-5.12:5
+   >=dev-qt/qtquickcontrols2-5.12:5
 "
 RDEPEND="
${COMMON_DEPEND}
@@ -37,7 +37,7 @@ RDEPEND="
 "
 DEPEND="
${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules
+   kde-frameworks/extra-cmake-modules:5
 "
 
 src_prepare()



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-01-02 Thread Andrew Ammerlaan
commit: 9a46e95f7b66aecc2f25a02495a1cded7e0793fb
Author: Jian Lin  outlook  com>
AuthorDate: Fri Jan  1 18:52:12 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Jan  1 18:58:33 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a46e95f

media-video/qliveplayer: fix years of copyright notice

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

 media-video/qliveplayer/qliveplayer-3.20.2.ebuild | 2 +-
 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
index 19cc83d8..04e5867b 100644
--- a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
index 19cc83d8..04e5867b 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2021-01-02 Thread Andrew Ammerlaan
commit: 80e6d42f9016648f92a7e9a562f3a92225234419
Author: Jian Lin  outlook  com>
AuthorDate: Fri Jan  1 18:27:33 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Jan  1 18:58:32 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80e6d42f

media-video/qliveplayer: add KEYWORDS

add KEYWORDS according to juippis's suggestion.
https://github.com/gentoo/guru/issues/10#issuecomment-654632609

Suggested-by: Joonas Niilola  gentoo.org>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jian Lin  outlook.com>

 media-video/qliveplayer/qliveplayer-3.20.2.ebuild | 4 ++--
 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
index 45575fd8..19cc83d8 100644
--- a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
index 45575fd8..19cc83d8 100644
--- a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2020-12-27 Thread Andrew Ammerlaan
commit: 1b831e9ce744f331bd6890cd59ec5db894544812
Author: Jian Lin  outlook  com>
AuthorDate: Sat Dec 26 20:01:14 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Dec 26 20:01:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b831e9c

media-video/qliveplayer: drop old version

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

 media-video/qliveplayer/Manifest   |  1 -
 .../qliveplayer/qliveplayer-3.20.1-r1.ebuild   | 60 --
 2 files changed, 61 deletions(-)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index 1775acc8..fd0ee97a 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,3 +1,2 @@
-DIST QLivePlayer-3.20.1.tar.gz 1504693 BLAKE2B 
815e85aa0c190b0d44a20bae81b6533befe3a73402e2f31c5d56c330fd9542c6d8bdd9aae81a39bbf42397c614715de55d67b8fa2dfdb08e5fb6c487133b3605
 SHA512 
896e7313666a94c7aeacf776782acd1514d7d39cbeb45054b61c5391b90418d1b39da9e33b152d906710c7cdd153d14b7a8f0d8e8848ebcae9825a2f55b808b1
 DIST QLivePlayer-3.20.2.tar.gz 638142 BLAKE2B 
f9b7f6f69a4d751b57441e61b670a909408317801463415c8b0c311766bdbf16913c811e11c7a31096a6609b2e5e6f8ae64688d03d04dd1ebab97ebdf1644e08
 SHA512 
9ea868c59ff15ee6efa4a9c02578fee628c0f2985203d2696496512f9e1fd05b5d1642d4812711ef3be3843077b6f655288f07d48da7ceb80add20e7442cbf5b
 DIST QLivePlayer-3.21.0.tar.gz 639005 BLAKE2B 
254257cbab62b2578be5a2980c95b982b2da9223756a1efaf3098df1a313d4a252aac70bc032bc13f4e6e330e67d3525a6615d61cec494eab3d666b0ccfc3208
 SHA512 
755d975b37488979c257ecb8473a3702ee20859d1e1c10c42a7077b84e6b9a890dfb5af442c7a4a30c73bf2a088671ec14c1a4a95c849a724cabf88e6a407ec3

diff --git a/media-video/qliveplayer/qliveplayer-3.20.1-r1.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.1-r1.ebuild
deleted file mode 100644
index 45575fd8..
--- a/media-video/qliveplayer/qliveplayer-3.20.1-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit xdg cmake optfeature python-single-r1
-
-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"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
-   ${PYTHON_DEPS}
-   >=dev-qt/qtcore-5.12
-   >=dev-qt/qtgraphicaleffects-5.12
-   >=dev-qt/qtquickcontrols-5.12
-   >=dev-qt/qtquickcontrols2-5.12
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   $(python_gen_cond_dep '
-   dev-python/aiohttp[${PYTHON_USEDEP}]
-   ')
-   media-video/mpv
-   media-video/ffmpeg
-   net-misc/curl
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   kde-frameworks/extra-cmake-modules
-"
-
-src_prepare()
-{
-   cmake_src_prepare
-   # fix python version
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
-   || die "Sed failed to set python version!"
-   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
-   || die "Sed failed to set python version!"
-}
-
-pkg_postinst()
-{
-   xdg_pkg_postinst
-   optfeature "twitch support" "net-misc/streamlink"
-   optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
-}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2020-12-27 Thread Andrew Ammerlaan
commit: bce959d51807c43b500d0c354b9805fa80e18df5
Author: Jian Lin  outlook  com>
AuthorDate: Sat Dec 26 19:59:35 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Dec 26 19:59:35 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bce959d5

media-video/qliveplayer: version bump to 3.21.0

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

 media-video/qliveplayer/Manifest  |  1 +
 media-video/qliveplayer/qliveplayer-3.21.0.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index 9044a522..1775acc8 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,2 +1,3 @@
 DIST QLivePlayer-3.20.1.tar.gz 1504693 BLAKE2B 
815e85aa0c190b0d44a20bae81b6533befe3a73402e2f31c5d56c330fd9542c6d8bdd9aae81a39bbf42397c614715de55d67b8fa2dfdb08e5fb6c487133b3605
 SHA512 
896e7313666a94c7aeacf776782acd1514d7d39cbeb45054b61c5391b90418d1b39da9e33b152d906710c7cdd153d14b7a8f0d8e8848ebcae9825a2f55b808b1
 DIST QLivePlayer-3.20.2.tar.gz 638142 BLAKE2B 
f9b7f6f69a4d751b57441e61b670a909408317801463415c8b0c311766bdbf16913c811e11c7a31096a6609b2e5e6f8ae64688d03d04dd1ebab97ebdf1644e08
 SHA512 
9ea868c59ff15ee6efa4a9c02578fee628c0f2985203d2696496512f9e1fd05b5d1642d4812711ef3be3843077b6f655288f07d48da7ceb80add20e7442cbf5b
+DIST QLivePlayer-3.21.0.tar.gz 639005 BLAKE2B 
254257cbab62b2578be5a2980c95b982b2da9223756a1efaf3098df1a313d4a252aac70bc032bc13f4e6e330e67d3525a6615d61cec494eab3d666b0ccfc3208
 SHA512 
755d975b37488979c257ecb8473a3702ee20859d1e1c10c42a7077b84e6b9a890dfb5af442c7a4a30c73bf2a088671ec14c1a4a95c849a724cabf88e6a407ec3

diff --git a/media-video/qliveplayer/qliveplayer-3.21.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
new file mode 100644
index ..45575fd8
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.21.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit xdg cmake optfeature python-single-r1
+
+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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   >=dev-qt/qtcore-5.12
+   >=dev-qt/qtgraphicaleffects-5.12
+   >=dev-qt/qtquickcontrols-5.12
+   >=dev-qt/qtquickcontrols2-5.12
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   ')
+   media-video/mpv
+   media-video/ffmpeg
+   net-misc/curl
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   kde-frameworks/extra-cmake-modules
+"
+
+src_prepare()
+{
+   cmake_src_prepare
+   # fix python version
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
+   || die "Sed failed to set python version!"
+}
+
+pkg_postinst()
+{
+   xdg_pkg_postinst
+   optfeature "twitch support" "net-misc/streamlink"
+   optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
+}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2020-12-06 Thread Andrew Ammerlaan
commit: e935dc6d3a82d358c53409cc849aaa91342c9ee1
Author: Jian Lin  outlook  com>
AuthorDate: Sun Dec  6 14:02:39 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Dec  6 14:02:39 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e935dc6d

media-video/qliveplayer: bump to 3.20.2

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

 media-video/qliveplayer/Manifest  |  1 +
 media-video/qliveplayer/qliveplayer-3.20.2.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index 5300d98c..9044a522 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1 +1,2 @@
 DIST QLivePlayer-3.20.1.tar.gz 1504693 BLAKE2B 
815e85aa0c190b0d44a20bae81b6533befe3a73402e2f31c5d56c330fd9542c6d8bdd9aae81a39bbf42397c614715de55d67b8fa2dfdb08e5fb6c487133b3605
 SHA512 
896e7313666a94c7aeacf776782acd1514d7d39cbeb45054b61c5391b90418d1b39da9e33b152d906710c7cdd153d14b7a8f0d8e8848ebcae9825a2f55b808b1
+DIST QLivePlayer-3.20.2.tar.gz 638142 BLAKE2B 
f9b7f6f69a4d751b57441e61b670a909408317801463415c8b0c311766bdbf16913c811e11c7a31096a6609b2e5e6f8ae64688d03d04dd1ebab97ebdf1644e08
 SHA512 
9ea868c59ff15ee6efa4a9c02578fee628c0f2985203d2696496512f9e1fd05b5d1642d4812711ef3be3843077b6f655288f07d48da7ceb80add20e7442cbf5b

diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
new file mode 100644
index ..45575fd8
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit xdg cmake optfeature python-single-r1
+
+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"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+   ${PYTHON_DEPS}
+   >=dev-qt/qtcore-5.12
+   >=dev-qt/qtgraphicaleffects-5.12
+   >=dev-qt/qtquickcontrols-5.12
+   >=dev-qt/qtquickcontrols2-5.12
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/aiohttp[${PYTHON_USEDEP}]
+   ')
+   media-video/mpv
+   media-video/ffmpeg
+   net-misc/curl
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   kde-frameworks/extra-cmake-modules
+"
+
+src_prepare()
+{
+   cmake_src_prepare
+   # fix python version
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \
+   || die "Sed failed to set python version!"
+   sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \
+   || die "Sed failed to set python version!"
+}
+
+pkg_postinst()
+{
+   xdg_pkg_postinst
+   optfeature "twitch support" "net-misc/streamlink"
+   optfeature "youtube support" "net-misc/streamlink 
dev-python/protobuf-python"
+}



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2020-12-03 Thread Andrew Ammerlaan
commit: 5dac49b8c3b5e471774a006e873e9c841cd54b2f
Author: Jian Lin  outlook  com>
AuthorDate: Wed Dec  2 10:26:55 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Dec  2 10:32:49 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dac49b8

media-video/qliveplayer: bump to 3.20.1

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

 media-video/qliveplayer/Manifest   |  2 +-
 ...qliveplayer-3.20.0.ebuild => qliveplayer-3.20.1.ebuild} | 14 +-
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index 794b86ec..5300d98c 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1 +1 @@
-DIST QLivePlayer-3.20.0.tar.gz 3909984 BLAKE2B 
720008e65f748501d4f43cc866dec47f574e12aea37c51a7173cbc04d9d7e01795de9ed5e7d9acd32fd449049cc0c88850ede7783c9dc1459ed126dc81b233ba
 SHA512 
741964c3f34876ca9197c132c521e6c4cf5ca56e8b0d20429263828f55d0f03c72e8099ee6d2d3a67944e98d0d4c00cc8234d245fb5aae3f1669aa0cc4aefef2
+DIST QLivePlayer-3.20.1.tar.gz 1504693 BLAKE2B 
815e85aa0c190b0d44a20bae81b6533befe3a73402e2f31c5d56c330fd9542c6d8bdd9aae81a39bbf42397c614715de55d67b8fa2dfdb08e5fb6c487133b3605
 SHA512 
896e7313666a94c7aeacf776782acd1514d7d39cbeb45054b61c5391b90418d1b39da9e33b152d906710c7cdd153d14b7a8f0d8e8848ebcae9825a2f55b808b1

diff --git a/media-video/qliveplayer/qliveplayer-3.20.0.ebuild 
b/media-video/qliveplayer/qliveplayer-3.20.1.ebuild
similarity index 94%
rename from media-video/qliveplayer/qliveplayer-3.20.0.ebuild
rename to media-video/qliveplayer/qliveplayer-3.20.1.ebuild
index 07183d56..40941f99 100644
--- a/media-video/qliveplayer/qliveplayer-3.20.0.ebuild
+++ b/media-video/qliveplayer/qliveplayer-3.20.1.ebuild
@@ -16,19 +16,23 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
 
+COMMON_DEPEND="
+   >=dev-qt/qtcore-5.12
+   >=dev-qt/qtgraphicaleffects-5.12
+   >=dev-qt/qtquickcontrols-5.12
+   >=dev-qt/qtquickcontrols2-5.12
+"
 RDEPEND="
+   ${COMMON_DEPEND}
+   dev-python/aiohttp
media-video/mpv
media-video/ffmpeg
net-misc/curl
-   dev-python/aiohttp
>=dev-lang/python-3.7.0
 "
 DEPEND="
+   ${COMMON_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()



[gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/

2020-11-29 Thread Andrew Ammerlaan
commit: b68f729c2c52828c771cab06388058adbb41f745
Author: Jian Lin  outlook  com>
AuthorDate: Sun Nov 29 00:43:15 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Nov 29 00:43:15 2020 +
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  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 ..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 ..436b06b7
--- /dev/null
+++ b/media-video/qliveplayer/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   jlin.gen...@outlook.com
+   Jian Lin
+   
+   
+   IsoaSFlus/QLivePlayer
+   
+

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 ..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"
+}