gui-apps/somebar: initial import

Signed-off-by: Dex Conner <cantcuckthis@danwin1210.de>
This commit is contained in:
Dex Conner
2022-04-10 12:04:08 +03:00
parent 42f09435eb
commit 2ef5275883
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cantcuckthis@danwin1210.de</email>
<name>Dex Conner</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# 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"
KEYWORDS=""
DEPEND="
dev-libs/wayland
x11-libs/cairo
x11-libs/pango
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-libs/wayland-protocols
dev-util/wayland-scanner
dev-util/meson
dev-util/ninja
"
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_install
save_config src/config.hpp
}