gui-apps/yambar: add 1.10.0

Closes: https://bugs.gentoo.org/910408
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
CaptainBlood
2023-08-30 19:29:18 -04:00
committed by Julien Roy
parent 84637e9342
commit 6028a3279a
2 changed files with 108 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST yambar-1.10.0.tar.gz 190288 BLAKE2B 35bfd50b27241724fa29f0ea6b1031dad793d1ff2c8342f5ed40bdc1fb390a32813d17b6c3063184109769a54fb5c5bce876a83974cdbb17679fd80a88d9d797 SHA512 c8d1e807017f62886cba65dab9933913f473eeeae8cbf8d44ddd4953754a55c81def9a02506b28a7ea7264325748db0a0ca4cdff39ba74a06f531e6e55878b35
DIST yambar-1.6.2.tar.gz 135455 BLAKE2B 71d5b584bf04a7212ac84d8e0d8cb71c1abd7c7548c5ec998aff480d76afbd09825b059fe642edd4dd2537af6a5b811bd333a45bfa53f6a3a814a2be95eb58b4 SHA512 64a5e983be6dc99feb2f39d06fe265163c3b8f3f23f33a58c386891b63a9c915816cbde22d031473e700e839522c86c53b06f0cce1a57ebdab8ed6aeebe627e1
DIST yambar-1.7.0.tar.gz 148762 BLAKE2B a394b588bb1a8c64e149f8f39d6a8056d139cb3518fc15c87db0da7ead9c96ce5d7b9d764a617c4626d9fa574edbda2c0e1e2b11b07741241188c5cd282d5643 SHA512 e34cc808533cf76ff0b95d18346b796b4758271b0a61151e80b33eaa0ce34c2d5a9f1c6671d28f377d1563a7979c5784782b9f2f87a3cb615efb129e89865ad3
DIST yambar-1.8.0.tar.gz 157936 BLAKE2B d9fc01d71c89550c59b470f9bd3de27e44cc5d64f2103f8803c9c2b25c51b5240f54c41041c126df2b606ae011d9fca974723cafb45670eae70ef20bb3f765b6 SHA512 db2c3669162923b4ca2b1f13f50d203de2a0eb6963e6d2bfe8b03e41c7cb4ad9acf6607eef08b6da837c901374c89affb915aa44f2bc2e0eb4694ad91ae66a67

View File

@@ -0,0 +1,107 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/${PN}.git"
else
SRC_URI="https://codeberg.org/dnkl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
KEYWORDS="~amd64"
fi
DESCRIPTION="Simplistic and highly configurable status panel for X and Wayland"
HOMEPAGE="https://codeberg.org/dnkl/yambar"
LICENSE="MIT"
SLOT="0"
IUSE="core +alsa +backlight +battery +clock +cpu +disk-io +dwl +foreign-toplevel +memory +mpd +i3 +label +network +pipewire +pulseaudio +removables +river +script sway-xkb wayland X xkb xwindow"
REQUIRED_USE="
|| ( wayland X )
sway-xkb? ( wayland )
xkb? ( X )
xwindow? ( X )
"
RDEPEND="
>=media-libs/fcft-2.4.0
dev-libs/libyaml
alsa? ( media-libs/alsa-lib )
backlight? ( virtual/libudev:= )
battery? ( virtual/libudev:= )
mpd? ( media-libs/libmpdclient )
pipewire? (
dev-libs/json-c
media-video/pipewire
)
pulseaudio? ( media-libs/libpulse )
removables? ( virtual/libudev:= )
sway-xkb? ( dev-libs/json-c )
x11-libs/pixman
X? (
x11-libs/libxcb:0=[xkb]
x11-libs/xcb-util
x11-libs/xcb-util-cursor
x11-libs/xcb-util-wm
)
wayland? ( dev-libs/wayland )
"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/scdoc
>=dev-libs/tllist-1.0.1
>=dev-util/meson-0.53.0
virtual/pkgconfig
wayland? (
dev-libs/wayland-protocols
dev-util/wayland-scanner
)
"
src_configure() {
local emesonargs=(
$(meson_feature wayland backend-wayland)
$(meson_feature X backend-x11)
$(meson_use core core-plugins-as-shared-libraries)
$(meson_feature alsa plugin-alsa)
$(meson_feature backlight plugin-backlight)
$(meson_feature battery plugin-battery)
$(meson_feature clock plugin-clock)
$(meson_feature cpu plugin-cpu)
$(meson_feature disk-io plugin-disk-io)
$(meson_feature dwl plugin-dwl)
$(meson_feature foreign-toplevel plugin-foreign-toplevel)
$(meson_feature memory plugin-mem)
$(meson_feature mpd plugin-mpd)
$(meson_feature i3 plugin-i3)
$(meson_feature label plugin-label)
$(meson_feature network plugin-network)
$(meson_feature pipewire plugin-pipewire)
$(meson_feature pulseaudio plugin-pulse)
$(meson_feature removables plugin-removables)
$(meson_feature river plugin-river)
$(meson_feature script plugin-script)
$(meson_feature sway-xkb plugin-sway-xkb)
$(meson_feature xkb plugin-xkb)
$(meson_feature xwindow plugin-xwindow)
-Dwerror=false
)
meson_src_configure
}
src_install() {
meson_src_install
if use core; then
mv "${D}"/usr/lib64/yambar/libdynlist.so "${D}"/usr/lib64/libdynlist.so || die
fi
rm -rf "${D}/usr/share/doc/${PN}" || die
}
pkg_postinst() {
ewarn "Warning: if you are upgrading from 1.8.0, please note that there are breaking changes that might affect your config.yml file."
ewarn "See the changelog for more information"
ewarn "https://codeberg.org/dnkl/yambar/releases/tag/1.9.0"
}