diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-11 09:11:47 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-11 19:18:51 +0100 |
commit | ad275a579898cf5ca58217dd501a427dec660aa2 (patch) | |
tree | ba202371ff0ccda2dd9698b8d19a9f733b3fb141 /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.104.0 version bump (diff) | |
download | gentoo-ad275a579898cf5ca58217dd501a427dec660aa2.tar.gz gentoo-ad275a579898cf5ca58217dd501a427dec660aa2.tar.bz2 gentoo-ad275a579898cf5ca58217dd501a427dec660aa2.zip |
kde-frameworks/kidletime: 5.104.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.104.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index c0bb8d11b542..da86a108f7cf 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.102.0.tar.xz 30848 BLAKE2B ccb7b754ff573ab9dbdaf0badb5f403bb9db90ac22b0cd5a4210a866c2afd365a30ee7245337c7589c475323cbb20fbe5b3737bb99d344c3ab531c811c59833b SHA512 5aeddaf18d89c1ae5f9a23950a319d7d3659f713258e6297f1cb9a76c39514d434be80ec87e76c5fa892c445c69263742a13614ffcc5ae8a9c0cd47c57c43f08 DIST kidletime-5.103.0.tar.xz 30844 BLAKE2B ac76387606eea145ce8b8d0b238f9f1705d674b8c26b78bc345a79f2aa450d9d900cf95adecd67803dc42034cb397c636dd4d2290cb65314a66dff0ae6330d12 SHA512 3f24b03c55edc98949272975e2374f7c4644f14af4e56f525916583926058310aca255a9c9fb54ae958061dca8b48e0b18bd48e0cf34f51292999688fd61cfa1 +DIST kidletime-5.104.0.tar.xz 30856 BLAKE2B 526bb48e9350b9ccb91e3888b3ab96ba077bcee3b037b7160f8903ea8c22fbe6b4cde2526963dc8132de848de09ae1b3884e24d2ba1cf2a5c005883a9f4309b2 SHA512 eff99a7fc3292b85ba15c8a8c43c5b40a98c416694d4f52e39f40fa70236d7144fe436479a3b09b3a2970c42fb40a77ac9315af055ebc05eb52baf49a3e536b2 diff --git a/kde-frameworks/kidletime/kidletime-5.104.0.ebuild b/kde-frameworks/kidletime/kidletime-5.104.0.ebuild new file mode 100644 index 000000000000..da0df79b1718 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.104.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.5 +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 +} |