summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-06-26 11:33:14 -0700
committerChris Sobczak <chris@sobczak.family>2026-06-26 11:33:14 -0700
commitb250384621599c770f897bd0d076de2518464344 (patch)
tree6f15e529984909955f6ed7411b56ef79526d1168
parent93080db27801e5abd549efa18b20778a53a8456f (diff)
Add somebar ebuild
-rw-r--r--gui-apps/somebar-9999.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/gui-apps/somebar-9999.ebuild b/gui-apps/somebar-9999.ebuild
new file mode 100644
index 0000000..700fa6b
--- /dev/null
+++ b/gui-apps/somebar-9999.ebuild
@@ -0,0 +1,41 @@
+# 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 the 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
+}