public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/zbar] f44: Build accoring to JAVA flag
@ 2026-10-09 20:10 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-10-09 20:10 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/zbar
Branch : f44
Commit : 35293bc759a9110a7291288b38d30db8f98f00f5
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2026-10-09T15:02:56-05:00
Stats  : +5/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/zbar/c/35293bc759a9110a7291288b38d30db8f98f00f5?branch=f44

Log:
Build accoring to JAVA flag

---
diff --git a/zbar.spec b/zbar.spec
index e4eafd6..21e1c31 100644
--- a/zbar.spec
+++ b/zbar.spec
@@ -119,7 +119,11 @@ on Java Native Interface (JNI) applications using ZBar.
 %patch 0 -p1
 
 %build
-%meson -Dlibrary_type=shared -Dcodes=ean,databar,code128,code93,code39,codabar,i25,qrcode,sqcode,pdf417 -Dpython=python3 -Dstatic_qt=false
+%if %{JAVA}
+%meson -Dlibrary_type=shared -Dcodes=ean,databar,code128,code93,code39,codabar,i25,qrcode,sqcode,pdf417 -Dpython=python3 -Dstatic_qt=false -Djava=enabled
+%else
+%meson -Dlibrary_type=shared -Dcodes=ean,databar,code128,code93,code39,codabar,i25,qrcode,sqcode,pdf417 -Dpython=python3 -Dstatic_qt=false -Djava=disabled
+%endif
 %meson_build
 
 %install

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-09 20:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 20:10 [rpms/zbar] f44: Build accoring to JAVA flag Gwyn Ciesla

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