mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
@@ -2,3 +2,5 @@ DIST ironbar-0.17.1-crates.tar.xz 32934064 BLAKE2B f78a9152496c6e32679c3972c2c15
|
||||
DIST ironbar-0.17.1.tar.gz 286414 BLAKE2B d02d083c962654c3c44c5441c898bfc265ae712b6dc26f6adb26077aa7bd5d464b06cc06108ec7c55de78c6cb79575d2164fd3ebd3cba1da09acce7dd07ab802 SHA512 3843422dd318c382ce10729239ff98146bee213e2185e24a5fd2194faa8f41f5e1a4e3bb012b4fc74a9eb0fe1f45e5f80e20755c9a6623541838ca24dde15b04
|
||||
DIST ironbar-0.18.0-crates.tar.xz 33444400 BLAKE2B 112daf8ce1cce0982936ca0c2f43d2dfaf105e291c98872fd72b2c264362ddddc03de4b58c6dc18bd81e3342333129b0c4aa37960f7dc66fb6259081db30cda8 SHA512 bce935da7616e968334a9c709b530a58c56313de2f7e24cad9e1ce26fcb6e45dcda625138dd044c953c97f8b6db164d5f0fe3c2d19b23fd4ad5ebf69ac5d2b98
|
||||
DIST ironbar-0.18.0.tar.gz 308950 BLAKE2B 000bfd08470f74c81b345735fad125dffca57e12546f40040d837300a5e40a5e613ac8f1bfaa6d477ac7706464f1e0a2652749fcd0979c1de70a7bb0b82b4102 SHA512 053090910adef44a354022cf9aecffed894a49bec40dd11c7a64a31ef0b3058bd1ff8c2d83684008ff50dec6ca6ee74d66af502b466715aad3ff88259ffc5fe7
|
||||
DIST ironbar-0.19.0-crates.tar.xz 41913080 BLAKE2B c17ee24225248e56636909ad2cf6fb3bc12810095217249d91e1f0d943317dad3f35f2dae09125c35f9e06112ba4ffc1b7c24da9d121a2d1b8b088bbc6a5d1c5 SHA512 77b1aaddfd55f185ddeea5a35b5918c57b8ebf17317e561d178259b7ef3e4dc1eb9ae2f1fae7829cb9054ff8b812b2ef9c8ee594af7f587d11003520c623f8a2
|
||||
DIST ironbar-0.19.0.tar.gz 360974 BLAKE2B a3091ca4f50a581bedac0cd7136aabb09410a5f36f39f05597b8dae37bcb84195c8be7a291c24f8dcb5f83dfbd3c8f0b61873040c46ca5b0df7b44e120c62523 SHA512 7bd0c81470acbf5987df260ca587b9aee45de4d95853a2244c673f9a00679de0d2b6597c24f7cb5b355c57b7cba4cb9322d81aa5109a41bc6368b3dbfdcf3d52
|
||||
|
||||
96
gui-apps/ironbar/ironbar-0.19.0.ebuild
Normal file
96
gui-apps/ironbar/ironbar-0.19.0.ebuild
Normal file
@@ -0,0 +1,96 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cargo
|
||||
|
||||
RUST_MIN_VER="1.88.0"
|
||||
|
||||
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] )
|
||||
keyboard? ( dev-libs/libinput )
|
||||
music? ( sys-apps/dbus )
|
||||
notifications? ( gui-apps/swaync )
|
||||
volume? ( media-libs/libpulse )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-libs/glib
|
||||
dev-libs/libevdev
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local myfeatures=(
|
||||
"battery"
|
||||
"bindmode+all"
|
||||
"bluetooth"
|
||||
"brightness"
|
||||
"cli"
|
||||
$(usev cairo)
|
||||
"clipboard"
|
||||
"clock"
|
||||
"config+all"
|
||||
"custom"
|
||||
"extras"
|
||||
"focused"
|
||||
"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
|
||||
}
|
||||
Reference in New Issue
Block a user