Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2351 - (hide annotations) (download)
Thu Jun 9 14:36:04 2011 UTC (13 years ago) by niro
File size: 2533 byte(s)
-added missing libXft dep
1 niro 2329 # $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 niro 2335 REMOVE_DEPRECATED_MAGE_TARGETS=1
14 niro 2329 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 niro 2351 >= x11-libs/libXScrnSaver-1.2.0
44     >= x11-libs/libXft-2.2"
45 niro 2329
46     # common fonts
47     DEPEND="${DEPEND}
48 niro 2331 >= media-fonts/font-adobe-75dpi-1.0.3"
49 niro 2329
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.15
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     }