From 6ef7087bf6db47328f4a3df9fc2a04d349440d2b Mon Sep 17 00:00:00 2001 From: uglyside Date: Tue, 4 Feb 2025 22:07:18 +0300 Subject: [PATCH] polybar-3.7.2 --- x11/misc/polybar/actions.py | 38 ++++++++++------------- x11/misc/polybar/pspec.xml | 60 ++++++++++++++++++++++--------------- 2 files changed, 51 insertions(+), 47 deletions(-) diff --git a/x11/misc/polybar/actions.py b/x11/misc/polybar/actions.py index 409d73f491..9db373da17 100644 --- a/x11/misc/polybar/actions.py +++ b/x11/misc/polybar/actions.py @@ -2,33 +2,25 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools -from pisi.actionsapi import cmaketools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import cmaketools, mesontools, pisitools + +k = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DPYTHON_EXECUTABLE=/usr/bin/python3', + ' -DBUILD_DOC_HTML=OFF', + ' -Bbuild -G Ninja -L ' + ]) def setup(): - shelltools.makedirs("build") - shelltools.cd("build") - - cmaketools.configure("-D CMAKE_BUILD_TYPE=Release \ - -DENABLE_ALSA=ON \ - -DENABLE_CURL=ON \ - -DENABLE_I3=ON \ - -DBUILD_IPC_MSG=ON \ - -DENABLE_NETWORK=ON \ - -DENABLE_PULSEAUDIO=ON", sourceDir="..") - + cmaketools.configure(k) def build(): - - shelltools.cd("build") - - cmaketools.make() - #cmaketools.make("doc") + mesontools.build() def install(): - shelltools.cd("build") - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + mesontools.install() + + pisitools.dodoc("LICENSE") diff --git a/x11/misc/polybar/pspec.xml b/x11/misc/polybar/pspec.xml index b962e29714..f20276d34d 100644 --- a/x11/misc/polybar/pspec.xml +++ b/x11/misc/polybar/pspec.xml @@ -1,5 +1,5 @@ - + polybar @@ -8,56 +8,68 @@ Ertuğrul Erata ertugrulerata@gmail.com - GPLv2 + MIT app:gui - A fast and easy to use tool for creating status bars + A fast and easy-to-use status bar. Polybar aims to help users build beautiful and highly customizable status bars for their desktop environment, without the need of having a black belt in shell scripting. - https://github.com/jaagr/polybar/releases/download/3.4.2/polybar-3.4.2.tar + https://github.com/polybar/polybar/releases/download/3.7.2/polybar-3.7.2.tar.gz cmake - i3wm-devel + ninja xcb-proto - cairo-devel curl-devel - xcb-util-xrm-devel + i3wm-devel + cairo-devel + libuv-devel libnl-devel - wireless-tools-devel - alsa-lib-devel jsoncpp-devel + alsa-lib-devel + xcb-util-devel + python3-sphinx + xkeyboard-config + xcb-util-wm-devel + python3-packaging + libmpdclient-devel + xcb-util-image-devel + wireless-tools-devel pulseaudio-libs-devel - + + + polybar - libgcc - cairo curl - libxcb - freetype - fontconfig - xcb-util-xrm - xcb-util-wm - xcb-util-cursor + cairo + libuv libnl jsoncpp alsa-lib + xcb-util-wm + libmpdclient + xcb-util-image + wireless-tools pulseaudio-libs + xkeyboard-config + /etc /usr/bin - /usr/share/bash-completion - /usr/share/man - /usr/share/doc - /usr/share/zsh + /usr/share + + 2025-02-05 + 3.7.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-01-25 3.4.2