summaryrefslogtreecommitdiff
path: root/gui-apps/wob/wob-0.16.ebuild
blob: d80759a93b85a9332b518126d2dca5a5541b6864 (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
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Lightweight overlay volume/backlight/progress/anything bar for Wayland"
HOMEPAGE="https://github.com/francma/wob"
SRC_URI="https://github.com/francma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+man +seccomp test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-libs/inih
	dev-libs/wayland
	seccomp? ( sys-libs/libseccomp )
"
DEPEND="${RDEPEND}
	dev-libs/wayland-protocols
"
BDEPEND="
	dev-util/wayland-scanner
	man? ( app-text/scdoc )
	test? ( dev-util/cmocka )
"

src_configure() {
	local emesonargs=(
		$(meson_feature man man-pages)
		$(meson_feature seccomp)
		$(meson_feature test tests)
	)
	meson_src_configure
}