summaryrefslogtreecommitdiff
path: root/gui-apps/swayidle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
commit2fd57282f0262ca084e05b0f2c63fbada395d02b (patch)
tree4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /gui-apps/swayidle
parentc3bc61051d7f12b4c682efa7a5460bbc8815649e (diff)
gentoo resync : 16.01.2021
Diffstat (limited to 'gui-apps/swayidle')
-rw-r--r--gui-apps/swayidle/Manifest2
-rw-r--r--gui-apps/swayidle/swayidle-1.7.1.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/gui-apps/swayidle/Manifest b/gui-apps/swayidle/Manifest
index 0c2ed016f899..8c0fc97d31c7 100644
--- a/gui-apps/swayidle/Manifest
+++ b/gui-apps/swayidle/Manifest
@@ -1,4 +1,6 @@
+DIST swayidle-1.7.1.tar.gz 13285 BLAKE2B 698f9d75977746631290b92787b33015483ffec4ed1b84386b393bfd20dd65a6dc309de6ef1a01b00b9b96563fcd423d5994d19f03094d1c1ac6382abde898a2 SHA512 6e0a6eb3b99a415414cac04299392ede9a8263fa5f4a75815742f5fcd4a5badb3021a7ff699a476c04ca2256b85f4149f8c8dda0484306636ffbaccff615d9da
DIST swayidle-1.7.tar.gz 12458 BLAKE2B 06462d286e4786173d26241056c2b0c71a9253eac31e0b33bd70c5729ff172c3b8ab2c6377c3bc4a6f53cf580adbaac792d90f46da7f944bcc5a4055b642fe5a SHA512 26a48c510caaadb1ad694426e82880ab1547b7b0ef8ac62a2c2ee41c7b8cc0554f4925b0abdc6dc37f2501a171c0b6ae53c56b045b5c545093f3b0463aefcf24
+EBUILD swayidle-1.7.1.ebuild 1210 BLAKE2B 484e7880153a2f5c4ad375fea5b00ce72eafd11b26581de52c66f323dc26a3dfb7ae61a52e9c5cd85f399a1d6472eae33a030bb6c1c6f769f341e51134b2f973 SHA512 196db82c04def7f7f53af0b69b84efb17a904e1d5676ec39fe09311e2ce476652425b6e1ecd24b67fac744bfaf66d87f4d98ac76e8536305cc94ee727916dbfb
EBUILD swayidle-1.7.ebuild 1207 BLAKE2B e8d39b249e4b6333ee3ec3e38f0b71e3a5df39fa905c47cb1f01a58647862280b46773a1dd5ef2f0ab71088af93906a8dfb7d1c584c55e58400880a4c18a7d91 SHA512 686547da179458d1c126765f1d43832a0eb19ceeaa864727d98e26ded0098dd8ed31b90278df3d17a89771d82c0076f4da09ca49e62434c2eab58a687bb2eec3
EBUILD swayidle-9999.ebuild 1210 BLAKE2B 9540d7e0a422d10c2eab5de2469b505d5d3c9ec3a3bc15e4f2d01692770fcbf964f526289cfdacb0a60a3ac9e252db5ea97e05d9822b404c5686b56e83eb1271 SHA512 5eab61f320978fda892ddac1d41c13a49067ce5de606541920dd5b71b7b4e47cb33316645d0f0cc2e75c7613e31ba4d75792e7b53254164ecbb30d9e6868422e
MISC metadata.xml 959 BLAKE2B ed555644c99e03baa56ca2c152a6542747e0c473e9b063aeba5fab314161eea758919dff2d9aa635b63d520b7a9843b3d67b547043629619fee37a203e00ae3a SHA512 c5e82c2893b0da74e1994b998d6a8597ed3eb778125069fb416023cef4a1c693c69be6096a0d76d897572905040805863cd34e730ecd818e35e0db8942fd15ce
diff --git a/gui-apps/swayidle/swayidle-1.7.1.ebuild b/gui-apps/swayidle/swayidle-1.7.1.ebuild
new file mode 100644
index 000000000000..21f7eca26556
--- /dev/null
+++ b/gui-apps/swayidle/swayidle-1.7.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="Idle management daemon for Wayland"
+HOMEPAGE="https://github.com/swaywm/swayidle"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
+else
+ SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind +man systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+ dev-libs/wayland
+ elogind? ( >=sys-auth/elogind-237[policykit] )
+ systemd? ( >=sys-apps/systemd-237[policykit] )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=dev-libs/wayland-protocols-1.14
+ virtual/pkgconfig
+ man? ( app-text/scdoc )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dman-pages=$(usex man enabled disabled)
+ "-Dfish-completions=true"
+ "-Dzsh-completions=true"
+ "-Dbash-completions=true"
+ "-Dwerror=false"
+ )
+ if use systemd; then
+ emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
+ elif use elogind; then
+ emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
+ else
+ emesonargs+=("-Dlogind=disabled")
+ fi
+
+ meson_src_configure
+}