From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1703123-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D153C1580FD
	for <garchives@archives.gentoo.org>; Thu, 26 Dec 2024 10:25:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1C928E05C1;
	Thu, 26 Dec 2024 10:25:18 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F2FFCE05C1
	for <gentoo-commits@lists.gentoo.org>; Thu, 26 Dec 2024 10:25:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 184B633BE12
	for <gentoo-commits@lists.gentoo.org>; Thu, 26 Dec 2024 10:25:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 65B7C151D
	for <gentoo-commits@lists.gentoo.org>; Thu, 26 Dec 2024 10:25:15 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1735208682.1aea28cd422c7248bc81d8aec6b43c578c26315e.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpsbabel/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-geosciences/gpsbabel/gpsbabel-1.9.0-r1.ebuild
X-VCS-Directories: sci-geosciences/gpsbabel/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 1aea28cd422c7248bc81d8aec6b43c578c26315e
X-VCS-Branch: master
Date: Thu, 26 Dec 2024 10:25:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5e60d3e2-d747-4089-ac19-de16a5a2a309
X-Archives-Hash: d0f780d7673521959cf93c78a7a26094

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
 	)