ghex: fix docs cross

This commit is contained in:
Michal Vasilek 2022-07-05 14:15:15 +02:00
parent b2ce8437f0
commit 363526fc10
1 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,13 @@ checksum=add40f8ab24921db30d27be58f00273201977d87fdc8d79eceadfa8b0e354def
build_options="gir gtk_doc"
build_options_default="gir gtk_doc"
pre_build() {
# help gi-docgen find gi files on cross
if [ -n "$CROSS_BUILD" ]; then
export XDG_DATA_DIRS=/usr/$XBPS_CROSS_TRIPLET/usr/share/
fi
}
libgtkhex_package() {
short_desc+=" - runtime library"
pkg_install() {