distribution/packages/textproc/pango/package.mk
2022-08-28 07:19:32 -04:00

27 lines
964 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="pango"
PKG_VERSION="1.50.8"
PKG_SHA256="cf626f59dd146c023174c4034920e9667f1d25ac2c1569516d63136c311255fa"
PKG_LICENSE="GPL"
PKG_SITE="http://www.pango.org/"
PKG_URL="https://download.gnome.org/sources/pango/${PKG_VERSION:0:4}/pango-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain cairo freetype fontconfig fribidi glib json-glib harfbuzz"
PKG_DEPENDS_CONFIG="cairo"
PKG_LONGDESC="The Pango library for layout and rendering of internationalized text."
configure_package() {
# Build with X11 support
if [ ${DISPLAYSERVER} = "x11" ]; then
PKG_DEPENDS_TARGET+=" libX11 libXft"
PKG_DEPENDS_CONFIG+=" libXft"
PKG_BUILD_FLAGS="-sysroot"
fi
}
pre_configure_target() {
PKG_MESON_OPTS_TARGET="-Dgtk_doc=false \
-Dintrospection=disabled"
}