diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-13 09:52:20 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-13 20:20:01 +0100 |
commit | 77dbbb6430a8e25e041f47cca785cb506e7f4797 (patch) | |
tree | a67dc57a32260195eb27b63879947ac993f723ef /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.92.0 version bump (diff) | |
download | gentoo-77dbbb6430a8e25e041f47cca785cb506e7f4797.tar.gz gentoo-77dbbb6430a8e25e041f47cca785cb506e7f4797.tar.bz2 gentoo-77dbbb6430a8e25e041f47cca785cb506e7f4797.zip |
kde-frameworks/kidletime: 5.92.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r-- | kde-frameworks/kidletime/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kidletime/kidletime-5.92.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 44123db01f98..79835487b296 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.90.0.tar.xz 28888 BLAKE2B e48d99bcd3777352e229cfd62e7127a9bc6a10a5978ed9c5ffdbd866c164876faccb0b0a8a16ccefae9aa52080d21dfbf1c2a0ea7a358c4d8dcde97ff0a14d8c SHA512 ff1aa1d2fe9d7eae4e45b64fec01065da845c78c43136549c9b9b292a89bd05bce91369939886888320ddd6bf3e060b27edf0921ca5e2f3ae7b8f23577d7908a DIST kidletime-5.91.0.tar.xz 28940 BLAKE2B 01877beb2464535fd8ef5d1729e296e2ee75f0f370b1edd6687f26bc65a447db9cfb274d130c46df3cd66777b787f1d254e5605fa726da535f1e5d36e0045c37 SHA512 41040e0a2c4744851e4ce8fbd21a3edd9991201c07875ed4e0b23109a65d6aa107a75590960462d86cd1609df4f2b2a21c4c11ec54b8f3c3b683608321341d44 +DIST kidletime-5.92.0.tar.xz 29072 BLAKE2B 7c1ab01005400b9034693c0099df980b20806a8ee5c225fcd9e3a761ea587cbfa98c52f9efdd5762ba93c9999deb5026ed189c3267369c8a04ec9a36fd20c763 SHA512 58d9c2ef675d0e3092cda43f14ea0cc51105412a0b19828659f0e4eb386870675bf9f8765327777aa7829ae29c878a63cfe7a00954c09315c0d4840eca8313ec diff --git a/kde-frameworks/kidletime/kidletime-5.92.0.ebuild b/kde-frameworks/kidletime/kidletime-5.92.0.ebuild new file mode 100644 index 000000000000..5d38376e94b0 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.92.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="false" +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Framework for detection and notification of device idle time" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + X? ( + >=dev-qt/qtx11extras-${QTMIN}:5 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + ) + xscreensaver? ( + >=dev-qt/qtdbus-${QTMIN}:5 + x11-libs/libXScrnSaver + ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + ecm_src_prepare + if ! use xscreensaver; then + sed -i -e "s/\${X11_Xscreensaver_FOUND}/0/" CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package X X11) + $(cmake_use_find_package X XCB) + ) + + ecm_src_configure +} |