diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-07-10 18:44:56 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-07-11 22:46:03 +0200 |
commit | 3f258cb62668a9ca26526da467d8787e6c6d61fd (patch) | |
tree | a2607ab3264e5f0c6fbcaf0e032ffd8b6e5c9e15 /kde-frameworks | |
parent | kde-frameworks/ki18n: 5.84.0 version bump (diff) | |
download | gentoo-3f258cb62668a9ca26526da467d8787e6c6d61fd.tar.gz gentoo-3f258cb62668a9ca26526da467d8787e6c6d61fd.tar.bz2 gentoo-3f258cb62668a9ca26526da467d8787e6c6d61fd.zip |
kde-frameworks/kidletime: 5.84.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r-- | kde-frameworks/kidletime/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kidletime/kidletime-5.84.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index d48911cada87..05f06ca66739 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.82.0.tar.xz 26040 BLAKE2B b5e7ee686c9ffaefc0f321bfff15f0ee633b04ba07753702d2f76ebb069704fd9c5042904e726e617754432df6caacd305b0c4095178b71077801089a76f29dc SHA512 35cb528aeaf0d28ace354eff8f65812bbc8fc7f0b8b01ac93b8317de6267d93d1e1808ddb5b136c0ec9980544f27518cea2c3c577dd8252be05b8fdecb396f39 DIST kidletime-5.83.0.tar.xz 26124 BLAKE2B a921b13f88ba15d50e48e392c65af58055da73a0fda4b1220cebd11a811012cdaa604246497e1612ec7cf27e966566a7e4b2fffe3e51dc1f158fbaa4df167628 SHA512 e98c78f2aada9096ac1dd3dfc108b5201e22cee765301b057fce576d3b61c7fdb94c2f0fdf948468f1ee8e5a40955c6bbfe2dfe6978fa5b10dac37f8f764db32 +DIST kidletime-5.84.0.tar.xz 26116 BLAKE2B 4b0f6328d36ce0c9f81d13c507f014dba801f07b09bfed29b63f5abfd454223fdc411b56e4018d2ac24b9a1ba21395cd536d9e1f79acf559f94c4893d7033e4b SHA512 f6438322b11880d848a51f7b9ce152c0a2e3a4bb38611a8d4bc878a9f8fd685ab909c8015adac946754b9675846e4a22390c891ce808291b87fb4700cccfc683 diff --git a/kde-frameworks/kidletime/kidletime-5.84.0.ebuild b/kde-frameworks/kidletime/kidletime-5.84.0.ebuild new file mode 100644 index 000000000000..cd9479b80aab --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.84.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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 +} |