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/kde-misc/kshutdown/kshutdown-5.2.ebuild

56 lines
1.1 KiB

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Shutdown manager for desktop environments like KDE Plasma"
HOMEPAGE="https://kshutdown.sourceforge.io"
SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.zip"
LICENSE="GPL-2+"
SLOT="5"
KEYWORDS="amd64 ~arm64 x86"
IUSE="+kde"
DEPEND="
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/kcrash: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
)
"
RDEPEND="${DEPEND}
|| (
kde-frameworks/breeze-icons:*
kde-frameworks/oxygen-icons:*
)
"
BDEPEND="
app-arch/unzip
sys-devel/gettext
kde? ( kde-frameworks/extra-cmake-modules:5 )
"
src_configure() {
local mycmakeargs=(
-DKS_PURE_QT=$(usex !kde)
)
cmake_src_configure
}