mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
af20df52ea
commit
6719b7e5c5
1 changed files with 20 additions and 8 deletions
|
@ -1,23 +1,35 @@
|
||||||
# Template file for 'ironbar'
|
# Template file for 'ironbar'
|
||||||
pkgname=ironbar
|
pkgname=ironbar
|
||||||
version=0.14.1
|
version=0.15.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="pkg-config"
|
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"
|
short_desc="Customisable gtk-layer-shell wlroots/sway bar"
|
||||||
maintainer="caughtquick <abhijit@sipahimalani.me>"
|
maintainer="caughtquick <abhijit@sipahimalani.me>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/JakeStanger/ironbar"
|
homepage="https://github.com/JakeStanger/ironbar"
|
||||||
changelog="https://github.com/JakeStanger/ironbar/releases/"
|
changelog="https://github.com/JakeStanger/ironbar/releases/"
|
||||||
distfiles="https://github.com/JakeStanger/ironbar/archive/refs/tags/v${version}.tar.gz"
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vsconf examples/config.corn
|
|
||||||
vsconf examples/config.json
|
local f
|
||||||
vsconf examples/config.yaml
|
for f in examples/*; do
|
||||||
vsconf examples/config.toml
|
[ -f "${f}" ] && vsconf "${f}"
|
||||||
vsconf examples/style.css
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue