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

EAPI=8

inherit savedconfig git-r3 meson

DESCRIPTION="Fork of dwm-like bar for dwl"
HOMEPAGE="https://codeberg.org/csobczak/somebar"
EGIT_REPO_URI="https://codeberg.org/csobczak/somebar"
EGIT_BRANCH="csobczak"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-libs/glib:2
	dev-libs/wayland
	x11-libs/cairo
	x11-libs/pango
"
DEPEND="
	${RDEPEND}
	dev-libs/wayland-protocols
"
BDEPEND="
	dev-util/wayland-scanner
"

src_prepare() {
	default
	use savedconfig && restore_config src/config.hpp
	[[ -f src/config.hpp ]] || cp src/config.def.hpp src/config.hpp
}

src_install() {
	meson_src_install
	save_config src/config.hpp
}