[packages/dillo] - bcond to allow build with fltk 1.4.x (probably with glitches)

qboosh qboosh at pld-linux.org
Sat May 23 21:16:10 CEST 2026


commit 91e5bded9e28e740f952ee76a1120a40fe582977
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 23 21:16:12 2026 +0200

    - bcond to allow build with fltk 1.4.x (probably with glitches)

 dillo.spec | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/dillo.spec b/dillo.spec
index f6b5125..206f0d0 100644
--- a/dillo.spec
+++ b/dillo.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with	fltk14	# experimental FLTK 1.4.x support (known graphical issues)
+
 Summary:	DILLO - The FLTK Web Browser
 Summary(pl.UTF-8):	DILLO - przeglądarka WWW
 Name:		dillo
@@ -13,6 +17,11 @@ URL:		https://dillo-browser.org/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	fltk-devel >= 1.3.0
+%if %{with fltk14}
+BuildRequires:	fltk-devel >= 1.4.0
+%else
+BuildRequires:	fltk-devel < 1.4.0
+%endif
 BuildRequires:	libbrotli-devel
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel >= 2:1.6.0
@@ -48,6 +57,7 @@ użyteczna, szybka i rozszerzalna.
 %{__automake}
 %configure \
 	--enable-cookies \
+	%{?with_fltk14:--enable-experimental-fltk} \
 	--enable-ipv6 \
 	--enable-tls
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dillo.git/commitdiff/91e5bded9e28e740f952ee76a1120a40fe582977



More information about the pld-cvs-commit mailing list