Contents of /smage/trunk/core/xorg/xorg-7.6.80-r1.smage2
Parent Directory | Revision Log
Revision 3165 -
(show annotations)
(download)
Fri Sep 9 12:04:04 2011 UTC (12 years, 9 months ago) by niro
File size: 2536 byte(s)
Fri Sep 9 12:04:04 2011 UTC (12 years, 9 months ago) by niro
File size: 2536 byte(s)
-do not search for deprecated targets
1 | # $Id$ |
2 | |
3 | PNAME="xorg" |
4 | PVER="7.6.80" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-base" |
8 | |
9 | DESCRIPTION="Xorg is the XOrg Foundation's Public Implementation of the X Window System." |
10 | HOMEPAGE="http://xorg.freedesktop.org" |
11 | |
12 | sminclude xorg mtools alx |
13 | |
14 | # < remove this later; xorg-server provides this now too |
15 | PROVIDE="virtual/x11" |
16 | |
17 | # server itself |
18 | DEPEND=">= x11-base/xorg-server-1.11.0" |
19 | |
20 | # common apps |
21 | DEPEND="${DEPEND} |
22 | >= x11-apps/iceauth-1.0.5 |
23 | >= x11-apps/setxkbmap-1.2 |
24 | >= x11-apps/xauth-1.0.6 |
25 | >= x11-apps/xinput-1.5 |
26 | >= x11-apps/xhost-1.0.4 |
27 | >= x11-apps/xrandr-1.3.5 |
28 | >= x11-apps/xmessage-1.0.3 |
29 | >= x11-apps/xprop-1.2.1 |
30 | >= x11-apps/xrdb-1.0.9 |
31 | >= x11-apps/xset-1.2.1 |
32 | >= x11-terms/rxvt-2.7.10 |
33 | >= x11-misc/numlockx-1.2" |
34 | |
35 | # common libs |
36 | DEPEND="${DEPEND} |
37 | >= x11-libs/libSM-1.2 |
38 | >= x11-libs/libXcomposite-0.4.3 |
39 | >= x11-libs/libXdamage-1.1.3 |
40 | >= x11-libs/libXfixes-5 |
41 | >= x11-libs/libXinerama-1.1 |
42 | >= x11-libs/libXScrnSaver-1.2.1 |
43 | >= x11-libs/libXft-2.2" |
44 | |
45 | # common fonts |
46 | DEPEND="${DEPEND} |
47 | >= media-fonts/font-adobe-75dpi-1.0.3 |
48 | >= media-fonts/corefonts-2" |
49 | |
50 | # some common input drivers |
51 | DEPEND="${DEPEND} |
52 | >= x11-drivers/xf86-input-evdev-2.6 |
53 | >= x11-drivers/xf86-input-mouse-1.7 |
54 | >= x11-drivers/xf86-input-keyboard-1.6" |
55 | |
56 | # some common video drivers |
57 | DEPEND="${DEPEND} |
58 | >= x11-drivers/xf86-video-vesa-2.3 |
59 | >= x11-drivers/xf86-video-ati-6.14 |
60 | >= x11-drivers/xf86-video-i128-1.3 |
61 | >= x11-drivers/xf86-video-i740-1.3 |
62 | >= x11-drivers/xf86-video-intel-2.16 |
63 | >= x11-drivers/xf86-video-mach64-6.9 |
64 | >= x11-drivers/xf86-video-mga-1.4 |
65 | >= x11-drivers/xf86-video-nv-2.1 |
66 | >= x11-drivers/xf86-video-openchrome-0.2 |
67 | >= x11-drivers/xf86-video-r128-6.8 |
68 | >= x11-drivers/xf86-video-radeonhd-1.3 |
69 | >= x11-drivers/xf86-video-s3-0.6.3 |
70 | >= x11-drivers/xf86-video-s3virge-1.10 |
71 | >= x11-drivers/xf86-video-savage-2.3 |
72 | >= x11-drivers/xf86-video-sis-0.10 |
73 | >= x11-drivers/xf86-video-trident-1.3 |
74 | >= x11-drivers/xf86-video-vmware-11.0" |
75 | |
76 | # do not fetch any sources (needed with the include of xorg.sminc) |
77 | unset SRC_URI |
78 | |
79 | # only the old-xorg check |
80 | src_prepare() { is_old_xorg_installed; } |
81 | |
82 | # fake (needed with the include of xorg.sminc) |
83 | src_compile() { return 0; } |
84 | |
85 | src_install() |
86 | { |
87 | # backward compat; symlink /usr/X11R6 to /usr |
88 | minstalldir /usr || die |
89 | mlink ../usr /usr/X11R6 || die |
90 | } |
91 | |
92 | preinstall() |
93 | { |
94 | is_old_xorg_installed |
95 | |
96 | # filter out ModulePath line since it often holds a now-invalid path |
97 | # filter out RgbPath line too since it also seems to break things |
98 | if [ -f /etc/X11/xorg.conf ] |
99 | then |
100 | sed -i "/ModulePath/d" /etc/X11/xorg.conf |
101 | sed -i "/RgbPath/d" /etc/X11/xorg.conf |
102 | fi |
103 | } |