Merge pull request #9749 from heitbaum/addon

Addon build fixes
This commit is contained in:
Christian Hewitt 2025-02-03 07:10:37 +04:00 committed by GitHub
commit d1f8671e43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -7,10 +7,11 @@ PKG_SHA256="2814a7281989f6baa9e57bd33bbc5e148827e2721ccef22aaf28ab2b376068e8"
PKG_LICENSE="GPL"
PKG_SITE="https://polkit.pages.freedesktop.org/polkit"
PKG_URL="https://github.com/polkit-org/polkit/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain expat glib"
PKG_DEPENDS_TARGET="toolchain expat glib systemd"
PKG_LONGDESC="polkit provides an authorization API intended to be used by privileged programs offering service to unprivileged programs"
PKG_BUILD_FLAGS="-sysroot"
PKG_MESON_OPTS_TARGET="-Dauthfw=shadow \
-Dsession_tracking=logind \
-Dlibs-only=true \
-Dintrospection=false"

View File

@ -98,6 +98,7 @@ PKG_MESON_OPTS_TARGET="-Dadplug=disabled \
pre_configure_target() {
export PKG_CONFIG_PATH="$(get_install_dir libnfs5)/usr/lib/pkgconfig:${PKG_CONFIG_PATH}"
export TARGET_CXXFLAGS+=" -I$(get_install_dir libnfs5)/usr/include"
}
addon() {