diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-09 01:41:58 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-09 14:09:30 +0200 |
commit | f25b7e4600e74bc64c38dd74a3c59b9cac9054d7 (patch) | |
tree | e9bae8585da3858a8c29e5500366424f9f51922c /kde-frameworks/kidletime | |
parent | kde-frameworks/ki18n: 5.82.0 version bump (diff) | |
download | gentoo-f25b7e4600e74bc64c38dd74a3c59b9cac9054d7.tar.gz gentoo-f25b7e4600e74bc64c38dd74a3c59b9cac9054d7.tar.bz2 gentoo-f25b7e4600e74bc64c38dd74a3c59b9cac9054d7.zip |
kde-frameworks/kidletime: 5.82.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.82.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index b9b2eaf322be..26448b54de19 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.80.0.tar.xz 26152 BLAKE2B 486250ac2b6c7582eb454b5ac402f3e8df114beae1b7b3d63d4541b68561693745881046add16d8bfa3fa6c7161b3e1b701508a0e89e1f509fd41bcff60ae19d SHA512 0725747f3012d73ac1b0196a31723393b77b3655bd214ee96cb6e350a81c9c68c418deb3632c159eb29c06b2a0ecf4a7c3f172975637d503f9f7dc576423615f DIST kidletime-5.81.0.tar.xz 26096 BLAKE2B 9aa408844c0047a1d4b8a09b567c101a259869fbfad5a0d5054a07dffd015b88be19845018438479ca74ec6da07097cb09f4054848bc9d8f1fd1025a307a0de4 SHA512 67f15bc2fed79c5d33f33ed6aee869aeb0646f0c98d0194b92fd27e6cede078ea7c5f132df760f50465e209cb8bc8805af984065a9610296a682ba48106f1f99 +DIST kidletime-5.82.0.tar.xz 26040 BLAKE2B b5e7ee686c9ffaefc0f321bfff15f0ee633b04ba07753702d2f76ebb069704fd9c5042904e726e617754432df6caacd305b0c4095178b71077801089a76f29dc SHA512 35cb528aeaf0d28ace354eff8f65812bbc8fc7f0b8b01ac93b8317de6267d93d1e1808ddb5b136c0ec9980544f27518cea2c3c577dd8252be05b8fdecb396f39 diff --git a/kde-frameworks/kidletime/kidletime-5.82.0.ebuild b/kde-frameworks/kidletime/kidletime-5.82.0.ebuild new file mode 100644 index 000000000000..cd9479b80aab --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.82.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="false" +QTMIN=5.15.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 + 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 +} |