[packages/dav1d] enable docs according to bcond

atler atler at pld-linux.org
Sun Mar 5 14:57:00 CET 2023


commit cbfc1b1b481f4b6657f96512d4161830da8de1c7
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Mar 5 14:56:23 2023 +0100

    enable docs according to bcond

 dav1d.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/dav1d.spec b/dav1d.spec
index a67092a..c3212e2 100644
--- a/dav1d.spec
+++ b/dav1d.spec
@@ -77,7 +77,7 @@ Dokumentacja API biblioteki DAV1D.
 %build
 %meson build \
 	%{!?with_static_libs:--default-library=shared} \
-	-Denable_docs=true
+	-Denable_docs=%{__true_false apidocs}
 
 %ninja_build -C build %{?with_apidocs:doc/html}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dav1d.git/commitdiff/cc2487a35f76e10edd55df107a43af56f08a7720



More information about the pld-cvs-commit mailing list