1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- # Copyright 1999-2016 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=6
- KDE_TEST="false"
- KDE_AUTODEPS="false"
- MY_P=${PN}-source-${PV/_}
- inherit kde5
- DESCRIPTION="Shutdown manager for desktop environmenmts like KDE Plasma"
- HOMEPAGE="http://kshutdown.sourceforge.net"
- SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
- LICENSE="GPL-2+"
- KEYWORDS="amd64 x86"
- IUSE="+kde"
- RDEPEND="
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- kde? (
- kde-frameworks/kconfig:5
- kde-frameworks/kconfigwidgets:5
- kde-frameworks/kcoreaddons:5
- kde-frameworks/kdbusaddons:5
- kde-frameworks/kglobalaccel:5
- kde-frameworks/ki18n:5
- kde-frameworks/kidletime:5
- kde-frameworks/knotifications:5
- kde-frameworks/knotifyconfig:5
- kde-frameworks/kwidgetsaddons:5
- kde-frameworks/kxmlgui:5
- )
- !kde-misc/kshutdown:4
- "
- DEPEND="${RDEPEND}
- app-arch/unzip
- kde? ( kde-frameworks/extra-cmake-modules:5 )
- sys-devel/gettext
- "
- src_configure() {
- local mycmakeargs=(
- -DKS_KF5=$(usex kde)
- -DKS_PURE_QT=$(usex !kde)
- )
- kde5_src_configure
- }
|