Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4903 - (show annotations) (download)
Tue May 28 14:05:19 2013 UTC (10 years, 11 months ago) by niro
File size: 2612 byte(s)
-rev bump to 7.6.2-r4, install noveau-drivers by default
1 # $Id$
2
3 PNAME="xorg"
4 PVER="7.6.2"
5 PBUILD="r4"
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 REMOVE_DEPRECATED_MAGE_TARGETS=1
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 >= x11-misc/numlockx-1.2"
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 >= x11-libs/libXft-2.2"
45
46 # common fonts
47 DEPEND="${DEPEND}
48 >= media-fonts/font-adobe-75dpi-1.0.3
49 >= media-fonts/corefonts-2"
50
51 # some common input drivers
52 DEPEND="${DEPEND}
53 >= x11-drivers/xf86-input-evdev-2.6
54 >= x11-drivers/xf86-input-mouse-1.7
55 >= x11-drivers/xf86-input-keyboard-1.6"
56
57 # some common video drivers
58 DEPEND="${DEPEND}
59 >= x11-drivers/xf86-video-vesa-2.3
60 >= x11-drivers/xf86-video-ati-6.14
61 >= x11-drivers/xf86-video-i128-1.3
62 >= x11-drivers/xf86-video-i740-1.3
63 >= x11-drivers/xf86-video-intel-2.15
64 >= x11-drivers/xf86-video-mach64-6.9
65 >= x11-drivers/xf86-video-mga-1.4
66 >= x11-drivers/xf86-video-nv-2.1
67 >= x11-drivers/xf86-video-nouveau-1.0.1
68 >= x11-drivers/xf86-video-unichrome-0.2.6
69 >= x11-drivers/xf86-video-r128-6.8
70 >= x11-drivers/xf86-video-radeonhd-1.3
71 >= x11-drivers/xf86-video-s3-0.6.3
72 >= x11-drivers/xf86-video-s3virge-1.10
73 >= x11-drivers/xf86-video-savage-2.3
74 >= x11-drivers/xf86-video-sis-0.10
75 >= x11-drivers/xf86-video-trident-1.3
76 >= x11-drivers/xf86-video-vmware-11.0"
77
78 # do not fetch any sources (needed with the include of xorg.sminc)
79 unset SRC_URI
80
81 # only the old-xorg check
82 src_prepare() { is_old_xorg_installed; }
83
84 # fake (needed with the include of xorg.sminc)
85 src_compile() { return 0; }
86
87 src_install()
88 {
89 # backward compat; symlink /usr/X11R6 to /usr
90 minstalldir /usr || die
91 mlink ../usr /usr/X11R6 || die
92 }
93
94 preinstall()
95 {
96 is_old_xorg_installed
97
98 # filter out ModulePath line since it often holds a now-invalid path
99 # filter out RgbPath line too since it also seems to break things
100 if [ -f /etc/X11/xorg.conf ]
101 then
102 sed -i "/ModulePath/d" /etc/X11/xorg.conf
103 sed -i "/RgbPath/d" /etc/X11/xorg.conf
104 fi
105 }