mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
media-video/qliveplayer: drop 3.22.3
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Jian Lin <jlin.gentoo@outlook.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST QLivePlayer-3.22.3.tar.gz 640956 BLAKE2B ed752d7321f90f70f68ab4366217116711b1f656eefc2f40b92572427dc11d168d2e9f88e6b0ba6c9e3024ede32922e06e04a208833858432e7ed923793b708d SHA512 c3ed5c8ffb4fa639132fdb0f42c20120a8e49c3e9135fe1234ec5eb6012e89a2e620ae4a3b669ecf995935c70f03fc154ca15833ff09ef6f83bba885e19e91a9
|
||||
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 adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user