# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/plasma-mediacenter/plasma-mediacenter-1.3.0.ebuild,v 1.2 2014/07/17 14:54:40 kensington Exp $ EAPI=5 DECLARATIVE_REQUIRED="always" OPENGL_REQUIRED="always" KDE_LINGUAS="bs ca ca@valencia cs da de el es fi fr gl hu it lv nl pl pt pt_BR sk sl sv tr uk zh_TW" inherit kde4-base DESCRIPTION="Unified media experience for any device capable of running KDE" HOMEPAGE="http://www.kde.org/ http://community.kde.org/Plasma/Plasma_Media_Center" if [[ ${KDE_BUILD_TYPE} != live ]]; then SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2" fi LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64" IUSE="debug nepomuk semantic-desktop" REQUIRED_USE="?? ( nepomuk semantic-desktop )" # bug 516686 RESTRICT="test" RDEPEND=" dev-qt/qt-mobility[multimedia,qml] media-libs/taglib nepomuk? ( $(add_kdebase_dep nepomuk-core) ) semantic-desktop? ( $(add_kdebase_dep baloo) ) " DEPEND="${RDEPEND} sys-devel/gettext " S=${WORKDIR}/${PN} src_configure() { local mycmakeargs=( $(cmake-utils_use_find_package nepomuk NepomukCore) $(cmake-utils_use_find_package semantic-desktop Baloo) ) if ! use nepomuk && ! use semantic-desktop ; then mycmakeargs+=( -DUSE_FILESYSTEM_MEDIA_SOURCE=ON ) fi kde4-base_src_configure }