public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jian Lin" <jlin.gentoo@outlook.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/qliveplayer/
Date: Sat, 26 Jun 2021 11:02:20 +0000 (UTC)	[thread overview]
Message-ID: <1624705305.d29844f811976a909a229d2229b9dcebd29aa19f.jian@gentoo> (raw)
Message-ID: <20210626110220.PNWsMxkjTASA35nLDvCh0u7c7cLHX7-JS6b0J4un8Fs@z> (raw)

commit:     d29844f811976a909a229d2229b9dcebd29aa19f
Author:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
AuthorDate: Sat Jun 26 11:00:17 2021 +0000
Commit:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
CommitDate: Sat Jun 26 11:01:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d29844f8

media-video/qliveplayer: bump to 3.22.3

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Jian Lin <jlin.gentoo <AT> outlook.com>

 media-video/qliveplayer/Manifest                  |  1 +
 media-video/qliveplayer/qliveplayer-3.22.3.ebuild | 71 +++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest
index b812b3ce3..0028ee7bb 100644
--- a/media-video/qliveplayer/Manifest
+++ b/media-video/qliveplayer/Manifest
@@ -1,2 +1,3 @@
 DIST QLivePlayer-3.22.0.tar.gz 640034 BLAKE2B 2038a1b003140525dd03ec14fb357b36826c28d3744133781622b89aee1c973db94ba823c2c64697eb1a3bc77a633f37e6deec14b2678c632f34f853c4881104 SHA512 cd8f7255c101565dd1b90d9e9a7faedfff7b423d5a8d5f7cd0d35d0e991ce28f06b2631a90e9c4d8f787daa0ceb921004a206eaa1a25332a8c592f57c282ab11
 DIST QLivePlayer-3.22.1.tar.gz 640838 BLAKE2B 8552eefa4b8510b602e65fa553ba257467aaf5bd73710e90f690bcb19ceabc25dd4ae4f00143233df624f166f8170bf083aafbbec2d42e7988bd705037a9308e SHA512 45ec1f3d4d698a52107d07a7a55d457215d634b8106ac4facb9250960974f1ea683c338cedeb6f66fef428e88e05ef4286b3e95e22d23ed576c4bc69c5c7c50a
+DIST QLivePlayer-3.22.3.tar.gz 640956 BLAKE2B ed752d7321f90f70f68ab4366217116711b1f656eefc2f40b92572427dc11d168d2e9f88e6b0ba6c9e3024ede32922e06e04a208833858432e7ed923793b708d SHA512 c3ed5c8ffb4fa639132fdb0f42c20120a8e49c3e9135fe1234ec5eb6012e89a2e620ae4a3b669ecf995935c70f03fc154ca15833ff09ef6f83bba885e19e91a9

diff --git a/media-video/qliveplayer/qliveplayer-3.22.3.ebuild b/media-video/qliveplayer/qliveplayer-3.22.3.ebuild
new file mode 100644
index 000000000..ecc8b1752
--- /dev/null
+++ b/media-video/qliveplayer/qliveplayer-3.22.3.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"
+}


             reply	other threads:[~2021-06-26 11:02 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26 11:05 Jian Lin [this message]
2021-06-26 11:02 ` [gentoo-commits] repo/proj/guru:dev commit in: media-video/qliveplayer/ Jian Lin
  -- strict thread matches above, loose matches on Subject: below --
2021-10-13 22:12 [gentoo-commits] repo/proj/guru:master " Haelwenn Monnier
2021-10-13 22:12 Haelwenn Monnier
2021-09-10 16:40 Jian Lin
2021-09-10 16:25 [gentoo-commits] repo/proj/guru:dev " Jian Lin
2021-09-10 16:40 ` [gentoo-commits] repo/proj/guru:master " Jian Lin
2021-08-16 19:04 Jian Lin
2021-07-09  2:13 [gentoo-commits] repo/proj/guru:dev " Jian Lin
2021-07-09  2:20 ` [gentoo-commits] repo/proj/guru:master " Jian Lin
2021-07-09  2:13 [gentoo-commits] repo/proj/guru:dev " Jian Lin
2021-07-09  2:20 ` [gentoo-commits] repo/proj/guru:master " Jian Lin
2021-06-26 11:05 Jian Lin
2021-05-25 23:07 Haelwenn Monnier
2021-05-25 23:07 Haelwenn Monnier
2021-03-02  9:02 Theo Anderson
2021-03-02  9:02 Theo Anderson
2021-03-02  9:02 Theo Anderson
2021-02-16 21:10 Theo Anderson
2021-02-16 21:10 Theo Anderson
2021-02-16 21:10 Theo Anderson
2021-02-15  7:11 Andrew Ammerlaan
2021-02-15  7:11 Andrew Ammerlaan
2021-02-15  7:11 Andrew Ammerlaan
2021-02-15  7:11 Andrew Ammerlaan
2021-02-02  6:41 Andrew Ammerlaan
2021-02-02  6:41 Andrew Ammerlaan
2021-02-02  6:41 Andrew Ammerlaan
2021-02-02  6:41 Andrew Ammerlaan
2021-01-03 12:09 Michał Górny
2021-01-03 12:09 Michał Górny
2021-01-02 12:13 Andrew Ammerlaan
2021-01-02 12:13 Andrew Ammerlaan
2020-12-27 12:48 Andrew Ammerlaan
2020-12-27 12:48 Andrew Ammerlaan
2020-12-06 18:44 Andrew Ammerlaan
2020-12-03 11:36 Andrew Ammerlaan
2020-11-29 10:34 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1624705305.d29844f811976a909a229d2229b9dcebd29aa19f.jian@gentoo \
    --to=jlin.gentoo@outlook.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox