diff --git a/x11-packages/qt5-base/build.sh b/x11-packages/qt5-base/build.sh index 28de48c28..0647f605c 100644 --- a/x11-packages/qt5-base/build.sh +++ b/x11-packages/qt5-base/build.sh @@ -12,7 +12,7 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch @xeffyr" TERMUX_PKG_HOMEPAGE=http://qt-project.org/ TERMUX_PKG_DESCRIPTION="A cross-platform application and UI framework" TERMUX_PKG_VERSION=5.11.2 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_REVISION=4 TERMUX_PKG_SRCURL="http://download.qt.io/official_releases/qt/${TERMUX_PKG_VERSION%.*}/${TERMUX_PKG_VERSION}/single/qt-everywhere-src-${TERMUX_PKG_VERSION}.tar.xz" TERMUX_PKG_SHA256=c6104b840b6caee596fa9a35bc5f57f67ed5a99d6a36497b6fe66f990a53ca81 TERMUX_PKG_DEPENDS="harfbuzz, libandroid-support, libandroid-shmem, libc++, libice, libicu, libjpeg-turbo, libpng, libsm, libuuid, libx11, libxcb, libxi, libxkbcommon, openssl, pcre2, ttf-dejavu, xcb-util-image, xcb-util-keysyms, xcb-util-renderutil, xcb-util-wm" diff --git a/x11-packages/qt5-base/postinst b/x11-packages/qt5-base/postinst index 0ee099056..53d2479b8 100755 --- a/x11-packages/qt5-base/postinst +++ b/x11-packages/qt5-base/postinst @@ -3,12 +3,10 @@ PREFIX="/data/data/com.termux/files/usr" if [ ! -e "${PREFIX}/lib/fonts" ]; then - ln -sf "${PREFIX}/share/fonts" "${PREFIX}/lib/fonts" + ln -sf "${PREFIX}/share/fonts/TTF" "${PREFIX}/lib/fonts" else - ## In previous versions we used '/system/fonts' as - ## font source. if [ -h "${PREFIX}/lib/fonts" ]; then rm -f "${PREFIX}/lib/fonts" - ln -sf "${PREFIX}/share/fonts" "${PREFIX}/lib/fonts" + ln -sf "${PREFIX}/share/fonts/TTF" "${PREFIX}/lib/fonts" fi fi