blob: 1f4199e173a2ee9d5937e3ef0c435d4c5c5e8f95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://codeberg.org/dnkl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
else
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/${PN}.git"
fi
DESCRIPTION="Simplistic and highly configurable status panel for X and Wayland"
HOMEPAGE="https://codeberg.org/dnkl/yambar"
LICENSE="MIT"
SLOT="0"
IUSE="lto wayland X"
REQUIRED_USE="|| ( wayland X )"
RDEPEND="
>=media-libs/fcft-2.4.0
dev-libs/json-c
dev-libs/libyaml
media-libs/alsa-lib
media-libs/libmpdclient
virtual/libudev:=
x11-libs/pixman
wayland? ( dev-libs/wayland )
X? (
x11-libs/libxcb:0=[xkb]
x11-libs/xcb-util
x11-libs/xcb-util-cursor
x11-libs/xcb-util-wm
)
"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/scdoc
>=dev-libs/tllist-1.0.1
>=dev-util/meson-0.53.0
virtual/pkgconfig
wayland? (
dev-libs/wayland-protocols
dev-util/wayland-scanner
)
"
src_configure() {
local emesonargs=(
$(meson_feature wayland backend-wayland)
$(meson_feature X backend-x11)
$(meson_use lto b_lto)
-Dwerror=false
)
meson_src_configure
}
src_install() {
meson_src_install
rm -rf "${D}/usr/share/doc/${PN}"
}
|