mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-geosciences/gpsbabel: Fix always checking for GUI dependencies
Closes: https://bugs.gentoo.org/945696 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39570 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user