commit:     16d5314bca889619924d8d133c08917f3ce1d832
Author:     Lukas Schmelting <lschmelting <AT> posteo <DOT> com>
AuthorDate: Mon Oct  6 17:00:35 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct  6 17:05:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16d5314b

app-misc/localsearch: Disable landlock

Bug: https://bugs.gentoo.org/957705
Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{localsearch-3.9.0.ebuild => localsearch-3.9.0-r1.ebuild}      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-misc/localsearch/localsearch-3.9.0.ebuild 
b/app-misc/localsearch/localsearch-3.9.0-r1.ebuild
similarity index 93%
rename from app-misc/localsearch/localsearch-3.9.0.ebuild
rename to app-misc/localsearch/localsearch-3.9.0-r1.ebuild
index be8a6dfa7cf5..83424a805f07 100644
--- a/app-misc/localsearch/localsearch-3.9.0.ebuild
+++ b/app-misc/localsearch/localsearch-3.9.0-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://gnome.pages.gitlab.gnome.org/localsearch";
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="3"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="cue exif gif gsf +gstreamer iptc +iso +jpeg landlock +pdf +playlist raw 
seccomp test +tiff upower +xml xmp xps"
+IUSE="cue exif gif gsf +gstreamer iptc +iso +jpeg +pdf +playlist raw seccomp 
test +tiff upower +xml xmp xps"
 
 REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via 
gstreamer, not ffmpeg
 RESTRICT="!test? ( test )"
@@ -121,7 +121,10 @@ src_configure() {
                -Dtext=true
                -Dunzip_ps_gz_files=true # spawns gunzip
                # Broken with our library layout for libstdc++ (bug #957705)
-               $(meson_feature landlock)
+               # Once https://gitlab.gnome.org/GNOME/localsearch/-/issues/368 
is fixed,
+               # we should add a USE flag for it but likely give it the same 
treatment
+               # as seccomp (i.e. package.use.force).
+               -Dlandlock=disabled
                $(meson_feature cue)
                $(meson_feature exif)
                $(meson_feature gif)

Reply via email to