diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-08 11:05:17 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-08 12:54:45 +0200 |
commit | 79d4e47c7e56314bbe7c6a134bdde4064416fbac (patch) | |
tree | dfdadd1e72718b8a4e912d7243308d25acb59702 /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.73.0 version bump (diff) | |
download | gentoo-79d4e47c7e56314bbe7c6a134bdde4064416fbac.tar.gz gentoo-79d4e47c7e56314bbe7c6a134bdde4064416fbac.tar.bz2 gentoo-79d4e47c7e56314bbe7c6a134bdde4064416fbac.zip |
kde-frameworks/kidletime: 5.73.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.73.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index b8541f5057e8..42fd219e58b7 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.70.0.tar.xz 29136 BLAKE2B aab42e49dd3abac7a995e27112d5181ed43123d69a2a47dfedb00406a70ca5d52dd4e01b8e6f8ba52483187f519f3a224a18098a94086505b2cd0394fbf60eaf SHA512 c5ada7ee3cb225509966b9a3315fe4b8e136fe0750ea5e5cb9a543010d5a4b279030d79d526ea8d47e1715434bad09e8f06394cba2362db527546fc55b6bc22c DIST kidletime-5.72.0.tar.xz 29076 BLAKE2B 965d1ae55526d6df7a25469878fdd16a0d3cf143bb58f9e610781ab752685425562507dc59f71644afeb124a43bdc814fe9e3cf398baab4b024ea8cc6ecfb7a0 SHA512 3a5fd03eabfbe99368b670fe78c985a65d354cd38eb3f4e5bc6fa25d71c36bfe48f14c8cbc64035d286ec9f29780fa168febc1e1284af9f1fac30cb7f94608cf +DIST kidletime-5.73.0.tar.xz 29084 BLAKE2B 1a7e64a06080afd4f9fd6a63609f1a17d7a035d46c1f2c71207890e572d8140e410cd9e3a574e81fc87274313507024de471ba7f9a87bed977b3879f0726299f SHA512 d6cd6de43f295b68cd8bc1cd3ab8817f091b0bb859748eaceae7552d0a7c2bf512136ac59f90c0ce433b04325c53daccf676c24cd35312712593ed86b928806b diff --git a/kde-frameworks/kidletime/kidletime-5.73.0.ebuild b/kde-frameworks/kidletime/kidletime-5.73.0.ebuild new file mode 100644 index 000000000000..1f4a34cf974c --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.73.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="false" +QTMIN=5.14.2 +inherit ecm kde.org + +DESCRIPTION="Framework for detection and notification of device idle time" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${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 +} |