commit 26d4f155fd25a58744ccb0f88d8d3bb049b0ca9e
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Fri Apr 26 17:18:46 2024 +0200

    - unified heif bcond name

 jasper.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/jasper.spec b/jasper.spec
index f271d18..3d7a1a3 100644
--- a/jasper.spec
+++ b/jasper.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without opengl  # (OpenGL-based) jiv viewer
-%bcond_without libheif # support for libheif and HEIC codec (experimental)
+%bcond_without heif    # support for libheif and HEIC codec (experimental)
 #
 Summary:       JasPer - collection of software for coding and manipulation of 
images
 Summary(pl.UTF-8):     JasPer - zestaw oprogramowania do obróbki obrazków
@@ -20,7 +20,7 @@ URL:          https://www.ece.uvic.ca/~frodo/jasper/
 BuildRequires: cmake >= 3.12
 BuildRequires: doxygen
 BuildRequires: gcc >= 6:4.7
-%{?with_libheif:BuildRequires: libheif-devel}
+%{?with_heif:BuildRequires:    libheif-devel}
 BuildRequires: libjpeg-devel
 BuildRequires: rpmbuild(macros) >= 1.605
 BuildRequires: tex-latex-adjustbox
@@ -112,8 +112,8 @@ cd builddir
        -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
        -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF \
        %{!?with_opengl:-DJAS_ENABLE_OPENGL=OFF} \
-       %{!?with_libheif:-DJAS_ENABLE_LIBHEIF=OFF} \
-       %{!?with_libheif:-DJAS_INCLUDE_HEIC_CODEC=OFF}
+       %{!?with_heif:-DJAS_ENABLE_LIBHEIF=OFF} \
+       %{!?with_heif:-DJAS_INCLUDE_HEIC_CODEC=OFF}
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jasper.git/commitdiff/26d4f155fd25a58744ccb0f88d8d3bb049b0ca9e

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to