diff options
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r-- | kde-frameworks/kidletime/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kidletime/kidletime-5.44.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest index 0091d91d1479..4132f529d63d 100644 --- a/kde-frameworks/kidletime/Manifest +++ b/kde-frameworks/kidletime/Manifest @@ -1,2 +1,3 @@ DIST kidletime-5.40.0.tar.xz 26616 BLAKE2B 17c3e7d87156ad732f38ed0e4d0bdc4e4eb816d10686fd084a553216ba8ac4e5d0fc35590d5bcccb9deb100619539e79ec417643c31105e26b13ba392ff702b0 SHA512 b8c8c1de1c2261ad52ba80a11388a90ffa18c80153b58b0063184e14fe1c744465c150ef4e9be6692ca81330c52230029b406e8ae240e6738300f8977411a6ba DIST kidletime-5.43.0.tar.xz 26484 BLAKE2B 5c7aca43bdaa77b87fa739c128a103ad1ffb1462d459cfb0bdef17d96540c7c9b4c29cdb68156bee61d7421355c6ea1513e592d3e0451c6007b6750e0b1e318c SHA512 aab85a3143fce87751cd3e9c2b55306f5c4aad1f396dbdea7678605dab4ce47b53b95a42d42667fea937dbd6b20b84c349d00076216753dcb31beab52d05df3d +DIST kidletime-5.44.0.tar.xz 26484 BLAKE2B 3fa9d62985ade5748a4786db7ac793cd3a6978e23a08165ae91c9abfabea1cbe3c8051b7f8bd5cfaab29da634791e650e9f2e43a4d38cc2da51c88900f65b251 SHA512 6416ad41958ab055f2b4177011cb670f623b12c82b8dc549c2db804e60c4d5088f44477eb70e60679923a6b1ce768b44181534dd37330f547085f91fedd65b9a diff --git a/kde-frameworks/kidletime/kidletime-5.44.0.ebuild b/kde-frameworks/kidletime/kidletime-5.44.0.ebuild new file mode 100644 index 000000000000..10865cb9fe0d --- /dev/null +++ b/kde-frameworks/kidletime/kidletime-5.44.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="false" +inherit kde5 + +DESCRIPTION="Framework for detection and notification of device idle time" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="X xscreensaver" + +REQUIRED_USE="xscreensaver? ( X )" + +RDEPEND=" + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + X? ( + $(add_qt_dep qtx11extras) + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + ) + xscreensaver? ( + $(add_qt_dep qtdbus) + x11-libs/libXScrnSaver + ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + kde5_src_prepare + if ! use xscreensaver; then + sed -i -e "s/\${X11_Xscreensaver_FOUND}/0/" CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package X X11) + $(cmake-utils_use_find_package X XCB) + ) + + kde5_src_configure +} |