diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-09 13:11:37 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-09 15:13:56 +0200 |
commit | 6a33c9976e25fd40a3dc75a419266e6ef8b4d594 (patch) | |
tree | 0212dd8ccf405f0e941e7a95d8c469adfdaff6ed /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 6.5.0 version bump (diff) | |
download | gentoo-6a33c9976e25fd40a3dc75a419266e6ef8b4d594.tar.gz gentoo-6a33c9976e25fd40a3dc75a419266e6ef8b4d594.tar.bz2 gentoo-6a33c9976e25fd40a3dc75a419266e6ef8b4d594.zip |
kde-frameworks/kidletime: 6.5.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.5.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index a9bba6258829..f1b246858dea 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.116.0.tar.xz 30928 BLAKE2B 7f9984e4011c13ec242f13647eff2c50c5896c0ae5a0232096fb1a6a1fcb0b7b722bd92ce346cfad8d06f78504f41ac6e44b23496c84c79b8e998d01378da0c8 SHA512 a8172a069266e523cc07f37ce1f4c5f65a421c99eb314e26f68cc32630b8f0da783beee9d2ffe2740113d60ae9b4c280ca9de8bb89bd5db8e56c9b31172ec408 DIST kidletime-6.4.0.tar.xz 30668 BLAKE2B 0c57ecb713f6c0d4a9447d7e4a47f41e96341c996089a63e8c3863953ddaa025615b356a96c0983f67669384b1d0fd5cbf6a8ea5e85f78c5973067497b060389 SHA512 905a44e7c9c658720ab77c28f061e6c66325b4eab670e1c0ac7c6f82eef336707f6ec47e0b066f4e08ca28d26b52fa3ac8a96c4a00c5035aea9512fd44770831 +DIST kidletime-6.5.0.tar.xz 30660 BLAKE2B 2e05d4bfe574db62b53d3ee2cccc9e34e4463f2bb1877beffbe711c829ed0dc4587719a7868e3cc6fe8f40dd935e66f8301e2ac38c1864fbafbfaeae20228409 SHA512 870bd1ab7aabca8a5ab832ba5ec099b423fd39d7f1b0f04750891c77fa656d621627a2738c283c23230f90efd9fd80465899802fac52ec45760d459ca02dfea2 diff --git a/kde-frameworks/kidletime/kidletime-6.5.0.ebuild b/kde-frameworks/kidletime/kidletime-6.5.0.ebuild new file mode 100644 index 000000000000..4dcf02bf8677 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-6.5.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 ~arm64 ~ppc64 ~riscv ~x86" +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 +} |