FriBidi: switch to meson
to eradicate warnings about missing c2man
This commit is contained in:
parent
454b9491ad
commit
0d283363b5
1 changed files with 11 additions and 7 deletions
|
@ -11,25 +11,29 @@ ffbuild_dockerbuild() {
|
||||||
git-mini-clone "$FRIBIDI_REPO" "$FRIBIDI_COMMIT" fribidi
|
git-mini-clone "$FRIBIDI_REPO" "$FRIBIDI_COMMIT" fribidi
|
||||||
cd fribidi
|
cd fribidi
|
||||||
|
|
||||||
|
mkdir build && cd build
|
||||||
|
|
||||||
local myconf=(
|
local myconf=(
|
||||||
--prefix="$FFBUILD_PREFIX"
|
--prefix="$FFBUILD_PREFIX"
|
||||||
--disable-shared
|
--buildtype=release
|
||||||
--enable-static
|
--default-library=static
|
||||||
--with-pic
|
-Dbin=false
|
||||||
|
-Ddocs=false
|
||||||
|
-Dtests=false
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ $TARGET == win* ]]; then
|
if [[ $TARGET == win* ]]; then
|
||||||
myconf+=(
|
myconf+=(
|
||||||
--host="$FFBUILD_TOOLCHAIN"
|
--cross-file=/cross.meson
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
echo "Unknown target"
|
echo "Unknown target"
|
||||||
return -1
|
return -1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./autogen.sh "${myconf[@]}"
|
meson "${myconf[@]}" ..
|
||||||
make
|
ninja -j$(nproc)
|
||||||
make install
|
ninja install
|
||||||
|
|
||||||
sed -i 's/Cflags:/Cflags: -DFRIBIDI_LIB_STATIC/' "$FFBUILD_PREFIX"/lib/pkgconfig/fribidi.pc
|
sed -i 's/Cflags:/Cflags: -DFRIBIDI_LIB_STATIC/' "$FFBUILD_PREFIX"/lib/pkgconfig/fribidi.pc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue