diff --git a/dev-libs/swaylock/metadata.xml b/dev-libs/swaylock/metadata.xml index 4155370f2f7c7..26cfed9c82aa3 100644 --- a/dev-libs/swaylock/metadata.xml +++ b/dev-libs/swaylock/metadata.xml @@ -5,11 +5,30 @@ prometheanfire@gentoo.org Matthew Thode + + speedjack95@gmail.com + Niccolò Scatena + - Swaylock is a screen locking utility for Wayland compositors. + Swaylock is a screen locking utility for Wayland compositors. It is + compatible with any Wayland compositor which implements the following + Wayland protocols: wlr-layer-shell, wlr-input-inhibitor, xdg-output, + xdg-shell. + + Swaylock is the official screen locker for dev-libs/sway. - Enable additional image format support via the x11-libs/gdk-pixbuf library Enable fish completion support + Enable additional image format support via the x11-libs/gdk-pixbuf library + Build and install man pages + + swaywm/swaylock + + sir@cmpwn.com + Drew DeVault + + https://github.com/swaywm/swaylock/issues + https://github.com/swaywm/swaylock/releases + diff --git a/dev-libs/swaylock/swaylock-1.3.ebuild b/dev-libs/swaylock/swaylock-1.3.ebuild index c6e0258c8c526..85539fb9095e4 100644 --- a/dev-libs/swaylock/swaylock-1.3.ebuild +++ b/dev-libs/swaylock/swaylock-1.3.ebuild @@ -7,34 +7,49 @@ inherit fcaps meson DESCRIPTION="Screen locker for Wayland" HOMEPAGE="https://github.com/swaywm/swaylock" -SRC_URI="https://github.com/swaywm/swaylock/archive/${PV}.tar.gz -> ${P}.tar.gz" + +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" -KEYWORDS="~amd64 ~x86" -IUSE="+pam +gdk-pixbuf zsh-completion bash-completion fish-completion +doc" +IUSE="fish-completion +gdk-pixbuf +man +pam zsh-completion" -RDEPEND="dev-libs/wayland - x11-libs/libxkbcommon +DEPEND=" + dev-libs/wayland x11-libs/cairo - gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[jpeg] ) + x11-libs/libxkbcommon + gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) pam? ( virtual/pam ) " -DEPEND="${RDEPEND} - >=dev-libs/wayland-protocols-1.14 - doc? ( app-text/scdoc ) - !