diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-13 19:42:30 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-14 10:29:08 +0200 |
commit | 5abcfac956560d82e50ace34bfa7821a0c2f3f80 (patch) | |
tree | 95132896e922644b9a88bc48f07a002de82e2ce7 /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.97.0 version bump (diff) | |
download | gentoo-5abcfac956560d82e50ace34bfa7821a0c2f3f80.tar.gz gentoo-5abcfac956560d82e50ace34bfa7821a0c2f3f80.tar.bz2 gentoo-5abcfac956560d82e50ace34bfa7821a0c2f3f80.zip |
kde-frameworks/kidletime: 5.97.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.97.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index fbfb285d34a5..64bb19db34a3 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1 +1,2 @@ DIST kidletime-5.96.0.tar.xz 29108 BLAKE2B c8bda958d716da078101c075647306a31cdd6404aacf7a18cdceef47adbcaebc7831d85e2aab94816f7a4acd087bccd8888bb17ef73d82ab7a9a6e4e19701ac4 SHA512 e7f991195ed48264ef11cee07843f7bfb2b93e701bda8fc2dd450d00055b24246b349a4a76f75bb13d81dea03e8170083b28140fb4504769927f5cf68436b335 +DIST kidletime-5.97.0.tar.xz 29092 BLAKE2B e0b9f4aa32d1685aabcbb8494eb2ec40c6d912289c757bf253bb95f8003286f9fbf3c9b8cbe22e46815ce4534e6c784a7cfc73814a3ddd4009842fbee5356d51 SHA512 1cb97c9a1ef2204c77b95dbe88f946bf22b3eeba69ff95c23dbc1fb6b250be83dc43b9e42b64e577525a726bc8d971d65f6d4ea94d88b8162cc196eb39264ed8 diff --git a/kde-frameworks/kidletime/kidletime-5.97.0.ebuild b/kde-frameworks/kidletime/kidletime-5.97.0.ebuild new file mode 100644 index 000000000000..585aaa36ce13 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.97.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 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="X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +DEPEND=" + >=dev-qt/qtgui-${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 + ) +" +RDEPEND="${DEPEND}" + +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 X X11) + $(cmake_use_find_package X XCB) + ) + + ecm_src_configure +} |