diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-09 23:03:44 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-09 23:45:39 +0200 |
commit | 681f52797f6f3dc14f0297e9ffb0110774ae8c3d (patch) | |
tree | ffeab8d41c164f4ca5d08fee0508f080a14b231b /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.93.0 version bump (diff) | |
download | gentoo-681f52797f6f3dc14f0297e9ffb0110774ae8c3d.tar.gz gentoo-681f52797f6f3dc14f0297e9ffb0110774ae8c3d.tar.bz2 gentoo-681f52797f6f3dc14f0297e9ffb0110774ae8c3d.zip |
kde-frameworks/kidletime: 5.93.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.93.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index f5e84af4c23a..2fec71c4d2b8 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.92.0.tar.xz 29072 BLAKE2B 7c1ab01005400b9034693c0099df980b20806a8ee5c225fcd9e3a761ea587cbfa98c52f9efdd5762ba93c9999deb5026ed189c3267369c8a04ec9a36fd20c763 SHA512 58d9c2ef675d0e3092cda43f14ea0cc51105412a0b19828659f0e4eb386870675bf9f8765327777aa7829ae29c878a63cfe7a00954c09315c0d4840eca8313ec +DIST kidletime-5.93.0.tar.xz 29080 BLAKE2B 0059101ea067e68cc710735b5e379189271653a263a21c3db1c93f6b4b17741d10a192b02ba7f3e565e3984dee43908dd09baa5d7cd787f5336a10726388e62c SHA512 b89d78cf37770c7894dc62bf036c2e023fbb9eeb24ddb4d22ca3a55c46b310b0cb56b2556bf88e5a70e41e9a7c1f053f5122987b5c4e5148922431dc97abd61b diff --git a/kde-frameworks/kidletime/kidletime-5.93.0.ebuild b/kde-frameworks/kidletime/kidletime-5.93.0.ebuild new file mode 100644 index 000000000000..5d38376e94b0 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.93.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 +} |