diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-14 13:10:26 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-14 13:31:12 +0200 |
commit | ef6d0b95030717972ef1b93972ebc0c66ca2cfa0 (patch) | |
tree | 12d555b895932a7797650d80cbd826c2f68094aa /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.94.0 version bump (diff) | |
download | gentoo-ef6d0b95030717972ef1b93972ebc0c66ca2cfa0.tar.gz gentoo-ef6d0b95030717972ef1b93972ebc0c66ca2cfa0.tar.bz2 gentoo-ef6d0b95030717972ef1b93972ebc0c66ca2cfa0.zip |
kde-frameworks/kidletime: 5.94.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.94.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 728dfd79b5b7..222121a282f7 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.92.0.tar.xz 29072 BLAKE2B 7c1ab01005400b9034693c0099df980b20806a8ee5c225fcd9e3a761ea587cbfa98c52f9efdd5762ba93c9999deb5026ed189c3267369c8a04ec9a36fd20c763 SHA512 58d9c2ef675d0e3092cda43f14ea0cc51105412a0b19828659f0e4eb386870675bf9f8765327777aa7829ae29c878a63cfe7a00954c09315c0d4840eca8313ec DIST kidletime-5.93.0.tar.xz 29080 BLAKE2B 0059101ea067e68cc710735b5e379189271653a263a21c3db1c93f6b4b17741d10a192b02ba7f3e565e3984dee43908dd09baa5d7cd787f5336a10726388e62c SHA512 b89d78cf37770c7894dc62bf036c2e023fbb9eeb24ddb4d22ca3a55c46b310b0cb56b2556bf88e5a70e41e9a7c1f053f5122987b5c4e5148922431dc97abd61b +DIST kidletime-5.94.0.tar.xz 29104 BLAKE2B 7af9960da627b9fcd8b7d963b58eae8df1aeebafd212bc221662c850023ad243f10ec4c30b63653787400e3899fa1266e3784fb87bd6931e4545f8a03b06665d SHA512 121d6684b699f1319979d4736e45d20a66f2e21211d66c35f9dfec32487cc1eb50d9704725ea7016023966375d45911f5417eecd3c9f3c970ee86e4ca5aa9ef1 diff --git a/kde-frameworks/kidletime/kidletime-5.94.0.ebuild b/kde-frameworks/kidletime/kidletime-5.94.0.ebuild new file mode 100644 index 000000000000..bc446672bd4d --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.94.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.3 +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 +} |