# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/cairo/cairo.conf # Copyright (C) 2004 - 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- hook_add prepatch 5 "rm -rvf $builddir/$pkg-$ver/subprojects" # warning: conftest has a LOAD segment with RWX [[ $arch = powerpc* ]] && var_append GCC_WRAPPER_APPEND ' ' '-c?:-Wl,--no-warn-rwx-segments' pkginstalled xcb-util && var_append mesonopt ' ' -Dxcb=enabled var_append mesonopt ' ' -Dtests=disabled