]> git.pld-linux.org Git - packages/kde4-calligra.git/commitdiff
- add bcond to disable docs, building is broken on i686
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Nov 2021 08:28:29 +0000 (09:28 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Nov 2021 08:28:29 +0000 (09:28 +0100)
kde4-calligra.spec
no-doc.patch [new file with mode: 0644]

index 9b790a4fcf9f98eca99aafe5ab702024b74c8bfb..e5bc5a3a80e508d4a8e830a7e4591f2c6b445ef1 100644 (file)
@@ -17,6 +17,7 @@
 # Conditional build:
 %bcond_without pdf             # build without PDF support
 %bcond_without pqxx            # build postgresql driver for kexi
+%bcond_without doc             # build handbooks
 
 %define                _state          stable
 %define                orgname         calligra
@@ -39,6 +40,7 @@ Patch2:               %{orgname}-icu.patch
 Patch3:                %{orgname}-boost.patch
 Patch4:                build.patch
 Patch5:                gcc11.patch
+Patch6:                no-doc.patch
 URL:           http://www.calligra-suite.org/
 BuildRequires: GraphicsMagick-devel
 BuildRequires: OpenColorIO-devel
@@ -384,6 +386,7 @@ the Plasma Active platform.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%{!?with_doc:%patch6 -p1}
 
 %build
 install -d build
diff --git a/no-doc.patch b/no-doc.patch
new file mode 100644 (file)
index 0000000..92bd6ad
--- /dev/null
@@ -0,0 +1,9 @@
+--- calligra-2.9.11/cmake/productsets/desktop.cmake~   2016-02-02 20:53:13.000000000 +0100
++++ calligra-2.9.11/cmake/productsets/desktop.cmake    2021-11-15 09:23:34.884800706 +0100
+@@ -21,6 +21,4 @@
+         APP_CONVERTER
+         FILEMANAGER
+         OKULAR
+-        # docs
+-        DOC
+ )
This page took 0.04836 seconds and 4 git commands to generate.