commit:     ff6cf08c3f4bb45ae367e62bfaf60f1b8322b471
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 23 05:36:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 23 05:48:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6cf08c

app-text/zathura: wire up test option

Why not?

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/zathura/zathura-0.5.8.ebuild | 6 +++---
 app-text/zathura/zathura-9999.ebuild  | 6 ++++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/app-text/zathura/zathura-0.5.8.ebuild 
b/app-text/zathura/zathura-0.5.8.ebuild
index 95bc586ed5e6..323a84e4ba7b 100644
--- a/app-text/zathura/zathura-0.5.8.ebuild
+++ b/app-text/zathura/zathura-0.5.8.ebuild
@@ -10,8 +10,7 @@ HOMEPAGE="https://pwmt.org/projects/zathura/";
 
 if [[ ${PV} == *9999 ]]; then
        inherit git-r3
-       EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git";
-       EGIT_BRANCH="develop"
+       EGIT_REPO_URI="https://github.com/pwmt/zathura.git";
 else
        SRC_URI="
                https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> 
${P}.tar.gz
@@ -58,7 +57,8 @@ src_configure() {
                -Dmanpages=$(usex man enabled disabled)
                -Dseccomp=$(usex seccomp enabled disabled)
                -Dsynctex=$(usex synctex enabled disabled)
-               )
+               $(meson_feature test tests)
+       )
        meson_src_configure
 }
 

diff --git a/app-text/zathura/zathura-9999.ebuild 
b/app-text/zathura/zathura-9999.ebuild
index 2e490b9840ca..fab7991a51d8 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -49,6 +49,7 @@ BDEPEND="
        >=sys-devel/gettext-0.19.8
        virtual/pkgconfig
 "
+
 src_configure() {
        local emesonargs=(
                -Dconvert-icon=disabled
@@ -56,7 +57,8 @@ src_configure() {
                -Dmanpages=$(usex man enabled disabled)
                -Dseccomp=$(usex seccomp enabled disabled)
                -Dsynctex=$(usex synctex enabled disabled)
-               )
+               $(meson_feature test tests)
+       )
        meson_src_configure
 }
 

Reply via email to