2022-02-05 14:23:32 +00:00
|
|
|
# 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)
|
2023-10-23 22:46:49 +00:00
|
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="glib"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_VERSION="2.77.1"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="LGPL"
|
2022-02-27 23:34:12 +00:00
|
|
|
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"
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_DEPENDS_HOST="libffi:host pcre2:host Python3:host meson:host ninja:host"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain pcre2 zlib libffi Python3:host util-linux"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LONGDESC="A library which includes support routines for C such as lists, trees, hashes, memory allocation."
|
|
|
|
|
2022-09-17 17:03:37 +00:00
|
|
|
PKG_MESON_OPTS_HOST="-Ddefault_library=shared \
|
2022-02-05 14:23:32 +00:00
|
|
|
-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"
|
2023-02-25 00:39:48 +00:00
|
|
|
|
|
|
|
post_makeinstall_target() {
|
|
|
|
rm -rf ${INSTALL}/usr/bin
|
|
|
|
rm -rf ${INSTALL}/usr/lib/gdbus-2.0
|
|
|
|
rm -rf ${INSTALL}/usr/lib/glib-2.0
|
|
|
|
rm -rf ${INSTALL}/usr/lib/installed-tests
|
|
|
|
rm -rf ${INSTALL}/usr/share
|
|
|
|
}
|