mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-07 20:10:04 +00:00
21 lines
875 B
Bash
21 lines
875 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/HOST-Oman/libraqm
|
|
TERMUX_PKG_DESCRIPTION="Raqm is a small library that encapsulates the logic for complex text layout and provides a convenient API"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.10.2"
|
|
TERMUX_PKG_SRCURL=https://github.com/HOST-Oman/libraqm/releases/download/v$TERMUX_PKG_VERSION/raqm-$TERMUX_PKG_VERSION.tar.xz
|
|
TERMUX_PKG_SHA256=3e936f2c4e585c3168dbe121fcb7d6c55702027c68e491076381da5c4060559c
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="freetype, harfbuzz, fribidi"
|
|
|
|
termux_step_post_get_source() {
|
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
|
# after SOVERSION is changed.
|
|
local _SOVERSION=0
|
|
|
|
local v=$(echo ${TERMUX_PKG_VERSION#*:} | cut -d . -f 1)
|
|
if [ "${v}" != "${_SOVERSION}" ]; then
|
|
termux_error_exit "SOVERSION guard check failed."
|
|
fi
|
|
}
|