Magellan Linux

Contents of /branches/magellan-next/core/xorg/xorg-7.6.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7981 - (show annotations) (download)
Mon Jun 27 20:29:24 2011 UTC (12 years, 10 months ago) by niro
File size: 2171 byte(s)
-ver bump to 7.6.2-r1
1 # $Id$
2
3 PNAME="xorg"
4 PVER="7.6.2"
5 PBUILD="r1"
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
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/xterm-269"
34
35 # common libs
36 DEPEND="${DEPEND}
37 >= x11-libs/libSM-1.1.1
38 >= x11-libs/libXcomposite-0.4.1
39 >= x11-libs/libXcursor-1.1.10
40 >= x11-libs/libXdamage-1.1.2
41 >= x11-libs/libXfixes-4.0.4
42 >= x11-libs/libXv-1.0.5
43 >= x11-libs/libXxf86dga-1.1.1
44 >= x11-libs/libXinerama-1.1
45 >= x11-libs/libXScrnSaver-1.2.0"
46
47 # common fonts
48 DEPEND="${DEPEND}
49 >= media-fonts/font-bh-ttf-1
50 >= media-fonts/font-adobe-utopia-type1-1
51 >= media-fonts/font-bitstream-type1-1"
52
53 # docs
54 DEPEND="${DEPEND}
55 >= app-doc/xorg-docs-1.5"
56
57 # some common input drivers
58 DEPEND="${DEPEND}
59 >= x11-drivers/xf86-input-evdev-2.6
60 >= x11-drivers/xf86-input-mouse-1.7
61 >= x11-drivers/xf86-input-keyboard-1.6"
62
63 # some common video drivers
64 DEPEND="${DEPEND}
65 >= x11-drivers/xf86-video-vesa-2.3"
66
67 # want whiteglas as default cursors
68 DEPEND="${DEPEND}
69 >= x11-themes/xcursor-themes-1"
70
71 # do not fetch any sources (needed with the include of xorg.sminc)
72 unset SRC_URI
73
74 # only the old-xorg check
75 src_prepare() { is_old_xorg_installed; }
76
77 # fake (needed with the include of xorg.sminc)
78 src_compile() { return 0; }
79
80 src_install()
81 {
82 # backward compat; symlink /usr/X11R6 to /usr
83 minstalldir /usr || die
84 mlink ../usr /usr/X11R6 || die
85 }
86
87 preinstall()
88 {
89 is_old_xorg_installed
90
91 # filter out ModulePath line since it often holds a now-invalid path
92 # filter out RgbPath line too since it also seems to break things
93 if [ -f /etc/X11/xorg.conf ]
94 then
95 sed -i "/ModulePath/d" /etc/X11/xorg.conf
96 sed -i "/RgbPath/d" /etc/X11/xorg.conf
97 fi
98 }