summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/kshutdown')
-rw-r--r--kde-misc/kshutdown/Manifest1
-rw-r--r--kde-misc/kshutdown/kshutdown-5.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/kde-misc/kshutdown/Manifest b/kde-misc/kshutdown/Manifest
index 730ca60ec309..106d40bed408 100644
--- a/kde-misc/kshutdown/Manifest
+++ b/kde-misc/kshutdown/Manifest
@@ -1,2 +1,3 @@
DIST kshutdown-source-4.2.zip 463140 BLAKE2B b398a004e91ebfa7651eed7bfffeccfc1cb332868ff3bbcea50ccd40088084ff1079d73ee2c922c8e882c0d39e1c6bc2741d0b416b5a2742eb5c6686b03f29a5 SHA512 00d4a5c1c8efdac0d86009bc0218a673435ca315f3b4fa949af414bf525ff65088f26edb0ed0d9fd2209ea81d58619efcffa5091d49bd2b841ddd4749b05a21f
DIST kshutdown-source-4.99-beta.zip 455309 BLAKE2B 90a1eed9a8435c695f04bdf00facf48be63dc60e2f80169e91076fe6fac1c8d58502778fc7af7228786d594da1d9e00832251c80f6517abd6c0efc80383be9ba SHA512 4314fd91a262096a740d094244bee173777b87e05b10a14a2b0c54839bfb346fb1b585217c86bce851442dfcbc1557451540d3821a80b2fa89742b4713282793
+DIST kshutdown-source-5.0.zip 454848 BLAKE2B 481cafbf5bd3831088ec9168b6eb82e342106b9b570279b6b8ca1db1f2df8c5640b3942f76032559396b504903b18fe106eb940e81822472a63f235e1a004644 SHA512 7a3920315db142f150227e624fa4a765966ec8367a08686214cb072d94a62d24f3a22fbef8fc84411d385be935102cf85df1b001b2922399455cc320c1e0f0db
diff --git a/kde-misc/kshutdown/kshutdown-5.0.ebuild b/kde-misc/kshutdown/kshutdown-5.0.ebuild
new file mode 100644
index 000000000000..252085d32a67
--- /dev/null
+++ b/kde-misc/kshutdown/kshutdown-5.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_TEST="false"
+KDE_AUTODEPS="false"
+inherit kde5
+
+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+"
+KEYWORDS="~amd64 ~x86"
+IUSE="+kde"
+
+BDEPEND="
+ app-arch/unzip
+ sys-devel/gettext
+ kde? ( kde-frameworks/extra-cmake-modules:5 )
+"
+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}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DKS_PURE_QT=$(usex !kde)
+ )
+
+ kde5_src_configure
+}