Update PKGBUILD for 3.5.6

We can now remove the temporary fix for the i3 crash
This commit is contained in:
patrick96 2021-05-24 01:19:10 +02:00 committed by Patrick Ziegler
parent c65f6857e1
commit e66a678c12
2 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Patrick Ziegler <p.ziegler96@gmail.com> # Maintainer: Patrick Ziegler <p.ziegler96@gmail.com>
_pkgname=polybar _pkgname=polybar
pkgname="${_pkgname}-git" pkgname="${_pkgname}-git"
pkgver=3.5.5 pkgver=3.5.6
pkgrel=1 pkgrel=1
pkgdesc="A fast and easy-to-use status bar" pkgdesc="A fast and easy-to-use status bar"
arch=("i686" "x86_64") arch=("i686" "x86_64")

View File

@ -1,7 +1,7 @@
# Maintainer: Patrick Ziegler <p.ziegler96@gmail.com> # Maintainer: Patrick Ziegler <p.ziegler96@gmail.com>
pkgname=polybar pkgname=polybar
pkgver=3.5.5 pkgver=3.5.6
pkgrel=2 pkgrel=1
pkgdesc="A fast and easy-to-use status bar" pkgdesc="A fast and easy-to-use status bar"
arch=("i686" "x86_64") arch=("i686" "x86_64")
url="https://github.com/polybar/polybar" url="https://github.com/polybar/polybar"
@ -16,7 +16,7 @@ makedepends=("cmake" "python" "pkg-config" "python-sphinx" "python-packaging" "i
conflicts=("polybar-git") conflicts=("polybar-git")
install="${pkgname}.install" install="${pkgname}.install"
source=(${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz) source=(${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('7e625d3b6f7885587e70200fd81c2a5d3fb03f5649422de8e138747152ca0bb1') sha256sums=('dfe602fc6ac96eac2ae0f5deb2f87e0dd1f81ea5d0f04ad3b3bfd71efd5cc038')
_dir="${pkgname}-${pkgver}" _dir="${pkgname}-${pkgver}"
prepare() { prepare() {
@ -26,9 +26,7 @@ prepare() {
build() { build() {
cd "${_dir}/build" || exit 1 cd "${_dir}/build" || exit 1
# Force cmake to use system python (to detect xcbgen) # Force cmake to use system python (to detect xcbgen)
# We need to turn off _GLIBCXX_ASSERTIONS because of a bug in polybar: cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
# https://github.com/polybar/polybar/issues/2416
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-U_GLIBCXX_ASSERTIONS" -DPYTHON_EXECUTABLE=/usr/bin/python3 ..
cmake --build . cmake --build .
} }