polybar: update to 3.5.0.
- Add workaround for missing libatomic on armv6l.
This commit is contained in:
parent
929ec71543
commit
349a2c878f
1 changed files with 8 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'polybar'
|
||||
pkgname=polybar
|
||||
version=3.4.3
|
||||
revision=2
|
||||
version=3.5.0
|
||||
revision=1
|
||||
wrksrc="$pkgname"
|
||||
build_style=cmake
|
||||
configure_args="
|
||||
|
@ -26,7 +26,7 @@ maintainer="Michael Carlberg <c@rlberg.se>"
|
|||
license="MIT"
|
||||
homepage="https://github.com/jaagr/polybar"
|
||||
distfiles="https://github.com/jaagr/polybar/releases/download/${version}/polybar-${version}.tar"
|
||||
checksum=d4ed121c1d3960493f8268f966d65a94d94c4646a4abb131687e37b63616822f
|
||||
checksum=e8c1798c195854852fc7c99703287294123381101b371f171d4aa540aeb17afd
|
||||
|
||||
build_options="alsa curl i3 mpd network pulseaudio"
|
||||
build_options_default="$build_options"
|
||||
|
@ -46,6 +46,11 @@ if [ "$build_option_network" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES='-latomic'"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
# Fixes compilation with musl
|
||||
sed -i 's|strncpy(header->magic, g_i3_ipc_magic.c_str(),|memcpy(header->magic, g_i3_ipc_magic.c_str(),|g' lib/i3ipcpp/src/ipc-util.cpp
|
||||
|
|
Loading…
Reference in a new issue