You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/plasma-mediacenter/plasma-mediacenter-1.3.0.eb...

54 lines
1.4 KiB

# Copyright 1999-2015 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.4 2015/03/27 16:29:44 ago 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="
$(add_kdebase_dep plasma-workspace)
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
}