Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gdal: add xz optional dependency
@ 2024-01-10 22:16 Fabrice Fontaine
  2024-01-26  8:46 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-01-10 22:16 UTC (permalink / raw)
  To: buildroot; +Cc: Dominik Michael Rauh, Fabrice Fontaine

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gdal/gdal.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/gdal/gdal.mk b/package/gdal/gdal.mk
index 937e28ba20..3104332db9 100644
--- a/package/gdal/gdal.mk
+++ b/package/gdal/gdal.mk
@@ -67,7 +67,6 @@ GDAL_CONF_OPTS = \
 	-DGDAL_USE_KDU=OFF \
 	-DGDAL_USE_KEA=OFF \
 	-DGDAL_USE_LERC=OFF \
-	-DGDAL_USE_LIBLZMA=OFF \
 	-DGDAL_USE_DEFLATE=OFF \
 	-DGDAL_USE_MONGOCXX=OFF \
 	-DGDAL_USE_MRSID=OFF \
@@ -139,4 +138,11 @@ else
 GDAL_CONF_OPTS += -DGDAL_USE_SQLITE3=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_XZ),y)
+GDAL_DEPENDENCIES += xz
+GDAL_CONF_OPTS += -DGDAL_USE_LIBLZMA=ON
+else
+GDAL_CONF_OPTS += -DGDAL_USE_LIBLZMA=OFF
+endif
+
 $(eval $(cmake-package))
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/gdal: add xz optional dependency
  2024-01-10 22:16 [Buildroot] [PATCH 1/1] package/gdal: add xz optional dependency Fabrice Fontaine
@ 2024-01-26  8:46 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2024-01-26  8:46 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Dominik Michael Rauh, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-26  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 22:16 [Buildroot] [PATCH 1/1] package/gdal: add xz optional dependency Fabrice Fontaine
2024-01-26  8:46 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox