aboutsummaryrefslogtreecommitdiff
blob: a36f0a9d77511dfacd5f414ceb49fd6b1f3ad1c2 (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
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="S* Floating Window Bar"
HOMEPAGE="https://github.com/LBCrion/sfwbar"
SRC_URI="https://github.com/LBCrion/sfwbar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"

LICENSE="GPL-3"
SLOT="0"
IUSE="+mpd +pulse +net +xkb"

DEPEND="
	mpd? ( media-libs/libmpdclient )
	pulse? ( media-libs/libpulse )
	xkb? ( x11-libs/libxkbcommon )
	>=x11-libs/gtk+-3.22.0:3[introspection,wayland]
	gui-libs/gtk-layer-shell
	dev-libs/json-c
	dev-util/wayland-scanner
	virtual/freedesktop-icon-theme
	>=dev-libs/wayland-protocols-1.17
"
RDEPEND="${DEPEND}"
BDEPEND="
	virtual/pkgconfig
"

src_configure() {
	local emesonargs=(
		$(meson_feature mpd)
		$(meson_feature pulse)
		$(meson_feature net network)
	)

	meson_src_configure
}