summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kshutdown/Manifest1
-rw-r--r--kde-misc/kshutdown/kshutdown-5.1_beta.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-misc/kshutdown/Manifest b/kde-misc/kshutdown/Manifest
index 75339049cf9c..aeab321d4459 100644
--- a/kde-misc/kshutdown/Manifest
+++ b/kde-misc/kshutdown/Manifest
@@ -1 +1,2 @@
DIST kshutdown-source-5.0.zip 454848 BLAKE2B 481cafbf5bd3831088ec9168b6eb82e342106b9b570279b6b8ca1db1f2df8c5640b3942f76032559396b504903b18fe106eb940e81822472a63f235e1a004644 SHA512 7a3920315db142f150227e624fa4a765966ec8367a08686214cb072d94a62d24f3a22fbef8fc84411d385be935102cf85df1b001b2922399455cc320c1e0f0db
+DIST kshutdown-source-5.1-beta.zip 458881 BLAKE2B f07b1c3ab4d8c272eb4a9dd5e09d5606c175590791878663c784fdd457afc8850f7ad90b707edb3294e67418e58798731adc1304f9b8cc5f66251dade8e32186 SHA512 6afb050428e34cdfc25c9f899ecc117a7eee91b6f55ba4bb090b6b7825bad4cee113a155d053d2fc554c4d4846576f28e3d5c43b90c855f5f1884c26c04afaad
diff --git a/kde-misc/kshutdown/kshutdown-5.1_beta.ebuild b/kde-misc/kshutdown/kshutdown-5.1_beta.ebuild
new file mode 100644
index 000000000000..d5506fd01fd8
--- /dev/null
+++ b/kde-misc/kshutdown/kshutdown-5.1_beta.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils kde.org 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 ~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}
+ || (
+ kde-frameworks/breeze-icons:*
+ kde-frameworks/oxygen-icons:*
+ )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.0-cmake-3.15.patch" )
+
+S="${WORKDIR}/${P/_/-}"
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKS_PURE_QT=$(usex !kde)
+ )
+
+ cmake-utils_src_configure
+}