commit: 2ef527588352d9e95b72da03cfc5cd4ec5922fd0 Author: Dex Conner <cantcuckthis <AT> danwin1210 <DOT> de> AuthorDate: Sun Apr 10 09:04:08 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Sun Apr 10 09:04:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ef52758
gui-apps/somebar: initial import Signed-off-by: Dex Conner <cantcuckthis <AT> danwin1210.de> gui-apps/somebar/metadata.xml | 8 ++++++++ gui-apps/somebar/somebar-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/gui-apps/somebar/metadata.xml b/gui-apps/somebar/metadata.xml new file mode 100644 index 000000000..2ad19f02c --- /dev/null +++ b/gui-apps/somebar/metadata.xml @@ -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>cantcuckt...@danwin1210.de</email> + <name>Dex Conner</name> + </maintainer> +</pkgmetadata> diff --git a/gui-apps/somebar/somebar-9999.ebuild b/gui-apps/somebar/somebar-9999.ebuild new file mode 100644 index 000000000..1ec94a368 --- /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 +}