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