diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-13 12:38:24 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-13 15:19:23 +0200 |
commit | d31062018b508812de2259ffabf1761e72c81652 (patch) | |
tree | 1afff0b9f02a79aa95175edf75ad2d185e320df4 /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.98.0 version bump (diff) | |
download | gentoo-d31062018b508812de2259ffabf1761e72c81652.tar.gz gentoo-d31062018b508812de2259ffabf1761e72c81652.tar.bz2 gentoo-d31062018b508812de2259ffabf1761e72c81652.zip |
kde-frameworks/kidletime: 5.98.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.98.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 64bb19db34a3..73d265ba3c53 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.96.0.tar.xz 29108 BLAKE2B c8bda958d716da078101c075647306a31cdd6404aacf7a18cdceef47adbcaebc7831d85e2aab94816f7a4acd087bccd8888bb17ef73d82ab7a9a6e4e19701ac4 SHA512 e7f991195ed48264ef11cee07843f7bfb2b93e701bda8fc2dd450d00055b24246b349a4a76f75bb13d81dea03e8170083b28140fb4504769927f5cf68436b335 DIST kidletime-5.97.0.tar.xz 29092 BLAKE2B e0b9f4aa32d1685aabcbb8494eb2ec40c6d912289c757bf253bb95f8003286f9fbf3c9b8cbe22e46815ce4534e6c784a7cfc73814a3ddd4009842fbee5356d51 SHA512 1cb97c9a1ef2204c77b95dbe88f946bf22b3eeba69ff95c23dbc1fb6b250be83dc43b9e42b64e577525a726bc8d971d65f6d4ea94d88b8162cc196eb39264ed8 +DIST kidletime-5.98.0.tar.xz 29116 BLAKE2B 79cf456c95c36163d311ec1b79f052cf6d96d7c5426a4c00286a8dddc14040851ed3801a9795867f17fcdf576d161922c40609505a5de8c4049c6ef2b264db75 SHA512 15a5c68c1ca71c20f1284cd75c8bfdf3a3108c7b151eee65e6e41a05099584fe471c6dd17f3de4425bfc64d2b88b4006284d1ba33c4d71931b635aaaa3d79015 diff --git a/kde-frameworks/kidletime/kidletime-5.98.0.ebuild b/kde-frameworks/kidletime/kidletime-5.98.0.ebuild new file mode 100644 index 000000000000..585aaa36ce13 --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.98.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 +} |