Сравнение swayidle-1.8.0 с swayidle-9999
| /usr/portage/gui-apps/swayidle/swayidle-9999.ebuild 2026-02-19 11:18:07.404647274 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
inherit meson |
| 7 | 7 | |
| ... | ... | |
| 12 | 12 |
inherit git-r3 |
| 13 | 13 |
EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
|
| 14 | 14 |
else |
| 15 |
SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 16 |
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" |
|
| 15 |
inherit verify-sig |
|
| 16 |
SRC_URI="https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz
|
|
| 17 |
https://github.com/swaywm/${PN}/releases/download/v${PV}/${P}.tar.gz.sig"
|
|
| 18 |
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" |
|
| 17 | 19 |
fi |
| 18 | 20 | |
| 19 | 21 |
LICENSE="MIT" |
| 20 | 22 |
SLOT="0" |
| 21 |
IUSE="elogind +man systemd" |
|
| 23 |
IUSE="elogind systemd" |
|
| 22 | 24 |
REQUIRED_USE="?? ( elogind systemd )" |
| 23 | 25 | |
| 24 | 26 |
DEPEND=" |
| ... | ... | |
| 28 | 30 |
" |
| 29 | 31 |
RDEPEND="${DEPEND}"
|
| 30 | 32 |
BDEPEND=" |
| 33 |
app-text/scdoc |
|
| 34 |
>=dev-util/wayland-scanner-1.14.91 |
|
| 31 | 35 |
>=dev-libs/wayland-protocols-1.27 |
| 32 | 36 |
virtual/pkgconfig |
| 33 |
man? ( app-text/scdoc ) |
|
| 34 | 37 |
" |
| 35 | 38 | |
| 39 |
if [[ ${PV} != 9999 ]]; then
|
|
| 40 |
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-emersion )" |
|
| 41 |
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc" |
|
| 42 |
fi |
|
| 43 | ||
| 36 | 44 |
src_configure() {
|
| 37 | 45 |
local emesonargs=( |
| 38 |
-Dman-pages=$(usex man enabled disabled) |
|
| 39 |
"-Dfish-completions=true" |
|
| 40 |
"-Dzsh-completions=true" |
|
| 41 |
"-Dbash-completions=true" |
|
| 46 |
-Dman-pages=enabled |
|
| 47 |
-Dfish-completions=true |
|
| 48 |
-Dzsh-completions=true |
|
| 49 |
-Dbash-completions=true |
|
| 42 | 50 |
) |
| 43 | 51 |
if use systemd; then |
| 44 | 52 |
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
|