summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-06-26 11:45:26 -0700
committerChris Sobczak <chris@sobczak.family>2026-06-26 11:45:26 -0700
commit846e7da10958d66c15a3d825f26a476b62a1d2d2 (patch)
treed55aeddc918f9ae2dac3c0b55ebc346b3d21a5e4
parentb250384621599c770f897bd0d076de2518464344 (diff)
Add somebar ebuild
-rw-r--r--gui-apps/somebar/somebar-9999.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/gui-apps/somebar/somebar-9999.ebuild b/gui-apps/somebar/somebar-9999.ebuild
new file mode 100644
index 0000000..da06bb5
--- /dev/null
+++ b/gui-apps/somebar/somebar-9999.ebuild
@@ -0,0 +1,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
+}