commit:     bd9fd2ef2cd28def490071d1691405dde4a50c0f
Author:     Charlie Quinet <w.iron.zombie <AT> gmail <DOT> com>
AuthorDate: Thu Jun 19 19:31:05 2025 +0000
Commit:     Quinet Charlie <w.iron.zombie <AT> gmail <DOT> com>
CommitDate: Thu Jun 19 19:31:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd9fd2ef

gui-apps/ironbar: add live ebuild

No new point release was made since november 2024 so this could prove useful

Signed-off-by: Charlie Quinet <w.iron.zombie <AT> gmail.com>

 gui-apps/ironbar/ironbar-9999.ebuild | 87 ++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/gui-apps/ironbar/ironbar-9999.ebuild 
b/gui-apps/ironbar/ironbar-9999.ebuild
new file mode 100644
index 0000000000..655b682858
--- /dev/null
+++ b/gui-apps/ironbar/ironbar-9999.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cargo git-r3
+
+DESCRIPTION="Customisable Wayland gtk bar written in Rust"
+HOMEPAGE="https://crates.io/crates/ironbar";
+EGIT_REPO_URI="https://github.com/JakeStanger/${PN}";
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 BSD CC0-1.0 GPL-3+ ISC MIT MPL-2.0 Unicode-DFS-2016
+"
+SLOT="0"
+IUSE="cairo +http +music notifications +tray +volume"
+
+DEPEND="
+       x11-libs/gtk+:3=[wayland]
+       gui-libs/gtk-layer-shell[introspection]
+       cairo? ( dev-lua/lgi[lua_targets_luajit] )
+       http? ( dev-libs/openssl:0= )
+       music? ( sys-apps/dbus )
+       notifications? ( gui-apps/swaync )
+       tray? ( dev-libs/libdbusmenu[gtk3] )
+       volume? ( media-libs/libpulse )
+"
+BDEPEND="
+       virtual/pkgconfig
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_unpack() {
+       git-r3_src_unpack
+       cargo_live_src_unpack
+}
+
+src_configure() {
+       # high magic to allow system-libs
+       export OPENSSL_NO_VENDOR=true
+       export PKG_CONFIG_ALLOW_CROSS=1
+
+       local myfeatures=(
+               "cli"
+               $(usev cairo)
+               "clipboard"
+               "clock"
+               "config+all"
+               "custom"
+               "focused"
+               $(usev http)
+               "ipc"
+               "keyboard+all"
+               "label"
+               "launcher"
+               "menu"
+               $(usex "music" "music+all" "")
+               "network_manager"
+               $(usev notifications)
+               "script"
+               "sys_info"
+               $(usev tray)
+               "upower"
+               $(usev volume)
+               "workspaces+all"
+       )
+       cargo_src_configure --no-default-features
+}
+
+src_install() {
+       cargo_src_install
+
+       local DOCS=(
+               CHANGELOG.md
+               CONTRIBUTING.md
+               README.md
+               examples/
+       )
+       local HTML_DOCS=(
+               docs/
+       )
+       docompress -x /usr/share/doc/${PF}/examples
+       einstalldocs
+}

Reply via email to