summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-leechcraft/lc-lmp/lc-lmp-9999.ebuild')
-rw-r--r--app-leechcraft/lc-lmp/lc-lmp-9999.ebuild45
1 files changed, 25 insertions, 20 deletions
diff --git a/app-leechcraft/lc-lmp/lc-lmp-9999.ebuild b/app-leechcraft/lc-lmp/lc-lmp-9999.ebuild
index c2891fa8e25..84ec922b1f6 100644
--- a/app-leechcraft/lc-lmp/lc-lmp-9999.ebuild
+++ b/app-leechcraft/lc-lmp/lc-lmp-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI=6
inherit leechcraft
@@ -14,27 +14,32 @@ IUSE="debug +fradj +graffiti +guess +mpris +mtp +mp3tunes potorchu"
# depend on gstreamer:0.10 to match current Qt deps
DEPEND="~app-leechcraft/lc-core-${PV}
- graffiti? ( media-libs/flac )
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtdeclarative:5[widgets]
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtconcurrent:5
+ dev-qt/qtxml:5
+ media-libs/gstreamer:1.0
+
+ mpris? ( dev-qt/qtdbus:5 )
guess? ( app-i18n/libguess )
- media-libs/gstreamer:0.10
media-libs/taglib
- mpris? ( dev-qt/qtdbus:4 )
- mtp? (
- ~app-leechcraft/lc-devmon-${PV}
- media-libs/libmtp
- )
- potorchu? ( media-libs/libprojectm )
- dev-qt/qtdeclarative:4"
-RDEPEND="${DEPEND}"
+ mtp? ( media-libs/libmtp )
+ potorchu? ( media-libs/libprojectm )"
+RDEPEND="${DEPEND}
+ mtp? ( ~app-leechcraft/lc-devmon-${PV} )
+ graffiti? ( media-libs/flac )"
src_configure() {
- local mycmakeargs="
- $(cmake-utils_use_enable fradj LMP_FRADJ)
- $(cmake-utils_use_enable graffiti LMP_GRAFFITI)
- $(cmake-utils_use_enable guess LMP_LIBGUESS)
- $(cmake-utils_use_enable mpris LMP_MPRIS)
- $(cmake-utils_use_enable mtp LMP_MTPSYNC)
- $(cmake-utils_use_enable mp3tunes LMP_MP3TUNES)
- $(cmake-utils_use_enable potorchu LMP_POTORCHU)"
+ local mycmakeargs=(
+ -DENABLE_LMP_FRADJ=$(usex fradj)
+ -DENABLE_LMP_GRAFFITI=$(usex graffiti)
+ -DENABLE_LMP_LIBGUESS=$(usex guess)
+ -DENABLE_LMP_MPRIS=$(usex mpris)
+ -DENABLE_LMP_MTPSYNC=$(usex mtp)
+ -DENABLE_LMP_MP3TUNES=$(usex mp3tunes)
+ -DENABLE_LMP_POTORCHU=$(usex potorchu)
+ )
cmake-utils_src_configure
}