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/dev-libs/libqzeitgeist/libqzeitgeist-0.8.0.ebuild

49 lines
965 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
KDE_REQUIRED="never"
inherit python-any-r1 kde4-base
DESCRIPTION="Qt interface to the Zeitgeist event tracking system"
HOMEPAGE="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
if [[ ${PV} != *9999* ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
else
KEYWORDS=""
fi
LICENSE="GPL-2"
SLOT="4"
IUSE="debug"
RDEPEND="
dev-libs/libzeitgeist
dev-qt/qtcore:4
dev-qt/qtdbus:4
dev-qt/qtdeclarative:4
"
DEPEND="${RDEPEND}
$(python_gen_any_dep 'gnome-extra/zeitgeist[${PYTHON_USEDEP}]')
dev-util/automoc
"
python_check_deps() {
has_version "gnome-extra/zeitgeist[${PYTHON_USEDEP}]"
}
pkg_setup() {
python-any-r1_pkg_setup
kde4-base_pkg_setup
}
src_prepare() {
sed -e "/^find_package(Qt4/s/QtTest//" -i CMakeLists.txt || die
kde4-base_src_prepare
}