summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-13 21:28:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-13 22:24:16 +0100
commit86e18be7c16192ab14ee4518ec8f6a5b4dbc79ae (patch)
treebe4b6800f4855941e24c4dd13c5f988f83f16d20
parentdev-libs/appstream: Drop 0.12.8 (diff)
downloadgentoo-86e18be7c16192ab14ee4518ec8f6a5b4dbc79ae.tar.gz
gentoo-86e18be7c16192ab14ee4518ec8f6a5b4dbc79ae.tar.bz2
gentoo-86e18be7c16192ab14ee4518ec8f6a5b4dbc79ae.zip
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 <asturm@gentoo.org>
-rw-r--r--media-libs/phonon/phonon-4.11.1.ebuild9
1 files 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