]> git.pld-linux.org Git - packages/imlib2.git/commitdiff
- added bcond to allow building without HEIF support
authorMarcin Krol <hawk@tld-linux.org>
Mon, 22 Apr 2024 21:17:26 +0000 (23:17 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 22 Apr 2024 21:17:26 +0000 (23:17 +0200)
imlib2.spec

index b14fe37544a2ff1f947955f2919ae7815e0e0793..32bbf5c25f5dddffdc5b824578e4c88d10f4a03b 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without jxl             # JPEG XL loader
+%bcond_without heif            # HEIF loader
 %bcond_with    ps              # enable postscript support
 %bcond_without static_libs     # static library
 
@@ -20,7 +21,7 @@ BuildRequires:        bzip2-devel
 BuildRequires: doxygen
 BuildRequires: freetype-devel >= 2.1
 BuildRequires: giflib-devel
-BuildRequires: libheif-devel
+%{?with_heif:BuildRequires:    libheif-devel}
 BuildRequires: libid3tag-devel
 BuildRequires: libjpeg-devel >= 6b-18
 %{?with_jxl:BuildRequires:     libjxl-devel}
@@ -123,6 +124,7 @@ touch test/Makefile.am
 %ifarch %{x8664}
        --enable-amd64 \
 %endif
+       %{!?with_heif:--without-heif} \
        %{!?with_jxl:--without-jxl}
 
 %{__make}
This page took 0.235391 seconds and 4 git commands to generate.