36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'ironbar'
|
|
pkgname=ironbar
|
|
version=0.15.1
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
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=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
|
|
|
|
local f
|
|
for f in examples/*; do
|
|
[ -f "${f}" ] && vsconf "${f}"
|
|
done
|
|
}
|