[packages/libheif] - added gdkpixbuf bcond to disable plugin building (for bootstrap); rel 0.1
qboosh
qboosh at pld-linux.org
Sun Jun 21 20:39:02 CEST 2026
commit 81ce72aaf39b792d96c64934a26ced0156f4cb4b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 21 20:39:29 2026 +0200
- added gdkpixbuf bcond to disable plugin building (for bootstrap); rel 0.1
libheif.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/libheif.spec b/libheif.spec
index 78443a5..f0a0e00 100644
--- a/libheif.spec
+++ b/libheif.spec
@@ -4,6 +4,7 @@
%bcond_with golang # Go examples
%bcond_with static_libs # static library
%bcond_with tests # testing
+%bcond_without gdkpixbuf # gdk-pixbuf 2.x plugin
# AVC
%bcond_without openh264 # OpenH264 AVC decoder
%bcond_without x264 # x264 AVC encoder
@@ -35,7 +36,7 @@ Summary: ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
Summary(pl.UTF-8): Koder i dekoder formatu plików HEIF zgodnego z ISO/IEC 23008-12:2017
Name: libheif
Version: 1.23.0
-Release: 1
+Release: 0.1
License: LGPL v3+ (library), GPL v3+ (tools)
Group: Libraries
#Source0Download: https://github.com/strukturag/libheif/releases/
@@ -169,6 +170,7 @@ Wtyczka gdk-pixbuf do obsługi plików HEIF.
%{!?with_aom:-DWITH_AOM_ENCODER=OFF} \
%{?with_dav1d:-DWITH_DAV1D=ON} \
%{?with_ffmpeg:-DWITH_FFMPEG_DECODER=ON} \
+ -DWITH_GDK_PIXBUF=OFF \
%{?with_jpeg:-DWITH_JPEG_DECODER=ON} \
%{?with_jpeg:-DWITH_JPEG_ENCODER=ON} \
%{?with_kvazaar:-DWITH_KVAZAAR=ON} \
@@ -197,6 +199,7 @@ Wtyczka gdk-pixbuf do obsługi plików HEIF.
%{?with_dav1d:-DWITH_DAV1D=ON} \
%{?with_ffmpeg:-DWITH_FFMPEG_DECODER=ON} \
%{?with_ffmpeg:-DWITH_FFMPEG_DECODER_PLUGIN=ON} \
+ %{!?with_gdkpixbuf:-DWITH_GDK_PIXBUF=OFF} \
%{?with_jpeg:-DWITH_JPEG_DECODER=ON} \
%{?with_jpeg:-DWITH_JPEG_ENCODER=ON} \
%{?with_kvazaar:-DWITH_KVAZAAR=ON} \
@@ -291,6 +294,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/heif-info.1*
%{_mandir}/man1/heif-thumbnailer.1*
+%if %{with gdkpixbuf}
%files -n gdk-pixbuf2-loader-heif
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/gdk-pixbuf-2.0/2.*/loaders/libpixbufloader-heif.so
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libheif.git/commitdiff/81ce72aaf39b792d96c64934a26ced0156f4cb4b
More information about the pld-cvs-commit
mailing list