Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/tracker3/PKGBUILD23
-rw-r--r--extra/tracker3/tracker-no-doc.patch11
2 files changed, 34 insertions, 0 deletions
diff --git a/extra/tracker3/PKGBUILD b/extra/tracker3/PKGBUILD
index 7c5c36eb..a25ec7c2 100644
--- a/extra/tracker3/PKGBUILD
+++ b/extra/tracker3/PKGBUILD
@@ -21,3 +21,26 @@ if [ "$CARCH" = 'i486' ]; then
'
)"
fi
+
+# Don't care about broken uptream stuff, especially if it all it does
+# is documenration:
+# tracker/docs/reference/libtracker-sparql/meson.build:63:7: ERROR: hotdoc.generate_doc
+# keyword argument 'dependencies' was of type array[CustomTarget | InternalDependency]
+# but should have been array[Dependency | StaticLibrary | SharedLibrary
+eval "$(
+ declare -f build | \
+ sed '
+ s/arch-meson/arch-meson -D docs=false/
+ '
+)"
+
+# more no-doc patching
+source+=('tracker-no-doc.patch')
+sha256sums+=('2621451f3dc44ad458934c6c2cbdf27d73f94e6470082b3f01b5ffb6d752deda')
+eval "$(
+ declare -f prepare | \
+ sed '
+ /}/ i \
+ patch -Np1 < ${srcdir}/tracker-no-doc.patch
+ '
+)"
diff --git a/extra/tracker3/tracker-no-doc.patch b/extra/tracker3/tracker-no-doc.patch
new file mode 100644
index 00000000..a765e186
--- /dev/null
+++ b/extra/tracker3/tracker-no-doc.patch
@@ -0,0 +1,11 @@
+diff -rauN tracker/src/tracker/meson.build tracker-no-doc-patch/src/tracker/meson.build
+--- tracker/src/tracker/meson.build 2022-11-11 19:22:29.894088303 +0100
++++ tracker-no-doc-patch/src/tracker/meson.build 2022-11-11 19:22:54.514113426 +0100
+@@ -1,7 +1,6 @@
+ modules = [
+ 'endpoint',
+ 'export',
+- 'help',
+ 'import',
+ 'sparql',
+ 'sql',