gui-apps/ironbar - 0.18.0 (guru)

Search

Install

Install this version:

emerge -a =gui-apps/ironbar-0.18.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/ironbar-0.18.0

Or alternatively:

emerge --autounmask-write -a =gui-apps/ironbar-0.18.0

Package Information

Description:
Customisable Wayland gtk bar written in Rust
Homepage:
https://crates.io/crates/ironbar
License:
MIT Apache-2.0 BSD CC0-1.0 GPL-3+ ISC MIT MPL-2.0 Unicode-DFS-2016

Ebuild Details

Version EAPI Keywords Slot
0.18.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cargo

RUST_MIN_VER="1.88"

DESCRIPTION="Customisable Wayland gtk bar written in Rust"
HOMEPAGE="https://crates.io/crates/ironbar"
SRC_URI="https://github.com/JakeStanger/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"

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"
KEYWORDS="~amd64"
IUSE="cairo +http +keyboard +music notifications +tray +volume"

DEPEND="
	gui-libs/gtk[wayland]
	gui-libs/gtk4-layer-shell[introspection]
	cairo? ( dev-lua/lgi[lua_targets_luajit] )
	http? ( dev-libs/openssl:0= )
	keyboard? ( dev-libs/libinput )
	music? ( sys-apps/dbus )
	notifications? ( gui-apps/swaync )
	volume? ( media-libs/libpulse )
"
RDEPEND="${DEPEND}"
BDEPEND="
	virtual/pkgconfig
"

QA_FLAGS_IGNORED="usr/bin/${PN}"

src_configure() {
	# high magic to allow system-libs
	export OPENSSL_NO_VENDOR=true
	export PKG_CONFIG_ALLOW_CROSS=1

	local myfeatures=(
		"battery"
		"bindmode+all"
		"bluetooth"
		"cli"
		$(usev cairo)
		"clipboard"
		"clock"
		"config+all"
		"custom"
		"focused"
		$(usev http)
		"ipc"
		$(usex "keyboard" "keyboard+all" "")
		"label"
		"launcher"
		"menu"
		$(usex "music" "music+all" "")
		"network_manager"
		$(usev notifications)
		"script"
		"sys_info"
		$(usev tray)
		$(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
}

USE Flags

Manage flags for this package: euse -i <flag> -p gui-apps/ironbar | euse -E <flag> -p gui-apps/ironbar | euse -D <flag> -p gui-apps/ironbar

Global/Standard Flags

http
Default: Enabled (+)
keyboard
Default: Enabled (+)
music
Default: Enabled (+)
tray
Default: Enabled (+)
volume
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	gui-libs/gtk[wayland]
	gui-libs/gtk4-layer-shell[introspection]
	cairo? ( dev-lua/lgi[lua_targets_luajit] )
	http? ( dev-libs/openssl:0= )
	keyboard? ( dev-libs/libinput )
	music? ( sys-apps/dbus )
	notifications? ( gui-apps/swaync )
	volume? ( media-libs/libpulse )

RDEPEND

	gui-libs/gtk[wayland]
	gui-libs/gtk4-layer-shell[introspection]
	cairo? ( dev-lua/lgi[lua_targets_luajit] )
	http? ( dev-libs/openssl:0= )
	keyboard? ( dev-libs/libinput )
	music? ( sys-apps/dbus )
	notifications? ( gui-apps/swaync )
	volume? ( media-libs/libpulse )

BDEPEND

	virtual/pkgconfig

Manifest for 0.18.0

Type File Size Source URLs
DIST ironbar-0.18.0-crates.tar.xz 33444400 bytes https://github.com/gentoo-crate-dist/ironbar/releases/download/v0.18.0/ironbar-0.18.0-crates.tar.xz
DIST ironbar-0.18.0.tar.gz 308950 bytes https://github.com/JakeStanger/ironbar/archive/refs/tags/v0.18.0.tar.gz