action:ubuntu update opencc version to latest

This commit is contained in:
yifang 2022-02-12 09:07:28 +08:00
parent 1f938149be
commit 5d827d5a24

View file

@ -46,16 +46,20 @@ jobs:
sudo apt-get install qtdeclarative5-dev libxtst-dev liblzo2-dev libbz2-dev
sudo apt-get install libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev
sudo apt-get install libqt5webkit5-dev libqt5svg5-dev libqt5x11extras5-dev qttools5-dev
sudo apt-get install qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libopencc-dev libzstd-dev
sudo apt-get install qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libzstd-dev #libopencc-dev
sudo ln -sf /usr/bin/x86_64-linux-gnu-ld.gold /usr/bin/ld
git clone https://github.com/BYVoid/OpenCC
pwd
cd OpenCC/
pwd
make PREFIX=/usr -j$(nproc)
sudo make install
cd ..
pwd #print current directory
- uses: actions/checkout@v2
with:
fetch-depth: 1
# - name: build singleapplication
# run: |
# cd qtsingleapplication
# qmake
# make
- name: build goldendict
run: |
qmake CONFIG+=release PREFIX=/usr CONFIG+=zim_support CONFIG+=chinese_conversion_support