Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/xorg/xorg-7.6.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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