diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-11-11 16:07:16 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-11-11 16:07:46 +0100 |
commit | 61c433dc07b3fa6b1921dcb41b927dbee0d9bc7b (patch) | |
tree | 2f4d9b6810f4cce1a9cfa8f0a12451f9e7594651 /kde-frameworks/kidletime | |
parent | dev-python/pypy3: Inline deps and include dev-python/pycparser dep (diff) | |
download | gentoo-61c433dc07b3fa6b1921dcb41b927dbee0d9bc7b.tar.gz gentoo-61c433dc07b3fa6b1921dcb41b927dbee0d9bc7b.tar.bz2 gentoo-61c433dc07b3fa6b1921dcb41b927dbee0d9bc7b.zip |
kde-frameworks: Add KDE Frameworks 5.40.0
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r-- | kde-frameworks/kidletime/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kidletime/kidletime-5.40.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 82048a748643..bc33e12530b4 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.37.0.tar.xz 26608 SHA256 3a472778722f38e5175ac55ff71a5e464ec98ecfd2ec759b7003612fe8c0a406 SHA512 444cfc25d162c4390ec0aa49b035bda1e5628972a634eb08c0cc9c48d513676669729470fc91cdf25ed98b9b6dd76b71159659bfecb4cbd61e029ad42398be27 WHIRLPOOL 20062019e3f8e3ade9d4c9e342508231c3741cf835f2db6a034d7fc09d452b7475e51998e05c978acb45da84e7e3cff8942943a23f70952e06e77fe3a1d315d7 DIST kidletime-5.39.0.tar.xz 26616 SHA256 a8ada849a4c740a4346bc3c073e38761b8cfe38be6eb0ffc9221d85932bb0506 SHA512 f9eb585b9677f1dd5f9a0cb71fae5fb8faf9319256a7bca79528354244a9275feb061914cf5306f4dc3caa2ce914e23c378140cf3ee190dd5dc5ebdf9b20cef6 WHIRLPOOL 2f3d0c6d2f2aab658e7cf7e2b06adb6d565cf179982aa0a18d5c45ba6ee7230e40d4e561284adbc08a7d83688b1608c12b6ee0e111e266a86c04e5b6c008e01f +DIST kidletime-5.40.0.tar.xz 26616 SHA256 29e5a50cd961a1080c45334484abef1622dac50c20afa263ffdb6975f738da60 SHA512 b8c8c1de1c2261ad52ba80a11388a90ffa18c80153b58b0063184e14fe1c744465c150ef4e9be6692ca81330c52230029b406e8ae240e6738300f8977411a6ba WHIRLPOOL 0b4856c547eae7a119564a8faaff0fffdc8b60185929b7c9b961382d500fbe86058649254a6e0ca8d7abe025c167f422140dd9237e08a344d374d3aaa87dc785 diff --git a/kde-frameworks/kidletime/kidletime-5.40.0.ebuild b/kde-frameworks/kidletime/kidletime-5.40.0.ebuild new file mode 100644 index 000000000000..f9b3ebb4a974 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.40.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 +} |