From 86e18be7c16192ab14ee4518ec8f6a5b4dbc79ae Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 13 Nov 2019 21:28:34 +0100 Subject: [PATCH] media-libs/phonon: Switch to ecm.eclass and kde.org.eclass Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner --- media-libs/phonon/phonon-4.11.1.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/media-libs/phonon/phonon-4.11.1.ebuild b/media-libs/phonon/phonon-4.11.1.ebuild index a5cdbac1015f..0ebc2ce06621 100644 --- a/media-libs/phonon/phonon-4.11.1.ebuild +++ b/media-libs/phonon/phonon-4.11.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop kde5 +inherit desktop ecm kde.org DESCRIPTION="KDE multimedia abstraction library" HOMEPAGE="https://phonon.kde.org/" @@ -13,7 +13,7 @@ if [[ ${KDE_BUILD_TYPE} = release ]]; then KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" fi -LICENSE="|| ( LGPL-2.1 LGPL-3 )" +LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )" SLOT="0" IUSE="debug designer gstreamer pulseaudio +vlc" @@ -22,7 +22,6 @@ BDEPEND=" virtual/pkgconfig " DEPEND=" - !!dev-qt/qtphonon:4 dev-qt/qtgui:5 dev-qt/qtwidgets:5 designer? ( dev-qt/designer:5 ) @@ -44,11 +43,11 @@ src_configure() { -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio=$(usex !pulseaudio) -DPHONON_BUILD_SETTINGS=$(usex !pulseaudio) ) - kde5_src_configure + ecm_src_configure } src_install() { - kde5_src_install + ecm_src_install use pulseaudio || \ make_desktop_entry "${PN}settings" \ "Phonon Audio and Video" preferences-desktop-sound -- 2.26.2