Diff waybar-0.15.0 with a waybar-9999
| /usr/portage/gui-apps/waybar/waybar-9999.ebuild 2026-06-15 19:17:05.835517075 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit meson optfeature toolchain-funcs |
|
| 6 |
inherit meson optfeature |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors" |
| 9 | 9 |
HOMEPAGE="https://github.com/Alexays/Waybar" |
| ... | ... | |
| 13 | 13 |
EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git"
|
| 14 | 14 |
else |
| 15 | 15 |
SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
| 16 |
KEYWORDS="amd64 ~arm64" |
|
| 16 |
KEYWORDS="~amd64 ~arm64" |
|
| 17 | 17 |
S="${WORKDIR}/${PN^}-${PV}"
|
| 18 | 18 |
fi |
| 19 | 19 | |
| ... | ... | |
| 78 | 78 |
test? ( dev-cpp/catch:0 ) |
| 79 | 79 |
" |
| 80 | 80 | |
| 81 |
PATCHES=( |
|
| 82 |
"${FILESDIR}"/meson-fix-build.patch
|
|
| 83 |
) |
|
| 84 | ||
| 85 | 81 |
src_configure() {
|
| 86 |
local cxx_stdlib=$(tc-get-cxx-stdlib) |
|
| 87 |
einfo "C++ standard library: ${cxx_stdlib:-unknown}"
|
|
| 88 |
local libcxx=false |
|
| 89 |
if [[ ${cxx_stdlib} == libc++ ]]; then
|
|
| 90 |
libcxx=true |
|
| 91 |
fi |
|
| 92 | ||
| 93 | 82 |
local emesonargs=( |
| 94 |
-Dlibcxx=${libcxx}
|
|
| 95 | 83 |
-Dman-pages=enabled |
| 96 | 84 |
-Dcava=disabled # depends on LukashonakV/cava fork, but media-sound/cava is karlstav/cava |
| 97 | 85 |
$(meson_feature evdev libevdev) |