mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
36 lines
651 B
Bash
36 lines
651 B
Bash
# Copyright 2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit savedconfig git-r3 meson
|
|
|
|
DESCRIPTION="dwm-like bar for dwl"
|
|
HOMEPAGE="https://git.sr.ht/~raphi/somebar"
|
|
EGIT_REPO_URI="https://git.sr.ht/~raphi/somebar"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
|
|
DEPEND="
|
|
dev-libs/wayland
|
|
x11-libs/cairo
|
|
x11-libs/pango
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="
|
|
dev-libs/wayland-protocols
|
|
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
|
|
}
|