/[gentoo-x86]/x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild
Gentoo

Diff of /x11-base/xorg-server/xorg-server-1.1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.17 Revision 1.18
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/Attic/xorg-server-1.1.1-r1.ebuild,v 1.17 2006/10/25 06:35:02 dberkholz Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/Attic/xorg-server-1.1.1-r1.ebuild,v 1.18 2006/10/25 07:18:47 dberkholz Exp $
4 4
5# Must be before x-modular eclass is inherited 5# Must be before x-modular eclass is inherited
6SNAPSHOT="yes" 6SNAPSHOT="yes"
7 7
8inherit x-modular multilib 8inherit x-modular multilib
349 x-modular_dri_check 349 x-modular_dri_check
350 x-modular_unpack_source 350 x-modular_unpack_source
351 x-modular_patch_source 351 x-modular_patch_source
352 352
353 # Set up kdrive servers to build 353 # Set up kdrive servers to build
354 # Bug #150052 - anything that uses vm86.h is broken on non-x86 arches.
355 # That translates into the following set:
356 vm86_devices="chips epson glint i810 mach64 mga neomagic
357 nv r128 radeon siliconmotion vesa via"
358
359 if use kdrive; then 354 if use kdrive; then
360 einfo "Removing unused kdrive drivers ..." 355 einfo "Removing unused kdrive drivers ..."
361 for card in ${IUSE_VIDEO_CARDS}; do 356 for card in ${IUSE_VIDEO_CARDS}; do
362 real_card=${card#video_cards_} 357 real_card=${card#video_cards_}
363 358
367 real_card=${real_card/%nv/nvidia} 362 real_card=${real_card/%nv/nvidia}
368 real_card=${real_card/siliconmotion/smi} 363 real_card=${real_card/siliconmotion/smi}
369 real_card=${real_card/%sis/sis300} 364 real_card=${real_card/%sis/sis300}
370 365
371 disable_card=0 366 disable_card=0
367
368 # Check whether it's a valid kdrive server before we waste time
369 # on the rest of this
370 if ! grep -q -o "\b${real_card}\b" ${S}/hw/kdrive/Makefile.am; then
371 continue
372 fi
373
372 if ! use ${card}; then 374 if ! use ${card}; then
373 # (bug #136370) Radeon needs fbdev and vesa 375 # (bug #136370) Radeon needs fbdev and vesa
374 if use x86 \ 376 if use x86 \
375 && use video_cards_radeon; then 377 && use video_cards_radeon; then
376 if [[ ${real_card} = fbdev ]] \ 378 if [[ ${real_card} = fbdev ]] \
378 continue 380 continue
379 fi 381 fi
380 fi 382 fi
381 disable_card=1 383 disable_card=1
382 # Bug #150052 384 # Bug #150052
385 # fbdev is the only VIDEO_CARDS setting that works on non-x86
383 elif ! use x86 && 386 elif ! use x86 \
384 [[ ${vm86_devices/${card#video_cards_}/} != ${vm86_devices} ]]; then 387 && [[ ${real_card} != fbdev ]]; then
385 ewarn " $real_card does not work on your architecture; disabling." 388 ewarn " $real_card does not work on your architecture; disabling."
386 disable_card=1 389 disable_card=1
387 fi 390 fi
388 391
389 if [[ $disable_card = 1 ]]; then 392 if [[ $disable_card = 1 ]]; then

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20