diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-14 23:32:54 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-15 10:32:38 +0200 |
commit | 8a7b369d7e0dc99db041038c236d463c552c6315 (patch) | |
tree | 20b4631f1efedc6dc72e862a8e49bc3dcf032328 /kde-frameworks/kidletime | |
parent | app-admin/sysstat: Old. (diff) | |
download | gentoo-8a7b369d7e0dc99db041038c236d463c552c6315.tar.gz gentoo-8a7b369d7e0dc99db041038c236d463c552c6315.tar.bz2 gentoo-8a7b369d7e0dc99db041038c236d463c552c6315.zip |
kde-frameworks: Add KDE Frameworks 5.51.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r-- | kde-frameworks/kidletime/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kidletime/kidletime-5.51.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 592e1aa0179f..8069edd0ca82 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1 +1,2 @@ DIST kidletime-5.50.0.tar.xz 26568 BLAKE2B 805b0b5f7879220a98c6e99db4cb290f9b4c6786909235e8f0139cd51e82eb0c7dad931abc170e2bee1e00cb163e171ef8b3451afe6915318f0c0640b0b7a651 SHA512 825d7b509c8bca1042b453d600165574c72d684a07159e9eea436e37c720ff2f40c165075d7c9d076689f1f25c75d5e20779e25a29b069ed25339fd83e9baef8 +DIST kidletime-5.51.0.tar.xz 26584 BLAKE2B 718b537986080b10dbe438d9b47647ecd1f4304e9db6a79ef985705a8177f4c41dfd2f9519b25c182efb5b01f42d7a8c16f2db3b36c1cf2b29dac4a9c58f980f SHA512 5568ca77a774b780aa68ec320ee4d339c5ec4696db8233f5297772259f11967a929028d4a4a0777c68250bdc3c86f31eea627ae56749c9a8201e6dd8cfb0e207 diff --git a/kde-frameworks/kidletime/kidletime-5.51.0.ebuild b/kde-frameworks/kidletime/kidletime-5.51.0.ebuild new file mode 100644 index 000000000000..ebd582058694 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.51.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="false" +inherit kde5 + +DESCRIPTION="Framework for detection and notification of device idle time" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +RDEPEND=" + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + X? ( + $(add_qt_dep qtx11extras) + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + ) + xscreensaver? ( + $(add_qt_dep qtdbus) + x11-libs/libXScrnSaver + ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + kde5_src_prepare + if ! use xscreensaver; then + sed -i -e "s/\${X11_Xscreensaver_FOUND}/0/" CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package X X11) + $(cmake-utils_use_find_package X XCB) + ) + + kde5_src_configure +} |