From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2718B13933E for ; Fri, 9 Jul 2021 02:14:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76459E0AF6; Fri, 9 Jul 2021 02:14:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A3E8E0AF6 for ; Fri, 9 Jul 2021 02:14:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC115340924 for ; Fri, 9 Jul 2021 02:13:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B6677CA for ; Fri, 9 Jul 2021 02:13:58 +0000 (UTC) From: "Jian Lin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jian Lin" Message-ID: <1625796785.1c43f37800eaeb70ac747532c2f2d7ddca02dee3.jian@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/qliveplayer/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/qliveplayer/Manifest media-video/qliveplayer/qliveplayer-3.22.4.ebuild X-VCS-Directories: media-video/qliveplayer/ X-VCS-Committer: jian X-VCS-Committer-Name: Jian Lin X-VCS-Revision: 1c43f37800eaeb70ac747532c2f2d7ddca02dee3 X-VCS-Branch: dev Date: Fri, 9 Jul 2021 02:13:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d8a3190-6525-4a49-a046-0383b8875448 X-Archives-Hash: a65c95e92fe89424462eb8919e345679 commit: 1c43f37800eaeb70ac747532c2f2d7ddca02dee3 Author: Jian Lin outlook com> AuthorDate: Fri Jul 9 02:13:05 2021 +0000 Commit: Jian Lin outlook com> CommitDate: Fri Jul 9 02:13:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c43f378 media-video/qliveplayer: bump to 3.22.4 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Jian Lin outlook.com> media-video/qliveplayer/Manifest | 1 + media-video/qliveplayer/qliveplayer-3.22.4.ebuild | 71 +++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest index 8119f4ddb..2a4e376bf 100644 --- a/media-video/qliveplayer/Manifest +++ b/media-video/qliveplayer/Manifest @@ -1,2 +1,3 @@ DIST QLivePlayer-3.22.1.tar.gz 640838 BLAKE2B 8552eefa4b8510b602e65fa553ba257467aaf5bd73710e90f690bcb19ceabc25dd4ae4f00143233df624f166f8170bf083aafbbec2d42e7988bd705037a9308e SHA512 45ec1f3d4d698a52107d07a7a55d457215d634b8106ac4facb9250960974f1ea683c338cedeb6f66fef428e88e05ef4286b3e95e22d23ed576c4bc69c5c7c50a DIST QLivePlayer-3.22.3.tar.gz 640956 BLAKE2B ed752d7321f90f70f68ab4366217116711b1f656eefc2f40b92572427dc11d168d2e9f88e6b0ba6c9e3024ede32922e06e04a208833858432e7ed923793b708d SHA512 c3ed5c8ffb4fa639132fdb0f42c20120a8e49c3e9135fe1234ec5eb6012e89a2e620ae4a3b669ecf995935c70f03fc154ca15833ff09ef6f83bba885e19e91a9 +DIST QLivePlayer-3.22.4.tar.gz 640975 BLAKE2B 313d6a68d9ab2914680e3c8f3478659fc8cae4e060f2006c0dba4441796c7880611ad1ca9d2d754bacd5cc542774eefcb0e46807b6dacc20a04c1538bda0394f SHA512 08fc3abb7b923baba09c60c86185431fe3754a1e06978247247e1482100e3b41c2a5185bc5fea1270fd2e7e9d90509880ea4ba4e8bb133cc4745f229c93744d3 diff --git a/media-video/qliveplayer/qliveplayer-3.22.4.ebuild b/media-video/qliveplayer/qliveplayer-3.22.4.ebuild new file mode 100644 index 000000000..ecc8b1752 --- /dev/null +++ b/media-video/qliveplayer/qliveplayer-3.22.4.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_{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" +} From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E19EE13933E for ; Fri, 9 Jul 2021 02:20:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 930A6E0B0A; Fri, 9 Jul 2021 02:20:30 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68D5CE0B0A for ; Fri, 9 Jul 2021 02:20:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB3E6342AFA for ; Fri, 9 Jul 2021 02:20:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 679BA7CE for ; Fri, 9 Jul 2021 02:20:27 +0000 (UTC) From: "Jian Lin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jian Lin" Message-ID: <1625796785.1c43f37800eaeb70ac747532c2f2d7ddca02dee3.jian@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/qliveplayer/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/qliveplayer/Manifest media-video/qliveplayer/qliveplayer-3.22.4.ebuild X-VCS-Directories: media-video/qliveplayer/ X-VCS-Committer: jian X-VCS-Committer-Name: Jian Lin X-VCS-Revision: 1c43f37800eaeb70ac747532c2f2d7ddca02dee3 X-VCS-Branch: master Date: Fri, 9 Jul 2021 02:20:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bb1a4483-ccea-407d-9c45-e66ae768e156 X-Archives-Hash: c8e320f69322f59553eae5535883a6e6 Message-ID: <20210709022027.323GrrnXQMrhs5pxBssK-jj94Sa30iwyzuUuQgaztcE@z> commit: 1c43f37800eaeb70ac747532c2f2d7ddca02dee3 Author: Jian Lin outlook com> AuthorDate: Fri Jul 9 02:13:05 2021 +0000 Commit: Jian Lin outlook com> CommitDate: Fri Jul 9 02:13:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c43f378 media-video/qliveplayer: bump to 3.22.4 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Jian Lin outlook.com> media-video/qliveplayer/Manifest | 1 + media-video/qliveplayer/qliveplayer-3.22.4.ebuild | 71 +++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest index 8119f4ddb..2a4e376bf 100644 --- a/media-video/qliveplayer/Manifest +++ b/media-video/qliveplayer/Manifest @@ -1,2 +1,3 @@ DIST QLivePlayer-3.22.1.tar.gz 640838 BLAKE2B 8552eefa4b8510b602e65fa553ba257467aaf5bd73710e90f690bcb19ceabc25dd4ae4f00143233df624f166f8170bf083aafbbec2d42e7988bd705037a9308e SHA512 45ec1f3d4d698a52107d07a7a55d457215d634b8106ac4facb9250960974f1ea683c338cedeb6f66fef428e88e05ef4286b3e95e22d23ed576c4bc69c5c7c50a DIST QLivePlayer-3.22.3.tar.gz 640956 BLAKE2B ed752d7321f90f70f68ab4366217116711b1f656eefc2f40b92572427dc11d168d2e9f88e6b0ba6c9e3024ede32922e06e04a208833858432e7ed923793b708d SHA512 c3ed5c8ffb4fa639132fdb0f42c20120a8e49c3e9135fe1234ec5eb6012e89a2e620ae4a3b669ecf995935c70f03fc154ca15833ff09ef6f83bba885e19e91a9 +DIST QLivePlayer-3.22.4.tar.gz 640975 BLAKE2B 313d6a68d9ab2914680e3c8f3478659fc8cae4e060f2006c0dba4441796c7880611ad1ca9d2d754bacd5cc542774eefcb0e46807b6dacc20a04c1538bda0394f SHA512 08fc3abb7b923baba09c60c86185431fe3754a1e06978247247e1482100e3b41c2a5185bc5fea1270fd2e7e9d90509880ea4ba4e8bb133cc4745f229c93744d3 diff --git a/media-video/qliveplayer/qliveplayer-3.22.4.ebuild b/media-video/qliveplayer/qliveplayer-3.22.4.ebuild new file mode 100644 index 000000000..ecc8b1752 --- /dev/null +++ b/media-video/qliveplayer/qliveplayer-3.22.4.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_{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" +}