2016-11-20 02:00:31 +00:00
|
|
|
# Maintainer: Michael Carlberg <c@rlberg.se>
|
|
|
|
# Contributor: Michael Carlberg <c@rlberg.se>
|
|
|
|
pkgname=polybar
|
2019-10-30 13:07:34 +00:00
|
|
|
pkgver=3.4.1
|
|
|
|
pkgrel=1
|
2016-11-20 02:00:31 +00:00
|
|
|
pkgdesc="A fast and easy-to-use status bar"
|
|
|
|
arch=("i686" "x86_64")
|
2019-05-06 11:51:49 +00:00
|
|
|
url="https://github.com/polybar/polybar"
|
2016-11-20 02:00:31 +00:00
|
|
|
license=("MIT")
|
2019-07-18 14:24:15 +00:00
|
|
|
depends=("cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm" "xcb-util-cursor"
|
2019-07-30 17:40:55 +00:00
|
|
|
"alsa-lib" "libpulse" "libmpdclient" "libnl" "jsoncpp" "curl")
|
2019-07-18 14:24:15 +00:00
|
|
|
optdepends=("i3-wm: i3 module support"
|
2016-11-20 02:06:03 +00:00
|
|
|
"ttf-unifont: Font used in example config"
|
2016-12-23 16:04:38 +00:00
|
|
|
"siji-git: Font used in example config"
|
2019-07-18 14:24:15 +00:00
|
|
|
"xorg-fonts-misc: Font used in example config")
|
2019-10-30 13:07:34 +00:00
|
|
|
makedepends=("cmake" "git" "python" "pkg-config" "python-sphinx" "i3-wm")
|
2017-01-27 03:15:41 +00:00
|
|
|
conflicts=("polybar-git")
|
2017-01-02 01:32:16 +00:00
|
|
|
install="${pkgname}.install"
|
2019-01-08 16:05:56 +00:00
|
|
|
source=(${url}/releases/download/${pkgver}/polybar-${pkgver}.tar)
|
2019-10-30 13:07:34 +00:00
|
|
|
sha256sums=('9e37fa48a1027881f14546f2b4f6ace4c91d09a20a293685f845da9cbaedc4eb')
|
2016-11-20 02:00:31 +00:00
|
|
|
|
|
|
|
prepare() {
|
2017-01-27 03:15:41 +00:00
|
|
|
mkdir -p "${pkgname}/build"
|
2016-11-20 02:00:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-01-27 03:15:41 +00:00
|
|
|
cd "${pkgname}/build" || exit 1
|
Release 3.1.0 (#863)
Breaking Changes:
* Date module no longer supports non-padded specifiers (i.e. `%-d`) and potentially other specifiers, see #792
- Check http://en.cppreference.com/w/cpp/io/manip/put_time to see supported specifiers
* Setting background color to `background-0` with gradients (refer to https://github.com/jaagr/polybar/wiki/Known-Issues)
Changelog:
Features:
* Feat(mpd): State-specific formats (`format-playing`, `format-paused`, `format-stopped`) (#567), see #524
* Feat(ipc): Visibility commands (show, hide, toggle, restart, quit) (b6c5563)
* Feat(shell): Bash completion (#588)
* Feat(menu): `expand-right` option (#658), see #655
* Feat(temperature): hwmon sysfs support (#688), see #404
* Feat(cursor): Change cursors over clickable/scrollable areas (#727), see #721
* Feat(temperature): Fahrenheit and Celsius tokens (#804)
* Feat(mpd): Use mpd name tag or URI as fallback for title-less tracks (#823), see #815
Fixes:
* Fix(i3): Clicking workspaces without index (#521), see #520
* Fix(parser): Prefix options overriding format options (#729), see #544
* Fix(parser): Overline tags (eebf105)
* Fix(process_util): Prefix shell environment variable (`$POLYBAR_SHELL`) (86ff947), see #566
* Fix(parser): `%{R}` tag (reverse colors) (0bd8f1f), see #585
* Fix(renderer): Center block position with tray (389bae2 & #673), see #551 & #672
* Fix(xworkpaces): Active workspace with XMonad (#587), see #411 & #535
* Fix(config): Expand tilde, environment variable (d3b0670 & #724), see #603 & #719
* Fix(build): Remove curlbuild.h (#648), see #647
* Fix(renderer): Off by one error for actions (#663), see #661
* Fix(gcc): GCC 7.1 ([jaagr/xpp/#6](https://github.com/jaagr/xpp/pull/6))
* Fix(fs): Use `bytes_available` for `percentage_used` (138f5fa), see #710
* Fix(fs): Use `f_frsize` for calculations (a682d2a)
* Fix(date): Remove date string length limitation (#745), see #754
* Fix(renderer): Nested actions (#772), see #760 and #758
* Fix(i3): Check and warn if current workspace not found (#826), see #824
* Fix(github): Prevent module disappearing with no connection (#811), see #810
* Fix(renderer): Module gradients (#831), see #759
* Fix(build): Update deprecated jsoncpp Reader
2017-12-03 17:03:49 +00:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
2017-01-27 03:15:41 +00:00
|
|
|
cmake --build .
|
2016-11-20 02:00:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-01-27 03:15:41 +00:00
|
|
|
cmake --build "${pkgname}/build" --target install -- DESTDIR="${pkgdir}"
|
|
|
|
install -Dm644 "${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
2016-11-20 02:00:31 +00:00
|
|
|
}
|