mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
media-video/qliveplayer: drop old 3.21.1-r1
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Jian Lin <jlin.gentoo@outlook.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user