diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-08 15:41:56 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-08 16:01:48 +0200 |
commit | 4a6481e428408becce4c97221c144aa9f2e0efc4 (patch) | |
tree | 6052180981f33ebefddc2bc0b5a81ee7a006661e /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.105.0 version bump (diff) | |
download | gentoo-4a6481e428408becce4c97221c144aa9f2e0efc4.tar.gz gentoo-4a6481e428408becce4c97221c144aa9f2e0efc4.tar.bz2 gentoo-4a6481e428408becce4c97221c144aa9f2e0efc4.zip |
kde-frameworks/kidletime: 5.105.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.105.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index b10ccfbc5fc2..dff016745e1b 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.104.0.tar.xz 30856 BLAKE2B 526bb48e9350b9ccb91e3888b3ab96ba077bcee3b037b7160f8903ea8c22fbe6b4cde2526963dc8132de848de09ae1b3884e24d2ba1cf2a5c005883a9f4309b2 SHA512 eff99a7fc3292b85ba15c8a8c43c5b40a98c416694d4f52e39f40fa70236d7144fe436479a3b09b3a2970c42fb40a77ac9315af055ebc05eb52baf49a3e536b2 +DIST kidletime-5.105.0.tar.xz 30860 BLAKE2B dd667d97ce2b73dc5ccd8d8e1ea24ae0277c5fa29ce66e0fb96e875f475cdb5f78778847023e75c8556add9f154f441b67dde7dc4cc83cb8a47fa7acd96c7fe0 SHA512 f96c4c36ea22b8ff7b3d311caac28a938501249a9ef3740b2196d2f8298bf0c6069224c9fbc37c96428a1ccc7bc41eee21da474ae41f88a56d5d5ec910ea5b58 diff --git a/kde-frameworks/kidletime/kidletime-5.105.0.ebuild b/kde-frameworks/kidletime/kidletime-5.105.0.ebuild new file mode 100644 index 000000000000..da0df79b1718 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.105.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 +} |