diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-10-19 16:30:09 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-10-19 17:10:39 +0200 |
commit | 340cf8df868b1a8f0667400a2516a0e3e663d606 (patch) | |
tree | b52a3691492f0716dbe7b78be08539731b0cf337 /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.111.0 version bump (diff) | |
download | gentoo-340cf8df868b1a8f0667400a2516a0e3e663d606.tar.gz gentoo-340cf8df868b1a8f0667400a2516a0e3e663d606.tar.bz2 gentoo-340cf8df868b1a8f0667400a2516a0e3e663d606.zip |
kde-frameworks/kidletime: 5.111.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.111.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 91af0c55f4c4..59a991522bce 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1 +1,2 @@ DIST kidletime-5.110.0.tar.xz 30932 BLAKE2B 47b1776a5f15270481edb61a89e60371674f5ad165458c6824e72cb84396d545140f1ed63f3ee1a7ff2b74f34a884aef2cd2ad07547cef8be3931dc4d6f5d452 SHA512 f061f5bf8326ecb6c58db1e7d57baab016bb7eebce46f732ebb27a572b9c8dbdabefea36b0ede46f8b59d5dbcaef298acd33404a042c56d09d2f02d711fc3dbb +DIST kidletime-5.111.0.tar.xz 30936 BLAKE2B 46dd9ffbf315b722a5b5d1ac302c135d86cd32943dbf5639e959d0d18abae1a6fce19014f3d467d67792bcc8cdd718d0bb02b06cddd593d408a60e269bddd8d6 SHA512 5677d2aef0a15ec5657f0791e530dd7889c9ec550d554d8f0d8e901bfa08fb781ae4d7a22418a7278d13e1c2f0b594651ff9ba29a60bb9f91277fd1c3c2f5c55 diff --git a/kde-frameworks/kidletime/kidletime-5.111.0.ebuild b/kde-frameworks/kidletime/kidletime-5.111.0.ebuild new file mode 100644 index 000000000000..5bbf486ab6e3 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.111.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="false" +QTMIN=5.15.9 +inherit ecm frameworks.kde.org + +DESCRIPTION="Framework for detection and notification of device idle time" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="wayland X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +RDEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + wayland? ( + dev-libs/wayland + >=dev-qt/qtgui-${QTMIN}:5=[wayland] + >=dev-qt/qtwayland-${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 + ) +" +DEPEND="${RDEPEND} + wayland? ( + >=dev-libs/plasma-wayland-protocols-1.7.0 + >=dev-libs/wayland-protocols-1.27:0 + ) +" +BDEPEND="wayland? ( >=dev-qt/qtwaylandscanner-${QTMIN}:5 )" + +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 wayland Qt5WaylandClient) + $(cmake_use_find_package X X11) + $(cmake_use_find_package X XCB) + ) + + ecm_src_configure +} |