/[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.9 Revision 1.10
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.9 2006/10/12 02:53:25 joshuabaergen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/Attic/xorg-server-1.1.1-r1.ebuild,v 1.10 2006/10/12 15:31:34 joshuabaergen 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 nv r128 radeon siliconmotion vesa via" 349 nv r128 radeon siliconmotion vesa via"
350 350
351 if use kdrive; then 351 if use kdrive; then
352 einfo "Removing unused kdrive drivers ..." 352 einfo "Removing unused kdrive drivers ..."
353 for card in ${IUSE_VIDEO_CARDS}; do 353 for card in ${IUSE_VIDEO_CARDS}; do
354 # (bug #136370) Radeon needs fbdev and vesa 354 # Skip binary drivers
355 if use video_cards_radeon; then
356 if [[ ${card} = video_cards_fbdev ]] \ 355 if [[ ${card} = video_cards_nvidia ]] \
357 || [[ ${card} = video_cards_vesa ]]; then 356 || [[ ${card} = video_cards_fglrx ]]; then
358 continue 357 continue
359 fi
360 fi 358 fi
361 359
362 real_card=${card#video_cards_} 360 real_card=${card#video_cards_}
363 361
364 # Differences between VIDEO_CARDS name and kdrive server name 362 # Differences between VIDEO_CARDS name and kdrive server name
368 real_card=${real_card/siliconmotion/smi} 366 real_card=${real_card/siliconmotion/smi}
369 real_card=${real_card/%sis/sis300} 367 real_card=${real_card/%sis/sis300}
370 368
371 disable_card=0 369 disable_card=0
372 if ! use ${card}; then 370 if ! use ${card}; then
371 # (bug #136370) Radeon needs fbdev and vesa
372 if ! use x86 \
373 && use video_cards_radeon; then
374 if [[ ${card} = fbdev ]] \
375 || [[ ${card} = vesa ]]; then
376 continue
377 fi
378 fi
373 disable_card=1 379 disable_card=1
374 elif ! use x86; then
375 # Bug #150052 380 # Bug #150052
381 elif ! use x86 &&
376 if [[ ${vm86_devices/${card#video_cards_}/} != ${vm86_devices} ]]; then 382 [[ ${vm86_devices/${card#video_cards_}/} != ${vm86_devices} ]]; then
377 ewarn " $real_card does not work on your architecture; disabling." 383 ewarn " $real_card does not work on your architecture; disabling."
378 disable_card=1 384 disable_card=1
379 fi
380 fi 385 fi
381 386
382 if [[ $disable_card = 1 ]]; then 387 if [[ $disable_card = 1 ]]; then
383 ebegin " ${real_card}" 388 ebegin " ${real_card}"
384 sed -i \ 389 sed -i \

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20