| 1 |
#!/bin/sh |
| 2 |
# |
| 3 |
# arch-ci.sh |
| 4 |
# Copyright (C) 2020 Kovid Goyal <kovid at kovidgoyal.net> |
| 5 |
|
| 6 |
set -xe |
| 7 |
|
| 8 |
pacman -S --noconfirm --needed base-devel sudo git sip pyqt-builder cmake chmlib icu jxrlib hunspell libmtp libusb libwmf optipng python-apsw python-beautifulsoup4 python-cssselect python-css-parser python-dateutil python-jeepney python-dnspython python-feedparser python-html2text python-html5-parser python-lxml python-lxml-html-clean python-markdown python-mechanize python-msgpack python-netifaces python-unrardll python-pillow python-psutil python-pygments python-pyqt6 python-regex python-zeroconf python-pyqt6-webengine qt6-svg qt6-imageformats qt6-speech udisks2 hyphen python-pychm python-pycryptodome speech-dispatcher python-sphinx python-urllib3 python-py7zr python-pip python-fonttools python-xxhash python-tzdata python-tzlocal uchardet libstemmer poppler tk libwebp-utils python-jaconv python-pykakasi protobuf onnxruntime uv |
| 9 |
|
| 10 |
curl -L "https://github.com/podofo/podofo/archive/refs/tags/1.1.2.tar.gz" -o podofo.tar.gz |
| 11 |
tar xf podofo.tar.gz && rm podofo.tar.gz |
| 12 |
chown -R nobody:nobody podofo-1.1.2 |
| 13 |
cd podofo-1.1.2 |
| 14 |
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=/usr -DPODOFO_BUILD_STATIC=FALSE |
| 15 |
cmake --build build |
| 16 |
cmake --install build |
| 17 |
cd .. && rm -rf podofo-1.1.2 |
| 18 |
|
| 19 |
git clone --depth=1 https://github.com/espeak-ng/espeak-ng.git |
| 20 |
chown -R nobody:nobody espeak-ng |
| 21 |
cd espeak-ng |
| 22 |
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DESPEAK_COMPAT=ON |
| 23 |
cmake --build build |
| 24 |
cmake --install build |
| 25 |
cd .. && rm -rf espeak-ng |
| 26 |
|
| 27 |
useradd -m ci |
| 28 |
chown -R ci:users $GITHUB_WORKSPACE |
| 29 |
|
| 30 |
UV_TOOL_BIN_DIR=/usr/local/bin uv tool install rapydscript-ng |