summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-08 23:45:45 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-08 23:49:53 +0200
commit6452ebd475ab521f6005cad9ea40f13e8a9ce2d7 (patch)
tree4bf81f0cda76f142f33d9e7ac2e4d8670e41e7ee /media-libs/phonon-vlc
parentmedia-libs/phonon: Switch to kde5.eclass, add USE=gui (diff)
downloadgentoo-6452ebd475ab521f6005cad9ea40f13e8a9ce2d7.tar.gz
gentoo-6452ebd475ab521f6005cad9ea40f13e8a9ce2d7.tar.bz2
gentoo-6452ebd475ab521f6005cad9ea40f13e8a9ce2d7.zip
media-libs/phonon-vlc: Switch to kde5.eclass
This is now fully ported to ECM after upstream dropped Qt4 support. Update DESCRIPTION. Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/phonon-vlc')
-rw-r--r--media-libs/phonon-vlc/phonon-vlc-9999.ebuild25
1 files changed, 7 insertions, 18 deletions
diff --git a/media-libs/phonon-vlc/phonon-vlc-9999.ebuild b/media-libs/phonon-vlc/phonon-vlc-9999.ebuild
index e6d157cf774d..890afef5f158 100644
--- a/media-libs/phonon-vlc/phonon-vlc-9999.ebuild
+++ b/media-libs/phonon-vlc/phonon-vlc-9999.ebuild
@@ -3,21 +3,16 @@
EAPI=7
-MY_PN="phonon-backend-vlc"
+inherit kde5
-if [[ ${PV} != *9999* ]]; then
- SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/${MY_PN}-${PV}.tar.xz"
+DESCRIPTION="VLC backend for the Phonon multimedia library"
+HOMEPAGE="https://phonon.kde.org/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/phonon/phonon-backend-vlc/${PV}/phonon-backend-vlc-${PV}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-else
- EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
- inherit git-r3
fi
-inherit cmake-utils
-
-DESCRIPTION="Phonon VLC backend"
-HOMEPAGE="https://phonon.kde.org/"
-
LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )"
SLOT="0"
IUSE="debug"
@@ -26,15 +21,9 @@ BDEPEND="
virtual/pkgconfig
"
DEPEND="
- dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
- >=media-libs/phonon-4.10.0
+ >=media-libs/phonon-4.10.60
media-video/vlc:=[dbus,ogg,vorbis]
"
RDEPEND="${DEPEND}"
-
-src_configure() {
- local mycmakeargs=( -DPHONON_BUILD_PHONON4QT5=ON )
- cmake-utils_src_configure
-}