ironbar: update to 0.15.1.

Closes: #50130.
This commit is contained in:
Andrew J. Hesford 2024-06-07 14:24:24 -04:00
parent af20df52ea
commit 6719b7e5c5

View File

@ -1,23 +1,35 @@
# Template file for 'ironbar'
pkgname=ironbar
version=0.14.1
version=0.15.1
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="gtk+3-devel gtk-layer-shell-devel"
makedepends="gtk+3-devel gtk-layer-shell-devel pulseaudio-devel"
short_desc="Customisable gtk-layer-shell wlroots/sway bar"
maintainer="caughtquick <abhijit@sipahimalani.me>"
license="MIT"
homepage="https://github.com/JakeStanger/ironbar"
changelog="https://github.com/JakeStanger/ironbar/releases/"
distfiles="https://github.com/JakeStanger/ironbar/archive/refs/tags/v${version}.tar.gz"
checksum=3259397f6204fb2d8fd92451240a3a7650fe7fa58f067b1fa4e917c87f0effac
checksum=a322ad99c0456705ae16bce7fd066bbffc1a3fc28211c6189a9d7df82a9cce98
if [ "${XBPS_WORDSIZE}" == "${XBPS_TARGET_WORDSIZE}" ]; then
makedepends+=" LuaJIT-devel"
else
# Disable cairo feature that requires LuaJIT; otherwise,
# keep this feature list in sync with Cargo.toml
configure_args+=" --no-default-features
--features=cli,clipboard,clock,config+all,focused
--features=http,ipc,launcher,music+all,notifications
--features=sys_info,tray,upower,volume,workspaces+all
"
fi
post_install() {
vlicense LICENSE
vsconf examples/config.corn
vsconf examples/config.json
vsconf examples/config.yaml
vsconf examples/config.toml
vsconf examples/style.css
local f
for f in examples/*; do
[ -f "${f}" ] && vsconf "${f}"
done
}