build: Fix flatpak CI failing

Build libstemmer as a shared library. Use current mainline since that
at least supports build system args.

Shared lib patch courtesy of Stefano Rivera <stefanor@debian.org>,
updated to current head.
This commit is contained in:
Michael Gratton 2020-09-14 22:43:41 +10:00 committed by Michael James Gratton
parent 4f9df7d74a
commit 2e27a06889
3 changed files with 156 additions and 0 deletions

View file

@ -238,6 +238,30 @@
}
]
},
{
"name": "snowball",
"buildsystem": "simple",
"sources": [
{
"type": "git",
"url": "https://github.com/snowballstem/snowball.git",
"branch": "master"
},
{
"type": "patch",
"paths": [
"build-aux/patches/shared-library.diff"
]
}
],
"build-commands": [
"make libstemmer.so -j$FLATPAK_BUILDER_N_JOBS",
"install -Dm644 include/libstemmer.h /app/include/libstemmer.h",
"install -Dm644 libstemmer.so.0.0.0 /app/lib/libstemmer.so.0.0.0",
"ln -s libstemmer.so.0.0.0 /app/lib/libstemmer.so.0",
"ln -s libstemmer.so.0 /app/lib/libstemmer.so"
]
},
{
"name": "sound-theme-freedesktop",
"sources": [