diff --git a/gui-apps/somebar/metadata.xml b/gui-apps/somebar/metadata.xml new file mode 100644 index 0000000000..2ad19f02c3 --- /dev/null +++ b/gui-apps/somebar/metadata.xml @@ -0,0 +1,8 @@ + + + + + cantcuckthis@danwin1210.de + Dex Conner + + diff --git a/gui-apps/somebar/somebar-9999.ebuild b/gui-apps/somebar/somebar-9999.ebuild new file mode 100644 index 0000000000..1ec94a368e --- /dev/null +++ b/gui-apps/somebar/somebar-9999.ebuild @@ -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 +}