Skip to content

Commit

Permalink
media-libs/phonon: Switch to ecm.eclass and kde.org.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Nov 13, 2019
1 parent 072cd89 commit 86e18be
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions media-libs/phonon/phonon-4.11.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit desktop kde5
inherit desktop ecm kde.org

DESCRIPTION="KDE multimedia abstraction library"
HOMEPAGE="https://phonon.kde.org/"
Expand All @@ -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"

Expand All @@ -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 )
Expand All @@ -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
Expand Down

0 comments on commit 86e18be

Please sign in to comment.