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 E0F1113835B for ; Sun, 6 Dec 2020 18:44:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8C32E09BD; Sun, 6 Dec 2020 18:44:18 +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 B8072E09BC for ; Sun, 6 Dec 2020 18:44:18 +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 299B6340DA0 for ; Sun, 6 Dec 2020 18:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3C46468 for ; Sun, 6 Dec 2020 18:44:15 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1607263359.e935dc6d3a82d358c53409cc849aaa91342c9ee1.andrewammerlaan@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.20.2.ebuild X-VCS-Directories: media-video/qliveplayer/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: e935dc6d3a82d358c53409cc849aaa91342c9ee1 X-VCS-Branch: master Date: Sun, 6 Dec 2020 18:44:15 +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: 7eab28d1-229e-4197-b5a1-83e271c9e12d X-Archives-Hash: dd3770ab7ef346dc91c03a0feab86871 commit: e935dc6d3a82d358c53409cc849aaa91342c9ee1 Author: Jian Lin outlook com> AuthorDate: Sun Dec 6 14:02:39 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Dec 6 14:02:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e935dc6d media-video/qliveplayer: bump to 3.20.2 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Jian Lin outlook.com> media-video/qliveplayer/Manifest | 1 + media-video/qliveplayer/qliveplayer-3.20.2.ebuild | 60 +++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/media-video/qliveplayer/Manifest b/media-video/qliveplayer/Manifest index 5300d98c..9044a522 100644 --- a/media-video/qliveplayer/Manifest +++ b/media-video/qliveplayer/Manifest @@ -1 +1,2 @@ DIST QLivePlayer-3.20.1.tar.gz 1504693 BLAKE2B 815e85aa0c190b0d44a20bae81b6533befe3a73402e2f31c5d56c330fd9542c6d8bdd9aae81a39bbf42397c614715de55d67b8fa2dfdb08e5fb6c487133b3605 SHA512 896e7313666a94c7aeacf776782acd1514d7d39cbeb45054b61c5391b90418d1b39da9e33b152d906710c7cdd153d14b7a8f0d8e8848ebcae9825a2f55b808b1 +DIST QLivePlayer-3.20.2.tar.gz 638142 BLAKE2B f9b7f6f69a4d751b57441e61b670a909408317801463415c8b0c311766bdbf16913c811e11c7a31096a6609b2e5e6f8ae64688d03d04dd1ebab97ebdf1644e08 SHA512 9ea868c59ff15ee6efa4a9c02578fee628c0f2985203d2696496512f9e1fd05b5d1642d4812711ef3be3843077b6f655288f07d48da7ceb80add20e7442cbf5b diff --git a/media-video/qliveplayer/qliveplayer-3.20.2.ebuild b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild new file mode 100644 index 00000000..45575fd8 --- /dev/null +++ b/media-video/qliveplayer/qliveplayer-3.20.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 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 + +MY_P="QLivePlayer-${PV}" + +DESCRIPTION="A cute and useful Live Stream Player 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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + >=dev-qt/qtcore-5.12 + >=dev-qt/qtgraphicaleffects-5.12 + >=dev-qt/qtquickcontrols-5.12 + >=dev-qt/qtquickcontrols2-5.12 +" +RDEPEND=" + ${COMMON_DEPEND} + $(python_gen_cond_dep ' + dev-python/aiohttp[${PYTHON_USEDEP}] + ') + media-video/mpv + media-video/ffmpeg + net-misc/curl +" +DEPEND=" + ${COMMON_DEPEND} + kde-frameworks/extra-cmake-modules +" + +src_prepare() +{ + cmake_src_prepare + # fix python version + sed -i "s/python3/${EPYTHON}/" src/qlphelper/bilivideo.cpp \ + || die "Sed failed to set python version!" + sed -i "s/python3/${EPYTHON}/" src/qlphelper/danmakulauncher.cpp \ + || die "Sed failed to set python version!" + sed -i "s/python3/${EPYTHON}/" src/qlphelper/streamfinder.cpp \ + || die "Sed failed to set python version!" +} + +pkg_postinst() +{ + xdg_pkg_postinst + optfeature "twitch support" "net-misc/streamlink" + optfeature "youtube support" "net-misc/streamlink dev-python/protobuf-python" +}