From 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Mar 2019 13:42:34 +0000 Subject: gentoo resync : 03.03.2019 --- gui-apps/swayidle/Manifest | 4 +++ gui-apps/swayidle/metadata.xml | 30 ++++++++++++++++++ gui-apps/swayidle/swayidle-1.2.ebuild | 57 ++++++++++++++++++++++++++++++++++ gui-apps/swayidle/swayidle-9999.ebuild | 57 ++++++++++++++++++++++++++++++++++ 4 files changed, 148 insertions(+) create mode 100644 gui-apps/swayidle/Manifest create mode 100644 gui-apps/swayidle/metadata.xml create mode 100644 gui-apps/swayidle/swayidle-1.2.ebuild create mode 100644 gui-apps/swayidle/swayidle-9999.ebuild (limited to 'gui-apps/swayidle') diff --git a/gui-apps/swayidle/Manifest b/gui-apps/swayidle/Manifest new file mode 100644 index 000000000000..c5fac66c7f85 --- /dev/null +++ b/gui-apps/swayidle/Manifest @@ -0,0 +1,4 @@ +DIST swayidle-1.2.tar.gz 9136 BLAKE2B e88eec89007deed59df30f3f89111352b8a1ed464141783cb25b0d0a484e8ea4cfd611f1bd80d9420368d7912979eb0536a6aa583d24504d32bac797a898dba5 SHA512 2539e80a45163bb3e76f7b41f6fd6a1d73d194b7e466f63178b5087d05470fceafba38a26d592a534a01b992a2c0cf0f8fb83805cdf41ee956fea5136cc8fe89 +EBUILD swayidle-1.2.ebuild 1323 BLAKE2B f679d7519e3618808690658d57dc38982d78ee98ce05c218e4775cf9cfecfeef733396111fdf98b75299db13e437f94d98b5cc17ef64a138900c99a96a911333 SHA512 497296c3a41fc8337bce8f8aa29822f3ca7b1dc5b5dd774204a648331fd60ebc80e6d44554562fa65de4c5f4b22f087594c14677b1ceb5ad9f33f729c6ffda18 +EBUILD swayidle-9999.ebuild 1323 BLAKE2B f679d7519e3618808690658d57dc38982d78ee98ce05c218e4775cf9cfecfeef733396111fdf98b75299db13e437f94d98b5cc17ef64a138900c99a96a911333 SHA512 497296c3a41fc8337bce8f8aa29822f3ca7b1dc5b5dd774204a648331fd60ebc80e6d44554562fa65de4c5f4b22f087594c14677b1ceb5ad9f33f729c6ffda18 +MISC metadata.xml 1067 BLAKE2B 059ead0c34aebcaa6f8ebd10db8b9b0aaf2df66f84a6ae10d16f3a32d680426aa4733c0788dfe61532bb90d3b92f4bb451e7fd1be822c6866205575fd3c4861a SHA512 99a60f4bcfb76aa7d2a6d4d2a7a6879d9f0ac17f0be3e37d59bef4a4b158b9e685dd5932a02e650b96756dc7f6cba2aac9b1eee95c6d56f4429c23e32a101ad4 diff --git a/gui-apps/swayidle/metadata.xml b/gui-apps/swayidle/metadata.xml new file mode 100644 index 000000000000..880f87d424ec --- /dev/null +++ b/gui-apps/swayidle/metadata.xml @@ -0,0 +1,30 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + speedjack95@gmail.com + Niccolò Scatena + + + Sway's idle management daemon, compatible with any Wayland compositor + which implements the KDE idle protocol. + + + Enable support for rootless session via elogind + Enable fish completion support + Build and install man pages + + + swaywm/swayidle + + sir@cmpwn.com + Drew DeVault + + https://github.com/swaywm/swayidle/issues + https://github.com/swaywm/swayidle/releases + + diff --git a/gui-apps/swayidle/swayidle-1.2.ebuild b/gui-apps/swayidle/swayidle-1.2.ebuild new file mode 100644 index 000000000000..4ee88f1b8179 --- /dev/null +++ b/gui-apps/swayidle/swayidle-1.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 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 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind fish-completion +man systemd zsh-completion" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + dev-libs/wayland + elogind? ( >=sys-auth/elogind-237[policykit] ) + systemd? ( >=sys-apps/systemd-237[policykit] ) +" +RDEPEND=" + ${DEPEND} + !<=gui-wm/sway-1.0_beta1 + !~gui-wm/sway-1.0_beta2[swayidle] +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.14 + virtual/pkgconfig + man? ( app-text/scdoc ) +" + +src_configure() { + local emesonargs=( + -Dman-pages=$(usex man enabled disabled) + $(meson_use fish-completion fish-completions) + $(meson_use zsh-completion zsh-completions) + "-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 +} diff --git a/gui-apps/swayidle/swayidle-9999.ebuild b/gui-apps/swayidle/swayidle-9999.ebuild new file mode 100644 index 000000000000..4ee88f1b8179 --- /dev/null +++ b/gui-apps/swayidle/swayidle-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 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 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind fish-completion +man systemd zsh-completion" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + dev-libs/wayland + elogind? ( >=sys-auth/elogind-237[policykit] ) + systemd? ( >=sys-apps/systemd-237[policykit] ) +" +RDEPEND=" + ${DEPEND} + !<=gui-wm/sway-1.0_beta1 + !~gui-wm/sway-1.0_beta2[swayidle] +" +BDEPEND=" + >=dev-libs/wayland-protocols-1.14 + virtual/pkgconfig + man? ( app-text/scdoc ) +" + +src_configure() { + local emesonargs=( + -Dman-pages=$(usex man enabled disabled) + $(meson_use fish-completion fish-completions) + $(meson_use zsh-completion zsh-completions) + "-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 +} -- cgit v1.2.3