# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by scripts/Create-CopyPatch. # # T2 SDE: package/*/gpac/gpac.conf # Copyright (C) 2007 - 2021 The T2 SDE Project # # 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 as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- configscript="sh ./configure" pkginstalled libx11 && false && # doesn't build with current wxwidgets #pkginstalled wxwidgets && var_append confopt ' ' "--X11-path=$root/`pkgprefix libx11`" || var_append confopt ' ' "--disable-wx --disable-x11-shm" var_append confopt ' ' '--cc=$CC --cpu=$arch' # guide while cross compiling if ! pkginstalled firefox && ! pkginstalled seamonkey; then var_append patchfiles ' ' "$confdir/no-mozilla.diff" fi pkginstalled mesa || var_append confopt ' ' '--disable-opengl' if [ $SDECFG_DEBUG -ne 0 ]; then var_append confopt ' ' "--enable-debug" fi # install development header files var_append makeinstopt ' ' "install-lib" # not supported on all arch's var_append GCC_WRAPPER_REMOVE ' ' '-Wno-pointer-sign' if [[ $libdir == *lib64 ]]; then var_append confopt " " "--enable-pic" var_append GCC_WRAPPER_INSERT " " "-fPIC -L/usr/X11R7/lib64 -D__ia64__" fi