dev-libs/girara: add 0.4.5 with improvements

- add comment about RDEPEND
- add gettext to BDEPEND
- add DOCS
- make USE="doc test" actually work
- make SLOT assignment automatic
- remove libnotify USE flag (dropped in 0.4.3)
- remove dev-libs/check dependency as upstream moved to glib
- remove empty line between IUSE & RESTRICT
- update EGIT_REPO_URI

Signed-off-by: Filip Kobierski <fkobi@pm.me>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Filip Kobierski
2025-03-10 02:50:55 +00:00
committed by Sam James
parent 61f3392c45
commit ab22dfe9fa
2 changed files with 65 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST girara-0.4.2.tar.xz 61468 BLAKE2B 7be287045c269c8a1f2b51b14f0b7f840d7d5929f81c27410a86653943f73b07a1ce16c5a5fe420e7df6f02d4f426b48a622d4cf483dc5065cd8551e273d8fcf SHA512 70dddf8998e37acce25325ddeb5a9b5c5844669b51320733d9d7a572831f28c72207aa6d608b7a856969d7fd0785cbab076596b814eb2e9ef37bf49bb5d476ae
DIST girara-0.4.4.tar.gz 74211 BLAKE2B d73914011fb62e29ed9510f081cd6d85b5d0dfdf28b2b6ca9847f146ce5861836ace26043fcd54396c5b23509c14a943fc526ee11d3d91b8a13c559837e0a52f SHA512 4c106c2156ff397caad2c173cbfb5f2dc8f4574a59c70e7d04e941fd5273948c7e2cc4662b91a489dc689e6537b72bdb1771849cf7775d6afa167f2616a3d4c7
DIST girara-0.4.5.tar.gz 73664 BLAKE2B 91f4ae0e2538d035fbf7816de336584f3c96202c4a4c824147b8cfddb6324d3966fd57bbd083cda7a4ed6859177ceb3240cd5cd1f874c67f4fabc79b5b687532 SHA512 38fc0f9b9c232e93786130986e53cbcc83bbcb02575bdbd799026d2dd2f46684c8fe2ac5ea7b1b46012a48f92d78537b50a7e9ac42b036cbbf06eda06de00117
+64
View File
@@ -0,0 +1,64 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="UI library that focuses on simplicity and minimalism"
HOMEPAGE="https://pwmt.org/projects/girara/"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pwmt/${PN}.git"
EGIT_BRANCH="develop"
else
SRC_URI="https://github.com/pwmt/girara/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
LICENSE="ZLIB"
SLOT="0/$(ver_cut 2-3)"
IUSE="doc test"
RESTRICT="!test? ( test )"
# REVIEW: are all those really needed?
RDEPEND="
app-accessibility/at-spi2-core
>=dev-libs/glib-2.72:2
dev-libs/json-glib:=
media-libs/harfbuzz:=
x11-libs/cairo[glib]
x11-libs/gdk-pixbuf
>=x11-libs/gtk+-3.24:3
x11-libs/pango
"
DEPEND="
${RDEPEND}
test? (
x11-base/xorg-proto
x11-libs/gtk+:3[X]
x11-misc/xvfb-run
)
"
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
doc? ( app-text/doxygen )
"
DOCS=( AUTHORS README.md )
src_configure() {
local -a emesonargs=(
-Djson=enabled
$(meson_feature doc docs)
$(meson_feature test tests)
)
meson_src_configure
}
src_compile() {
meson_src_compile
use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/* ) # BUILD_DIR is set by meson_src_compile
}