qt5-base: depend on ttf-dejavu
This commit is contained in:
parent
ee1f4aa1e8
commit
d6917435b5
|
@ -12,10 +12,10 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
||||||
TERMUX_PKG_HOMEPAGE=http://qt-project.org/
|
TERMUX_PKG_HOMEPAGE=http://qt-project.org/
|
||||||
TERMUX_PKG_DESCRIPTION="A cross-platform application and UI framework"
|
TERMUX_PKG_DESCRIPTION="A cross-platform application and UI framework"
|
||||||
TERMUX_PKG_VERSION=5.11.2
|
TERMUX_PKG_VERSION=5.11.2
|
||||||
TERMUX_PKG_REVISION=1
|
TERMUX_PKG_REVISION=2
|
||||||
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_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_SHA256=c6104b840b6caee596fa9a35bc5f57f67ed5a99d6a36497b6fe66f990a53ca81
|
||||||
TERMUX_PKG_DEPENDS="harfbuzz, libandroid-support, libandroid-shmem, libc++, libice, libicu, libjpeg-turbo, libpng, libsm, libuuid, libx11, libxcb, libxi, libxkbcommon, openssl, pcre2, xcb-util-image, xcb-util-keysyms, xcb-util-renderutil, xcb-util-wm"
|
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"
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="
|
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
#!/data/data/com.termux/files/usr/bin/sh
|
#!/data/data/com.termux/files/usr/bin/sh
|
||||||
|
|
||||||
if [ ! -e "/data/data/com.termux/files/usr/lib/fonts" ]; then
|
PREFIX="/data/data/com.termux/files/usr"
|
||||||
if [ -d "/system/fonts" ]; then
|
|
||||||
ln -sf /system/fonts /data/data/com.termux/files/usr/lib/fonts
|
if [ ! -e "${PREFIX}/lib/fonts" ]; then
|
||||||
|
ln -sf "${PREFIX}/share/fonts" "${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"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue