# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../mesa/mesa.conf # Copyright (C) 2008 - 2011 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 --- mesa_compat_symlinks() { # some compat symlinks (needed e.g. for (free)glut) ( cd $root/usr/lib ln -sdfv ../X11/include/GL $root/usr/include/GL ln -sfv ../X11/${libdir##*/}/libGL.* . ln -sfv ../X11/${libdir##*/}/libGLU.* . ) } hook_add postmake 5 mesa_compat_symlinks var_append extraconfopt ' ' '--enable-gallium-swrast --enable-gallium-svga' #var_append extraconfopt ' ' '--enable-gallium-i915 --enable-gallium-i965' # not yet stable -BarryK 2011 var_append extraconfopt ' ' '--enable-gallium-radeon --enable-gallium-r600' # --enable-gallium-nouveau' var_append GCC_WRAPPER_INSERT ' ' "-c?:-L`pkgprefix libdir libx11` -lX11 -lXrender"