Diff sway-1.8.1 with a sway-9999
/usr/portage/gui-wm/sway/sway-9999.ebuild 2023-10-09 14:52:31.176368393 +0300 | ||
---|---|---|
14 | 14 |
else |
15 | 15 |
MY_PV=${PV/_rc/-rc} |
16 | 16 |
SRC_URI="https://github.com/swaywm/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
17 |
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" |
|
17 |
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" |
|
18 | 18 |
S="${WORKDIR}/${PN}-${MY_PV}" |
19 | 19 |
fi |
20 | 20 | |
21 | 21 |
LICENSE="MIT" |
22 | 22 |
SLOT="0" |
23 |
IUSE="grimshot +man +swaybar +swaynag tray wallpapers X" |
|
23 |
IUSE="+man +swaybar +swaynag tray wallpapers X" |
|
24 | 24 | |
25 | 25 |
DEPEND=" |
26 | 26 |
>=dev-libs/json-c-0.13:0= |
... | ... | |
56 | 56 |
fi |
57 | 57 |
RDEPEND=" |
58 | 58 |
x11-misc/xkeyboard-config |
59 |
grimshot? ( |
|
60 |
app-misc/jq |
|
61 |
gui-apps/grim |
|
62 |
gui-apps/slurp |
|
63 |
gui-apps/wl-clipboard |
|
64 |
x11-libs/libnotify |
|
65 |
) |
|
66 | 59 |
${DEPEND} |
67 | 60 |
" |
68 | 61 |
BDEPEND=" |
... | ... | |
94 | 87 |
meson_src_configure |
95 | 88 |
} |
96 | 89 | |
97 |
src_install() { |
|
98 |
meson_src_install |
|
99 | ||
100 |
if use grimshot; then |
|
101 |
doman contrib/grimshot.1 |
|
102 |
dobin contrib/grimshot |
|
103 |
fi |
|
104 |
} |
|
105 | ||
106 | 90 |
pkg_postinst() { |
107 | 91 |
optfeature_header "There are several packages that may be useful with sway:" |
108 | 92 |
optfeature "wallpaper utility" gui-apps/swaybg |