public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/zbar] f43: Build accoring to JAVA flag
Date: Fri, 09 Oct 2026 20:10:20 GMT [thread overview]
Message-ID: <179157662017.1.4153335318002989575.rpms-zbar-35293bc759a9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/zbar
Branch : f43
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=f43
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
reply other threads:[~2026-10-09 20:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179157662017.1.4153335318002989575.rpms-zbar-35293bc759a9@fedoraproject.org \
--to=gwync@protonmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox