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: Sat, 26 Jun 2021 11:02:24
Message-Id: 1624705305.79471321abaf7d7790e63a718ec6621ef1a32332.jian@gentoo
1 commit: 79471321abaf7d7790e63a718ec6621ef1a32332
2 Author: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
3 AuthorDate: Sat Jun 26 11:00:40 2021 +0000
4 Commit: Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
5 CommitDate: Sat Jun 26 11:01:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79471321
7
8 media-video/qliveplayer: drop old 3.22.0
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Jian Lin <jlin.gentoo <AT> outlook.com>
12
13 media-video/qliveplayer/Manifest | 1 -
14 media-video/qliveplayer/qliveplayer-3.22.0.ebuild | 70 -----------------------
15 2 files changed, 71 deletions(-)
16
17 diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
18 index 0028ee7bb..8119f4ddb 100644
19 --- a/media-video/qliveplayer/Manifest
20 +++ b/media-video/qliveplayer/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST QLivePlayer-3.22.0.tar.gz 640034 BLAKE2B 2038a1b003140525dd03ec14fb357b36826c28d3744133781622b89aee1c973db94ba823c2c64697eb1a3bc77a633f37e6deec14b2678c632f34f853c4881104 SHA512 cd8f7255c101565dd1b90d9e9a7faedfff7b423d5a8d5f7cd0d35d0e991ce28f06b2631a90e9c4d8f787daa0ceb921004a206eaa1a25332a8c592f57c282ab11
23 DIST QLivePlayer-3.22.1.tar.gz 640838 BLAKE2B 8552eefa4b8510b602e65fa553ba257467aaf5bd73710e90f690bcb19ceabc25dd4ae4f00143233df624f166f8170bf083aafbbec2d42e7988bd705037a9308e SHA512 45ec1f3d4d698a52107d07a7a55d457215d634b8106ac4facb9250960974f1ea683c338cedeb6f66fef428e88e05ef4286b3e95e22d23ed576c4bc69c5c7c50a
24 DIST QLivePlayer-3.22.3.tar.gz 640956 BLAKE2B ed752d7321f90f70f68ab4366217116711b1f656eefc2f40b92572427dc11d168d2e9f88e6b0ba6c9e3024ede32922e06e04a208833858432e7ed923793b708d SHA512 c3ed5c8ffb4fa639132fdb0f42c20120a8e49c3e9135fe1234ec5eb6012e89a2e620ae4a3b669ecf995935c70f03fc154ca15833ff09ef6f83bba885e19e91a9
25
26 diff --git a/media-video/qliveplayer/qliveplayer-3.22.0.ebuild b/media-video/qliveplayer/qliveplayer-3.22.0.ebuild
27 deleted file mode 100644
28 index 784351e8f..000000000
29 --- a/media-video/qliveplayer/qliveplayer-3.22.0.ebuild
30 +++ /dev/null
31 @@ -1,70 +0,0 @@
32 -# Copyright 2020-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -
39 -inherit xdg cmake optfeature python-single-r1 readme.gentoo-r1
40 -
41 -MY_P="QLivePlayer-${PV}"
42 -
43 -DESCRIPTION="A player and recorder for live streams and videos with danmaku support"
44 -HOMEPAGE="https://github.com/IsoaSFlus/QLivePlayer"
45 -SRC_URI="https://github.com/IsoaSFlus/QLivePlayer/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
46 -S="${WORKDIR}/${MY_P}"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
51 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 -
53 -COMMON_DEPEND="
54 - ${PYTHON_DEPS}
55 - >=dev-qt/qtcore-5.15:5
56 - >=dev-qt/qtdeclarative-5.15:5
57 - >=dev-qt/qtgui-5.15:5
58 - >=dev-qt/qtnetwork-5.15:5
59 - >=dev-qt/qtwidgets-5.15:5
60 -"
61 -RDEPEND="
62 - ${COMMON_DEPEND}
63 - $(python_gen_cond_dep '
64 - dev-python/aiohttp[${PYTHON_USEDEP}]
65 - ')
66 - media-video/ffmpeg
67 - media-video/mpv
68 - net-misc/curl
69 - >=dev-qt/qtquickcontrols-5.15:5
70 - >=dev-qt/qtquickcontrols2-5.15:5
71 -"
72 -DEPEND="
73 - ${COMMON_DEPEND}
74 - kde-frameworks/extra-cmake-modules:5
75 -"
76 -
77 -src_prepare() {
78 - xdg_environment_reset
79 - cmake_src_prepare
80 - # respect PYTHON_SINGLE_TARGET
81 - grep 'p.start("python3", args);' src/qlphelper/bilivideo.cpp >/dev/null || die
82 - sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp || die
83 - grep 'dmcPyProcess->start("python3", dmcPy);' \
84 - src/qlphelper/danmakulauncher.cpp >/dev/null || die
85 - sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp || die
86 - grep 'proc->start("python3", args);' \
87 - src/qlphelper/streamfinder.cpp >/dev/null || die
88 - sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp || die
89 -}
90 -
91 -src_install() {
92 - cmake_src_install
93 - readme.gentoo_create_doc
94 -}
95 -
96 -pkg_postinst() {
97 - xdg_pkg_postinst
98 - readme.gentoo_print_elog
99 - optfeature "twitch support" "net-misc/streamlink"
100 - optfeature "youtube support" "dev-python/protobuf-python net-misc/streamlink"
101 -}