# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/gtk+2/gtk+2.conf # Copyright (C) 2004 - 2022 The T2 SDE Project # Copyright (C) 1998 - 2004 ROCK Linux 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 --- var_append confopt ' ' '--with-xinput=yes' pkginstalled glitz && var_append confopt ' ' "--enable-glitz" pkginstalled libtiff || var_append extraconfopt ' ' --without-libtiff pkginstalled jasper || var_append extraconfopt ' ' --without-libjasper # guide, mostly for cross compiling pkginstalled cups || hook_add preconf 5 "echo 'ac_cv_path_CUPS_CONFIG=no' >> config.cache" if atstage cross; then [ "$arch" = arm64 ] && hook_add preconf 5 "echo lt_cv_sys_global_symbol_pipe=\"sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9] *\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'\" >> config.cache" hook_add preconf 5 "echo lt_cv_path_NM=`which $NM` >> config.cache" fi