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

Diff of /x11-base/xorg-server/xorg-server-1.1.0.ebuild

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

Revision 1.1 Revision 1.2
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.0.ebuild,v 1.1 2006/05/23 04:30:27 joshuabaergen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/Attic/xorg-server-1.1.0.ebuild,v 1.2 2006/06/04 18:28:25 joshuabaergen Exp $
4 4
5# Must be before x-modular eclass is inherited 5# Must be before x-modular eclass is inherited
6# Hack to make sure autoreconf gets run 6# Hack to make sure autoreconf gets run
7SNAPSHOT="yes" 7SNAPSHOT="yes"
8 8
104 video_cards_vmware 104 video_cards_vmware
105 video_cards_voodoo 105 video_cards_voodoo
106 106
107 video_cards_nvidia 107 video_cards_nvidia
108 video_cards_fglrx" 108 video_cards_fglrx"
109IUSE_SERVERS="dmx kdrive xorg"
109IUSE="${IUSE_VIDEO_CARDS} 110IUSE="${IUSE_VIDEO_CARDS}
110 ${IUSE_INPUT_DEVICES} 111 ${IUSE_INPUT_DEVICES}
112 ${IUSE_SERVERS}
111 3dfx 113 3dfx
112 dmx dri ipv6 kdrive minimal nptl sdl xorg xprint" 114 dri ipv6 minimal nptl sdl xprint"
113RDEPEND="x11-libs/libXfont 115RDEPEND="x11-libs/libXfont
114 x11-libs/xtrans 116 x11-libs/xtrans
115 x11-libs/libXau 117 x11-libs/libXau
116 x11-libs/libXext 118 x11-libs/libXext
117 x11-libs/libX11 119 x11-libs/libX11
473 ) 475 )
474 )" 476 )"
475LICENSE="${LICENSE} MIT" 477LICENSE="${LICENSE} MIT"
476 478
477pkg_setup() { 479pkg_setup() {
480 ensure_a_server_is_building
481
478 # localstatedir is used for the log location; we need to override the default 482 # localstatedir is used for the log location; we need to override the default
479 # from ebuild.sh 483 # from ebuild.sh
480 # sysconfdir is used for the xorg.conf location; same applies 484 # sysconfdir is used for the xorg.conf location; same applies
481 485
482 # --enable-xorg needed because darwin defaults off 486 # --enable-xorg needed because darwin defaults off
644 ${D}/etc/X11/xinit/xinitrc.d/92xprint-xpserverlist.sh 648 ${D}/etc/X11/xinit/xinitrc.d/92xprint-xpserverlist.sh
645 # Move profile scripts, we can't touch /etc/profile.d/ in Gentoo 649 # Move profile scripts, we can't touch /etc/profile.d/ in Gentoo
646 dodoc ${D}/etc/profile.d/xprint* 650 dodoc ${D}/etc/profile.d/xprint*
647 rm -f ${D}/etc/profile.d/xprint* 651 rm -f ${D}/etc/profile.d/xprint*
648} 652}
653
654ensure_a_server_is_building() {
655 for server in ${IUSE_SERVERS}; do
656 use ${server} && return;
657 done
658 eerror "You need to specify at least one server to build."
659 eerror "Valid servers are: ${IUSE_SERVERS}."
660 die "No servers were specified to build."
661}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20