Contents of /trunk/core/xorg/xorg-7.6.3-r1.smage2
Parent Directory | Revision Log
Revision 10617 -
(show annotations)
(download)
Wed Jan 25 23:41:28 2012 UTC (12 years, 4 months ago) by niro
File size: 2148 byte(s)
Wed Jan 25 23:41:28 2012 UTC (12 years, 4 months ago) by niro
File size: 2148 byte(s)
-import from magellan-next
1 | # $Id$ |
2 | |
3 | PNAME="xorg" |
4 | PVER="7.6.3" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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 | sminclude xorg mtools |
13 | |
14 | # < remove this later; xorg-server provides this now too |
15 | PROVIDE="virtual/x11" |
16 | |
17 | # server itself |
18 | DEPEND=">= x11-base/xorg-server-1.11.3" |
19 | |
20 | # common apps |
21 | DEPEND="${DEPEND} |
22 | >= x11-apps/iceauth-1.0.5 |
23 | >= x11-apps/setxkbmap-1.2 |
24 | >= x11-apps/xauth-1.0.6 |
25 | >= x11-apps/xinput-1.5 |
26 | >= x11-apps/xhost-1.0.4 |
27 | >= x11-apps/xrandr-1.3.4 |
28 | >= x11-apps/xmessage-1.0.3 |
29 | >= x11-apps/xprop-1.2 |
30 | >= x11-apps/xrdb-1.0.9 |
31 | >= x11-apps/xset-1.2 |
32 | >= x11-terms/xterm-269" |
33 | |
34 | # common libs |
35 | DEPEND="${DEPEND} |
36 | >= x11-libs/libSM-1.1.1 |
37 | >= x11-libs/libXcomposite-0.4.1 |
38 | >= x11-libs/libXcursor-1.1.10 |
39 | >= x11-libs/libXdamage-1.1.2 |
40 | >= x11-libs/libXfixes-4.0.4 |
41 | >= x11-libs/libXv-1.0.5 |
42 | >= x11-libs/libXxf86dga-1.1.1 |
43 | >= x11-libs/libXinerama-1.1 |
44 | >= x11-libs/libXScrnSaver-1.2.0" |
45 | |
46 | # common fonts |
47 | DEPEND="${DEPEND} |
48 | >= media-fonts/font-bh-ttf-1 |
49 | >= media-fonts/font-adobe-utopia-type1-1 |
50 | >= media-fonts/font-bitstream-type1-1" |
51 | |
52 | # docs |
53 | DEPEND="${DEPEND} |
54 | >= app-doc/xorg-docs-1.5" |
55 | |
56 | # some common input drivers |
57 | DEPEND="${DEPEND} |
58 | >= x11-drivers/xf86-input-evdev-2.6 |
59 | >= x11-drivers/xf86-input-mouse-1.7 |
60 | >= x11-drivers/xf86-input-keyboard-1.6" |
61 | |
62 | # some common video drivers |
63 | DEPEND="${DEPEND} |
64 | >= x11-drivers/xf86-video-vesa-2.3" |
65 | |
66 | # want whiteglas as default cursors |
67 | DEPEND="${DEPEND} |
68 | >= x11-themes/xcursor-themes-1" |
69 | |
70 | # do not fetch any sources (needed with the include of xorg.sminc) |
71 | unset SRC_URI |
72 | |
73 | # only the old-xorg check |
74 | src_prepare() { is_old_xorg_installed; } |
75 | |
76 | # fake (needed with the include of xorg.sminc) |
77 | src_compile() { return 0; } |
78 | |
79 | src_install() |
80 | { |
81 | # backward compat; symlink /usr/X11R6 to /usr |
82 | minstalldir /usr || die |
83 | mlink ../usr /usr/X11R6 || die |
84 | } |
85 | |
86 | preinstall() |
87 | { |
88 | is_old_xorg_installed |
89 | |
90 | # filter out ModulePath line since it often holds a now-invalid path |
91 | # filter out RgbPath line too since it also seems to break things |
92 | if [ -f /etc/X11/xorg.conf ] |
93 | then |
94 | sed -i "/ModulePath/d" /etc/X11/xorg.conf |
95 | sed -i "/RgbPath/d" /etc/X11/xorg.conf |
96 | fi |
97 | } |