summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}