From c5ee568457ac776b65b71fa444e0dd47535bc44a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Jan 2023 20:49:18 +0000 Subject: gentoo auto-resync : 27:01:2023 - 20:49:18 --- gui-apps/Manifest.gz | Bin 4216 -> 4214 bytes gui-apps/swaylock/Manifest | 4 ++- gui-apps/swaylock/swaylock-1.7.1.ebuild | 55 ++++++++++++++++++++++++++++++++ gui-apps/swaylock/swaylock-9999.ebuild | 4 +-- 4 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 gui-apps/swaylock/swaylock-1.7.1.ebuild (limited to 'gui-apps') diff --git a/gui-apps/Manifest.gz b/gui-apps/Manifest.gz index d54a243fdbb4..5c4b1f28e792 100644 Binary files a/gui-apps/Manifest.gz and b/gui-apps/Manifest.gz differ diff --git a/gui-apps/swaylock/Manifest b/gui-apps/swaylock/Manifest index a861593d0fb5..c25c47c0e6a2 100644 --- a/gui-apps/swaylock/Manifest +++ b/gui-apps/swaylock/Manifest @@ -1,6 +1,8 @@ DIST swaylock-1.6.tar.gz 36439 BLAKE2B 8944bbd5ec0dd719f8dc627dbf878fcf07df3f060b56bce3ab215a2c21fe43debfeac15f6ef7eba43415f3b94a75a335fd692e653ac48407c1cf10b400f8ff67 SHA512 9a472c25e53a41c461af41af31c7fc8b275754628d0b20f4e5085cd7ca514e68361293a6e93fb6fcb7632419a3c73e4578e03294af28fe62d944cc43339f280d +DIST swaylock-1.7.1.tar.gz 37290 BLAKE2B 2055d5b4be46926217ff596e20b4f9e46cc028f61f0283b2ce4673e828b2bf8971c5a10761c56fecbd2dd392beb522661da5981f50dfcb2ee2a7cb47429e1d30 SHA512 36cd7f92f9a936dfe1c5fe43c7722c97cbf5169c6133ac5417b1966b151bbd44d84ffffd229358d40c3c48c3ff4537fc1f81406d5563d58ed3b40050569b77f4 DIST swaylock-1.7.tar.gz 37149 BLAKE2B 7675b56a28ce932bd163cd41ce498295b61aff51d204c5323b187ddde9ea17f6ef1ac2777272fd92703e49f44b3f749645b4715a75ed54845590513e7dddd524 SHA512 44c5a4e482674caeb86da78e49d4593128a14adad2d6e46994f984b2b2b893416d6ceeb6b0b5746ad5594892e65c9dab9764bbe4bf617a90d92622a41b791ed0 EBUILD swaylock-1.6-r1.ebuild 1146 BLAKE2B a9adf7767923af9ba2c91c957fec141a2d0887efeb55d821b40442d8e0c24283e7d8c7c273e6056a94fb8ad559081b20e4f9fed36950763406af61b03b86dab5 SHA512 5cfdcdb75a94aeddd58f0b583b743d05c4883cfec4cf08a86220de1ee5c4948def5834818746a065eb7822b4151bf7c697f28de6d175efe45c22b457b73a0f94 +EBUILD swaylock-1.7.1.ebuild 1150 BLAKE2B a258661cef1b51adac80c3281259c96a48c66fc0344e01b73e31e01ba5903d127273cf6fd39ea8701b33821434b6ba2de6b8543fbd97e8636709cd7c07823ef4 SHA512 250362d66a7498bda6b69fa258cc0821e474314cd5b054396283740960459c95ffedca7ef45a07dc06394156f4cbd19d79f113b0a22f782267987fc1e1dbcba4 EBUILD swaylock-1.7.ebuild 1146 BLAKE2B 26baf41bdeebc3dd71914d3b450e65112729fba691c07c801389f0ed0a56160a4b1fdac5932cce5ca593bb1a5a4146b6f8fe4f15e7c81927ec6865ade42ffa1c SHA512 dc1a5c50eb014af8d4c6e8212d240d527b30229ec99e921f087bf660fa4540d28d687e27ee2a01be73f4ee294904a12a495e110be35b672877e73a5b49c9a16a -EBUILD swaylock-9999.ebuild 1149 BLAKE2B 035f9da7eeed319913e34e9969487d54f655be60d668ded5e4b59984fad0135dc3ec4dc2561242a0dec94e95a49c3b8b2b75bc3b807b5d703c6f416bf6455de8 SHA512 b6c1557c211b3f4c6f0e2117007ac187a42f47252d1e58cc9381e3d41c85a6387bcc5625e22729d920b24114d0e7e58c7825d7c1b1699b4bdbf7416cece2defb +EBUILD swaylock-9999.ebuild 1150 BLAKE2B a258661cef1b51adac80c3281259c96a48c66fc0344e01b73e31e01ba5903d127273cf6fd39ea8701b33821434b6ba2de6b8543fbd97e8636709cd7c07823ef4 SHA512 250362d66a7498bda6b69fa258cc0821e474314cd5b054396283740960459c95ffedca7ef45a07dc06394156f4cbd19d79f113b0a22f782267987fc1e1dbcba4 MISC metadata.xml 1182 BLAKE2B 26d1cd8d48c9d3cd61c9c00838f5ca27f5794e8ad23177c99f14b80e7b5fb0238b361feecb7f24c871e653532bcc7ac6ad797f554151002cad43faba4f3f3963 SHA512 e3a00a1c6f35bb616b8934e0b841930f8efdc282096cacf0a615478444090d49ac4062b3d5b0cdf40ea22cc0a9835d403ef7716aefaed8cae8cfe508a99ff879 diff --git a/gui-apps/swaylock/swaylock-1.7.1.ebuild b/gui-apps/swaylock/swaylock-1.7.1.ebuild new file mode 100644 index 000000000000..aeef41c319be --- /dev/null +++ b/gui-apps/swaylock/swaylock-1.7.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps meson + +DESCRIPTION="Screen locker for Wayland" +HOMEPAGE="https://github.com/swaywm/swaylock" + +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/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+gdk-pixbuf +man +pam" + +DEPEND=" + dev-libs/wayland + x11-libs/cairo + x11-libs/libxkbcommon + gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) + pam? ( sys-libs/pam ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-libs/wayland-protocols-1.25 + >=dev-util/wayland-scanner-1.15 + virtual/pkgconfig + man? ( app-text/scdoc ) +" + +src_configure() { + local emesonargs=( + -Dman-pages=$(usex man enabled disabled) + -Dpam=$(usex pam enabled disabled) + -Dgdk-pixbuf=$(usex gdk-pixbuf enabled disabled) + "-Dfish-completions=true" + "-Dzsh-completions=true" + "-Dbash-completions=true" + ) + + meson_src_configure +} + +pkg_postinst() { + if ! use pam; then + fcaps cap_sys_admin usr/bin/swaylock + fi +} diff --git a/gui-apps/swaylock/swaylock-9999.ebuild b/gui-apps/swaylock/swaylock-9999.ebuild index c9ae048d1c5b..aeef41c319be 100644 --- a/gui-apps/swaylock/swaylock-9999.ebuild +++ b/gui-apps/swaylock/swaylock-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ 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" + SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" fi -- cgit v1.2.3