. $GRIMOIRE/config_query_multi.function &&
-if [[ "${SMGL_COMPAT_ARCHS[1]}" == "sparc" ]]
-then
config_query_list MESALIB_BUILD \
- "Select build type(use dri type for 3D acceleration?" \
- linux-sparc \
- linux-sparc5 \
- linux-ultrasparc \
- linux-directfb \
- linux-fbdev \
- linux-glide
-elif [[ "${SMGL_COMPAT_ARCHS[1]}" == "ppc" ]]
-then
-config_query_list MESALIB_BUILD \
- "Select build type(use dri type for 3D acceleration?" \
- linux-ppc \
- linux-dri-ppc \
- linux-dri \
- linux-directfb \
- linux-fbdev \
- linux-glide
-elif [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" ]]
-then
-config_query_list MESALIB_BUILD \
- "Select build type(use dri type for 3D acceleration?" \
- linux-x86-64 \
- linux-dri-x86-64 \
- linux-dri \
- linux-directfb \
- linux-fbdev \
- linux-glide
-elif [[ "${SMGL_COMPAT_ARCHS[1]}" == "ia32" ]]
-then
-config_query_list MESALIB_BUILD \
- "Select build type(use dri type for 3D acceleration?" \
- linux-x86 \
- linux-dri-x86 \
- linux-dri \
- linux-directfb \
- linux-fbdev \
- linux-glide
-else
-config_query_list MESALIB_BUILD \
- "Select build type(use dri type for 3D acceleration?" \
- linux \
- linux-dri
-fi &&
-if grep -q dri <<< "$MESALIB_BUILD"
-then
+ "Select build type?" \
+ xlib \
+ dri \
+ osmesa &&
+if [[ $MESALIB_BUILD == dri ]]; then
config_query_multi MESALIB_DRIVERS \
"What drivers would you like to build?" \
+ swrast \
all \
i810 \
i915 \
@@ -71,7 +45,12 @@ config_query_multi MESALIB_DRIVERS
\
ffb &&
if list_find "$MESALIB_DRIVERS" all
then
- MESALIB_DRIVERS="i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v
savage sis tdfx trident unichrome ffb"
+ MESALIB_DRIVERS="i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v
savage sis tdfx trident unichrome ffb swrast"
fi
-fi
+fi &&
+if [[ $MESALIB_BUILD == xlib ]]; then
+config_query_multi MESALIB_DRIVERS \
+ "What drivers would you like to build?" \
+ swrast
+fi
diff --git a/graphics-libs/mesalib/HISTORY b/graphics-libs/mesalib/HISTORY
index f081598..7ece52e 100644
--- a/graphics-libs/mesalib/HISTORY
+++ b/graphics-libs/mesalib/HISTORY
@@ -1,3 +1,9 @@
+2008-11-14 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * BUILD: updated build type so that swrast can be built
+ * SUB_DEPENDS: updated sub depends to work with the auto* build
+ * PRE_SUB_DEPENDS: updated sub depends to work with the auto* build
+ * CONFIGURE: updated build type so that swrast can be built
+
2008-10-14 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: added missing dep (#14775); cleaned up