commit:     f6d3f741cbf661f2c40f39d243c1bd306d9536b5
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Sat Mar  1 11:35:06 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 02:50:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d3f741

dev-libs/girara: sync live ebuild

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/40426
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/girara/girara-9999.ebuild | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/dev-libs/girara/girara-9999.ebuild 
b/dev-libs/girara/girara-9999.ebuild
index d5d5f640f369..2d8b03eb3759 100644
--- a/dev-libs/girara/girara-9999.ebuild
+++ b/dev-libs/girara/girara-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit meson virtualx
+inherit meson
 
 DESCRIPTION="UI library that focuses on simplicity and minimalism"
 HOMEPAGE="https://pwmt.org/projects/girara/";
@@ -13,49 +13,52 @@ if [[ ${PV} == *9999 ]]; then
        EGIT_REPO_URI="https://github.com/pwmt/${PN}.git";
        EGIT_BRANCH="develop"
 else
-       SRC_URI="https://pwmt.org/projects/girara/download/${P}.tar.xz";
-       KEYWORDS="~amd64 ~arm ~riscv ~x86"
+       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"
+SLOT="0/9999"
 IUSE="doc test"
-
 RESTRICT="!test? ( test )"
 
+# REVIEW: are all those really needed?
 RDEPEND="
        app-accessibility/at-spi2-core
-       dev-libs/glib:2
+       >=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.20:3
+       >=x11-libs/gtk+-3.24:3
        x11-libs/pango
 "
-# Tests are run under virtx
 DEPEND="
        ${RDEPEND}
        test? (
-               dev-libs/check
                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_test() {
-       # TODO: run test on wayland
-       virtx meson_src_test
+src_compile() {
+       meson_src_compile
+       use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/* ) # BUILD_DIR is set 
by meson_src_compile
 }

Reply via email to