gui-apps/sfwbar: version bump to 1.0_beta17

Signed-off-by: Lev Babiev <harley@hosers.org>
This commit is contained in:
Lev Babiev
2026-03-18 22:16:36 +00:00
parent 2daca49686
commit 68faf1ecff
3 changed files with 79 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sfwbar-1.0_beta16.1.tar.gz 466343 BLAKE2B a1a605ef1d3b6c6c471ae7852b610bd2e9b930f29caec5e378b3feb08b9a14bae422a0eba2bb8315061573724ef55dbdc67ba4cd20013c11eb957fba29089765 SHA512 f26d7ea743fbac1750fcd804b605d45239ab3935f0661b9affb4108cdc460e919e5720fedf94572cdc8d8f33391ad130ae9eb09300dc917f6f72ee8263204292
DIST sfwbar-1.0_beta17.tar.gz 518367 BLAKE2B 1c22548708d372d912a8f319c6faaaa7729b28cc9975125279d26076f4ead54d78f9c8e6ea01e880ca8dd0587dacf43154ffed007f4d80c0c0743fb50146454f SHA512 f9444ace3e01997aecba7bf2a6e1edfdbe6bf67022d7ec60874e2f86da20e0e3c1a41defa7720f74eb1ff646ce65fa0343a89186883c3ac7ae59001e22aeaf23

View File

@@ -16,6 +16,7 @@
<flag name="idleinhibit">Enable support for Idle inhibit protocol. Prevents screenlockers (e.g swaylock) from popping up by inhibiting idle mode</flag>
<flag name="bsdctl">Enable support for BSD sysctl module. Default disabled by upstream</flag>
<flag name="man">Rebuild man pages from rst files</flag>
<flag name="pipewire">Enable support for pipewire privacy monitor</flag>
</use>
<upstream>
<remote-id type="github">LBCrion/sfwbar</remote-id>

View File

@@ -0,0 +1,77 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PV="1.0_beta17"
MY_P="sfwbar-1.0_beta17"
inherit meson xdg-utils
DESCRIPTION="S* Floating Window Bar"
HOMEPAGE="https://github.com/LBCrion/sfwbar"
if [ "${PV}" == 9999 ] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/LBCrion/${PN}"
else
SRC_URI="https://github.com/LBCrion/${PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
KEYWORDS="~amd64"
fi
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0"
IUSE="+menu +X +mpd pulseaudio alsa +network +networkmanager +iwd +bluetooth +notification +man +idleinhibit bsdctl pipewire +dbus"
COMMON_DEPEND="
dev-libs/glib:2
dev-libs/json-c:=
dev-libs/wayland
gui-libs/gtk-layer-shell
>=x11-libs/gtk+-3.22.0:3[introspection,wayland]
X? ( x11-libs/libxkbcommon )
pipewire? ( media-video/pipewire )
pulseaudio? ( media-libs/libpulse[glib] )
alsa? ( media-libs/alsa-lib )
"
RDEPEND="${COMMON_DEPEND}
virtual/freedesktop-icon-theme
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/pango
"
DEPEND="${COMMON_DEPEND}
>=dev-libs/wayland-protocols-1.17
"
BDEPEND="dev-util/wayland-scanner"
src_configure() {
local emesonargs=(
$(meson_feature alsa)
$(meson_feature mpd)
$(meson_feature pulseaudio pulse)
$(meson_feature X xkb)
$(meson_feature network)
$(meson_feature networkmanager nm)
$(meson_feature iwd)
$(meson_feature menu appmenu)
$(meson_feature bluetooth bluez)
$(meson_feature bsdctl)
$(meson_feature notification ncenter)
$(meson_feature notification idle)
$(meson_feature man build-docs)
$(meson_feature idleinhibit)
$(meson_feature pipewire)
$(meson_feature dbus)
)
meson_src_configure
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}