commit: 1aea28cd422c7248bc81d8aec6b43c578c26315e Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> AuthorDate: Mon Dec 2 19:22:05 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 26 10:24:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aea28cd
sci-geosciences/gpsbabel: Fix always checking for GUI dependencies Closes: https://bugs.gentoo.org/945696 Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39570 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-geosciences/gpsbabel/gpsbabel-1.9.0-r1.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sci-geosciences/gpsbabel/gpsbabel-1.9.0-r1.ebuild b/sci-geosciences/gpsbabel/gpsbabel-1.9.0-r1.ebuild index 9a35bba8963f..f7d3e1d947c9 100644 --- a/sci-geosciences/gpsbabel/gpsbabel-1.9.0-r1.ebuild +++ b/sci-geosciences/gpsbabel/gpsbabel-1.9.0-r1.ebuild @@ -69,6 +69,7 @@ src_prepare() { rm -r shapelib zlib || die use doc && cp "${DISTDIR}/gpsbabel.org-style3.css" "${S}" + use gui || sed -i -e '/add_subdirectory(gui)/d' CMakeLists.txt || die } src_configure() { @@ -76,9 +77,6 @@ src_configure() { -DGPSBABEL_WITH_LIBUSB=pkgconfig -DGPSBABEL_WITH_SHAPELIB=pkgconfig -DGPSBABEL_WITH_ZLIB=pkgconfig - -DGPSBABEL_MAPPREVIEW=$(usex gui) - -DGPSBABEL_EMBED_MAP=$(usex gui) - -DGPSBABEL_EMBED_TRANSLATIONS=$(usex gui) -DUSE_QT6=ON )