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, 10 Oct 2021 02:57:23
Message-Id: 1633827620.22bed99666ad40aa4cd56d9976fd79fa2c087616.jian@gentoo
1 commit: 22bed99666ad40aa4cd56d9976fd79fa2c087616
2 Author: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
3 AuthorDate: Sun Oct 10 00:58:22 2021 +0000
4 Commit: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
5 CommitDate: Sun Oct 10 01:00:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22bed996
7
8 media-video/qliveplayer: drop old and update url
9
10 Closes: https://bugs.gentoo.org/817155
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Jian Lin <jlin.gentoo <AT> outlook.com>
13
14 media-video/qliveplayer/Manifest | 1 -
15 media-video/qliveplayer/qliveplayer-3.22.4.ebuild | 71 ----------------------
16 ...4.0.1-r1.ebuild => qliveplayer-4.0.1-r2.ebuild} | 6 +-
17 3 files changed, 3 insertions(+), 75 deletions(-)
18
19 diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
20 index 8d4e3b56e..bd0c887c7 100644
21 --- a/media-video/qliveplayer/Manifest
22 +++ b/media-video/qliveplayer/Manifest
23 @@ -1,4 +1,3 @@
24 -DIST QLivePlayer-3.22.4.tar.gz 640975 BLAKE2B 313d6a68d9ab2914680e3c8f3478659fc8cae4e060f2006c0dba4441796c7880611ad1ca9d2d754bacd5cc542774eefcb0e46807b6dacc20a04c1538bda0394f SHA512 08fc3abb7b923baba09c60c86185431fe3754a1e06978247247e1482100e3b41c2a5185bc5fea1270fd2e7e9d90509880ea4ba4e8bb133cc4745f229c93744d3
25 DIST QLivePlayer-4.0.1.tar.gz 565349 BLAKE2B 63ad63714820d39c8d1836b07a381a653d41012384710f491a3e11d80aab31b1436c821ecd0a42a91f1235c154826ca39ee6faa3121f9c7df31fb594b339fc30 SHA512 f63ac6ec483355ae7cdc31296b4640af2c56f7cc1f011abb7072a7b18f588f77331e6bf0399668e7b44890a6bc6b7647d60db1124e7d0137e0aa89df5908c516
26 DIST QLivePlayer-Lib-03d3c7b0bf010986710182ba4ab9a887b4c3b42d.tar.gz 35875 BLAKE2B 67c321f1515a891e131876e189fa54199222b1f6eaafaf68b2b4901eee85b5efaa3c459208bc6cc93b1ec8b8bc650ae8257720e84c1a986a0060f40a6a8f2729 SHA512 4330f869d325117f59b11300c50cbf69af31173ffe9c909cb7fb8bc752c23a5a49cb402fd95097540ec091f68382c1d34aa406c3a231774d348cb339a1dc1939
27 DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
28
29 diff --git a/media-video/qliveplayer/qliveplayer-3.22.4.ebuild b/media-video/qliveplayer/qliveplayer-3.22.4.ebuild
30 deleted file mode 100644
31 index ecc8b1752..000000000
32 --- a/media-video/qliveplayer/qliveplayer-3.22.4.ebuild
33 +++ /dev/null
34 @@ -1,71 +0,0 @@
35 -# Copyright 2020-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python3_{8..9} )
41 -
42 -inherit cmake optfeature python-single-r1 readme.gentoo-r1 xdg
43 -
44 -MY_P="QLivePlayer-${PV}"
45 -
46 -DESCRIPTION="A player and recorder for live streams and videos with danmaku support"
47 -HOMEPAGE="https://github.com/IsoaSFlus/QLivePlayer"
48 -SRC_URI="https://github.com/IsoaSFlus/QLivePlayer/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
49 -S="${WORKDIR}/${MY_P}"
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
54 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 -
56 -COMMON_DEPEND="
57 - ${PYTHON_DEPS}
58 - >=dev-qt/qtcore-5.15:5
59 - >=dev-qt/qtdeclarative-5.15:5
60 - >=dev-qt/qtgui-5.15:5
61 - >=dev-qt/qtnetwork-5.15:5
62 - >=dev-qt/qtwidgets-5.15:5
63 -"
64 -RDEPEND="
65 - ${COMMON_DEPEND}
66 - $(python_gen_cond_dep '
67 - dev-python/aiohttp[${PYTHON_USEDEP}]
68 - ')
69 - media-video/ffmpeg
70 - media-video/mpv
71 - net-misc/curl
72 - >=dev-qt/qtquickcontrols-5.15:5
73 - >=dev-qt/qtquickcontrols2-5.15:5
74 - >=dev-qt/qtsvg-5.15:5
75 -"
76 -DEPEND="
77 - ${COMMON_DEPEND}
78 - kde-frameworks/extra-cmake-modules:5
79 -"
80 -
81 -src_prepare() {
82 - xdg_environment_reset
83 - cmake_src_prepare
84 - # respect PYTHON_SINGLE_TARGET
85 - grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null || die
86 - sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
87 - grep 'dmcPyProcess->start("python3", dmcPy);' \
88 - src/qlphelper/danmakulauncher.cpp >/dev/null || die
89 - sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
90 - grep 'proc->start("python3", args);' \
91 - src/qlphelper/streamfinder.cpp >/dev/null || die
92 - sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
93 -}
94 -
95 -src_install() {
96 - cmake_src_install
97 - readme.gentoo_create_doc
98 -}
99 -
100 -pkg_postinst() {
101 - xdg_pkg_postinst
102 - readme.gentoo_print_elog
103 - optfeature "twitch support" "net-misc/streamlink"
104 - optfeature "youtube support" "dev-python/protobuf-python net-misc/streamlink"
105 -}
106
107 diff --git a/media-video/qliveplayer/qliveplayer-4.0.1-r1.ebuild b/media-video/qliveplayer/qliveplayer-4.0.1-r2.ebuild
108 similarity index 96%
109 rename from media-video/qliveplayer/qliveplayer-4.0.1-r1.ebuild
110 rename to media-video/qliveplayer/qliveplayer-4.0.1-r2.ebuild
111 index a133c15ce..1a56a6749 100644
112 --- a/media-video/qliveplayer/qliveplayer-4.0.1-r1.ebuild
113 +++ b/media-video/qliveplayer/qliveplayer-4.0.1-r2.ebuild
114 @@ -173,10 +173,10 @@ LIB_P="QLivePlayer-Lib-${LIB_COMMIT}"
115 MY_P="QLivePlayer-${PV}"
116
117 DESCRIPTION="A player and recorder for live streams and videos with danmaku support"
118 -HOMEPAGE="https://github.com/IsoaSFlus/QLivePlayer"
119 +HOMEPAGE="https://github.com/THMonster/QLivePlayer"
120 SRC_URI="
121 - https://github.com/IsoaSFlus/QLivePlayer/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.tar.gz
122 - https://github.com/IsoaSFlus/QLivePlayer-Lib/archive/${LIB_COMMIT}.tar.gz -> ${LIB_P}.tar.gz
123 + https://github.com/THMonster/QLivePlayer/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.tar.gz
124 + https://github.com/THMonster/QLivePlayer-Lib/archive/${LIB_COMMIT}.tar.gz -> ${LIB_P}.tar.gz
125 $(cargo_crate_uris ${CRATES})
126 "
127 PATCHES=(