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 14514138334 for ; Mon, 26 Aug 2019 01:15:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20C29E07D7; Mon, 26 Aug 2019 01:15:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 06BABE07D7 for ; Mon, 26 Aug 2019 01:15:35 +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 5E4E934A294 for ; Mon, 26 Aug 2019 01:15:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F202976B for ; Mon, 26 Aug 2019 01:15:31 +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: <1566782101.960ae9fa16b24891520a73b1a72fa98c23389ded.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: media-libs/phonon/ X-VCS-Repository: proj/kde X-VCS-Files: media-libs/phonon/phonon-9999.ebuild X-VCS-Directories: media-libs/phonon/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 960ae9fa16b24891520a73b1a72fa98c23389ded X-VCS-Branch: master Date: Mon, 26 Aug 2019 01:15:31 +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: 26d731e2-3540-4938-a4bb-1f4c14c5b0f6 X-Archives-Hash: 1700dcd64835be483fbc6cf4aab8cb18 commit: 960ae9fa16b24891520a73b1a72fa98c23389ded Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Aug 26 01:10:48 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Aug 26 01:15:01 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=960ae9fa media-libs/phonon: Install desktop entry if USE !pulseaudio, drop USE gui In Plasma 5.17, the KCM in use up to now is going to be removed. Phonon provides phononsettings as replacement with familiar UI, but regards it as redundant for PA users. Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/phonon/phonon-9999.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/media-libs/phonon/phonon-9999.ebuild b/media-libs/phonon/phonon-9999.ebuild index 9c9a4fc940..6edaf832b5 100644 --- a/media-libs/phonon/phonon-9999.ebuild +++ b/media-libs/phonon/phonon-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit kde5 +inherit desktop kde5 DESCRIPTION="KDE multimedia abstraction library" HOMEPAGE="https://phonon.kde.org/" @@ -15,7 +15,7 @@ fi LICENSE="|| ( LGPL-2.1 LGPL-3 )" SLOT="0" -IUSE="debug designer gstreamer gui pulseaudio +vlc" +IUSE="debug designer gstreamer pulseaudio +vlc" BDEPEND=" dev-qt/linguist-tools:5 @@ -42,7 +42,14 @@ src_configure() { -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer) -DCMAKE_DISABLE_FIND_PACKAGE_GLIB2=$(usex !pulseaudio) -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio=$(usex !pulseaudio) - -DPHONON_BUILD_SETTINGS=$(usex gui) + -DPHONON_BUILD_SETTINGS=$(usex !pulseaudio) ) kde5_src_configure } + +src_install() { + kde5_src_install + use pulseaudio || \ + make_desktop_entry "${PN}settings" \ + "Phonon Audio and Video" preferences-desktop-sound +}