distribution/packages/devel/glib/package.mk
2022-11-23 09:18:05 -05:00

31 lines
1.3 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="glib"
PKG_VERSION="2.74.0"
PKG_SHA256="3652c7f072d7b031a6b5edd623f77ebc5dcd2ae698598abcc89ff39ca75add30"
PKG_LICENSE="LGPL"
PKG_SITE="https://www.gtk.org/"
PKG_URL="https://download.gnome.org/sources/glib/$(get_pkg_version_maj_min)/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="libffi:host pcre2:host Python3:host meson:host ninja:host"
PKG_DEPENDS_TARGET="toolchain pcre2 zlib libffi Python3:host util-linux"
PKG_LONGDESC="A library which includes support routines for C such as lists, trees, hashes, memory allocation."
PKG_MESON_OPTS_HOST="-Ddefault_library=shared \
-Dinstalled_tests=false \
-Dlibmount=disabled \
-Dtests=false"
PKG_MESON_OPTS_TARGET="-Ddefault_library=shared \
-Dinstalled_tests=false \
-Dselinux=disabled \
-Dxattr=true \
-Dgtk_doc=false \
-Dman=false \
-Ddtrace=false \
-Dsystemtap=false \
-Dbsymbolic_functions=true \
-Dforce_posix_threads=true \
-Dtests=false"