summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-13 13:13:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-13 13:13:46 +0100
commit03e503fdbcda294bec951b213a7abca8b4205ac9 (patch)
treefb7d50c20630270815c477e2f66cd9a2628efd71 /kde-frameworks/kidletime
parentkde-frameworks/ki18n: 5.80.0 version bump (diff)
downloadgentoo-03e503fdbcda294bec951b213a7abca8b4205ac9.tar.gz
gentoo-03e503fdbcda294bec951b213a7abca8b4205ac9.tar.bz2
gentoo-03e503fdbcda294bec951b213a7abca8b4205ac9.zip
kde-frameworks/kidletime: 5.80.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kidletime')
-rw-r--r--kde-frameworks/kidletime/Manifest1
-rw-r--r--kde-frameworks/kidletime/kidletime-5.80.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kidletime/Manifest b/kde-frameworks/kidletime/Manifest
index 57414feb2801..8c752ce84439 100644
--- a/kde-frameworks/kidletime/Manifest
+++ b/kde-frameworks/kidletime/Manifest
@@ -1,2 +1,3 @@
DIST kidletime-5.77.0.tar.xz 26036 BLAKE2B 156b145691d51bd9e5e695ce00df04282b9484fdd86a37669962205b1471db7f81ea4d4508b822cb3649cddf51045f4239cf46c6c50b4796bc73f60f8af31684 SHA512 b95a08cd568e8ba985cbb8877ebffbfbbfd30efb2111bfda85404e683a7f9d6f60a35687806d04ceb7e19512de9367b6d0a87488dcf84187dadb8dc920d8aa70
DIST kidletime-5.79.0.tar.xz 26048 BLAKE2B bc8738a9ee007f6f1efb90e7bb3de35de853b02bf4c0d1a8d23a71ce938250f715cb1f095cc170062ffedda6fe81b38da792fc9a421d105e37bd16c39673c724 SHA512 f06c670382d89eb01ddb739a0c821af2d189b02b332dba71f54289a0bb99ec9b45efdf7d8e470d0f04f12a5d60eb8578fb7b674213fb4d5e098a6a63255c3467
+DIST kidletime-5.80.0.tar.xz 26152 BLAKE2B 486250ac2b6c7582eb454b5ac402f3e8df114beae1b7b3d63d4541b68561693745881046add16d8bfa3fa6c7161b3e1b701508a0e89e1f509fd41bcff60ae19d SHA512 0725747f3012d73ac1b0196a31723393b77b3655bd214ee96cb6e350a81c9c68c418deb3632c159eb29c06b2a0ecf4a7c3f172975637d503f9f7dc576423615f
diff --git a/kde-frameworks/kidletime/kidletime-5.80.0.ebuild b/kde-frameworks/kidletime/kidletime-5.80.0.ebuild
new file mode 100644
index 000000000000..725d78a709f2
--- /dev/null
+++ b/kde-frameworks/kidletime/kidletime-5.80.0.ebuild
@@ -0,0 +1,47 @@
+# 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
+ >=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
+}