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 285CA1382C5 for ; Mon, 7 Dec 2020 01:01:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 345D0E0E72; Mon, 7 Dec 2020 01:01:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 115CDE0E72 for ; Mon, 7 Dec 2020 01:01:41 +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 5F54C341065 for ; Mon, 7 Dec 2020 01:01:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D353647E for ; Mon, 7 Dec 2020 01:01:37 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1607249349.7a85459610d705a86f83b9e55a12a34bbf02d9a9.asturm@gentoo> Subject: [gentoo-commits] proj/kde-sunset:master commit in: media-libs/phonon-gstreamer/, media-libs/phonon-gstreamer/files/ X-VCS-Repository: proj/kde-sunset X-VCS-Files: media-libs/phonon-gstreamer/files/phonon-gstreamer-4.9.0-no-paused-on-zero-vol.patch media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild X-VCS-Directories: media-libs/phonon-gstreamer/files/ media-libs/phonon-gstreamer/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7a85459610d705a86f83b9e55a12a34bbf02d9a9 X-VCS-Branch: master Date: Mon, 7 Dec 2020 01:01:37 +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: 38dfdc25-499d-4c30-b1c0-320560613bcb X-Archives-Hash: a30dcff83dd9d886aec9acc03b23cef7 commit: 7a85459610d705a86f83b9e55a12a34bbf02d9a9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 6 01:51:47 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 6 10:09:09 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=7a854596 media-libs/phonon-gstreamer: Import 4.9.0-r3 (SLOT="0-qt4") from before last-rites Add IUSE=minimal for compatibility w/ SLOT=5 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> ...non-gstreamer-4.9.0-no-paused-on-zero-vol.patch | 30 ++++++++++++ .../phonon-gstreamer-4.9.0-r3.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/media-libs/phonon-gstreamer/files/phonon-gstreamer-4.9.0-no-paused-on-zero-vol.patch b/media-libs/phonon-gstreamer/files/phonon-gstreamer-4.9.0-no-paused-on-zero-vol.patch new file mode 100644 index 00000000..51887e99 --- /dev/null +++ b/media-libs/phonon-gstreamer/files/phonon-gstreamer-4.9.0-no-paused-on-zero-vol.patch @@ -0,0 +1,30 @@ +From fca0714fd37b2276eb663f649b6b9871a3973fa4 Mon Sep 17 00:00:00 2001 +From: Anthony Fieroni +Date: Mon, 10 Dec 2018 16:19:51 +0200 +Subject: Do not trigger paused state on 0 percentage + +Differential Revision: https://phabricator.kde.org/D14241 + +Signed-off-by: Anthony Fieroni +--- + gstreamer/pipeline.cpp | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/gstreamer/pipeline.cpp b/gstreamer/pipeline.cpp +index 7025418..0d0b253 100644 +--- a/gstreamer/pipeline.cpp ++++ b/gstreamer/pipeline.cpp +@@ -325,6 +325,11 @@ gboolean Pipeline::cb_buffering(GstBus *bus, GstMessage *gstMessage, gpointer da + gint percent = 0; + gst_message_parse_buffering(gstMessage, &percent); + ++ // we should not trigger paused state or gstreamer will starts buffering again ++ if (percent == 0) { ++ return true; ++ } ++ + debug() << Q_FUNC_INFO << "Buffering :" << percent; + + // Instead of playing when the pipeline is still streaming, we pause +-- +cgit v1.1 diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild b/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild new file mode 100644 index 00000000..ee6b966a --- /dev/null +++ b/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="phonon-backend-gstreamer" +MY_P=${MY_PN}-${PV} +inherit cmake xdg-utils + +DESCRIPTION="Phonon GStreamer backend" +HOMEPAGE="https://community.kde.org/Phonon" +SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_P}.tar.xz" + +LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )" +SLOT="0-qt4" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" +IUSE="alsa debug minimal +network" + +DEPEND=" + dev-libs/glib:2 + dev-libs/libxml2:2 + >=dev-qt/qtcore-4.8.7-r2:4[glib] + >=dev-qt/qtgui-4.8.7:4[glib] + >=dev-qt/qtopengl-4.8.7:4 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/phonon:0-qt4 + media-plugins/gst-plugins-meta:1.0[alsa?,ogg,vorbis] + virtual/opengl + network? ( media-plugins/gst-plugins-soup:1.0 ) +" +RDEPEND="${DEPEND} + !