diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-13 21:56:06 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-13 22:13:00 +0200 |
commit | 299f41783ebd7848a898df311eb298915d044c04 (patch) | |
tree | b838fddfb63eaa561156c5e24c9f6ce7a59cc486 /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 6.2.0 version bump (diff) | |
download | gentoo-299f41783ebd7848a898df311eb298915d044c04.tar.gz gentoo-299f41783ebd7848a898df311eb298915d044c04.tar.bz2 gentoo-299f41783ebd7848a898df311eb298915d044c04.zip |
kde-frameworks/kidletime: 6.2.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-6.2.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index edd336766d21..bfb14e41543e 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.115.0.tar.xz 30936 BLAKE2B 060cab0d4ca5ac4bd831015fc70829f4d5b2cc5f6c4404a08832f044f497fe50a9cee3f84926ac5ceba5b66043fd81b2e279a99d159a68bf412e759bf3114627 SHA512 63b7d62dbdb5b8eb8ff3337616984951ae233b859fe8724604058b3217de454957dcc17152d0ab8a4091c8360020962e3730b4ee7cec4532f86b8d0de79a1143 DIST kidletime-6.1.0.tar.xz 30912 BLAKE2B 80f69554332cc74444497d2e3ac554400eed9c937aa066f16ae5331caf3f40a33836e583f42d759a161ef9b1348391dc1e6b5fd8f6cc5d7e6bdabb25f7712c50 SHA512 9a958ccfb6a0b4bb32b481279b9ca0f96ab84a9400ed68da7c3712fefec070983d9c00e29ed9f6a53409796f73db4e32c41ebe275dd51ece21b6b00044f94828 +DIST kidletime-6.2.0.tar.xz 30712 BLAKE2B 37e605e9a26dc6868ac2c83d15e66eecf13cc7cff351282478ef22803f067f03c142121efdf753a8ae7a7b3660974cd6a8cafcbe705960a6512f99b4e3e81214 SHA512 ae16fbca9e7e050d28d7ca068ed6c17365e2444456e669e8b96850f613dc5382b1a1fb5963fb3a585e57a3c361b446572892179970c292917c15b5120cd06269 diff --git a/kde-frameworks/kidletime/kidletime-6.2.0.ebuild b/kde-frameworks/kidletime/kidletime-6.2.0.ebuild new file mode 100644 index 000000000000..a4213e68004d --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-6.2.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="false" +QTMIN=6.6.2 +inherit ecm frameworks.kde.org + +DESCRIPTION="Framework for detection and notification of device idle time" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64" +IUSE="wayland X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +RDEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui] + wayland? ( + dev-libs/wayland + >=dev-qt/qtbase-${QTMIN}:6=[wayland] + >=dev-qt/qtwayland-${QTMIN}:6 + ) + X? ( + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + ) + xscreensaver? ( + >=dev-qt/qtbase-${QTMIN}:6[dbus] + x11-libs/libXScrnSaver + ) +" +DEPEND="${RDEPEND} + wayland? ( + >=dev-libs/plasma-wayland-protocols-1.11.1 + >=dev-libs/wayland-protocols-1.27:0 + ) +" +BDEPEND="wayland? ( >=dev-qt/qtwayland-${QTMIN}:6 )" + +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=( + -DWITH_WAYLAND=$(usex wayland) + -DWITH_X11=$(usex X) + ) + + ecm_src_configure +} |