| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/Attic/xorg-server-1.3.0.0.ebuild,v 1.11 2007/07/31 18:52:11 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/Attic/xorg-server-1.3.0.0.ebuild,v 1.12 2007/08/01 22:19:57 dberkholz Exp $ |
| 4 | |
4 | |
| 5 | # Must be before x-modular eclass is inherited |
5 | # Must be before x-modular eclass is inherited |
| 6 | #SNAPSHOT="yes" |
6 | #SNAPSHOT="yes" |
| 7 | |
7 | |
| 8 | inherit x-modular multilib |
8 | inherit x-modular multilib |
| … | |
… | |
| 260 | video_cards_nvidia? ( x11-drivers/nvidia-drivers ) |
260 | video_cards_nvidia? ( x11-drivers/nvidia-drivers ) |
| 261 | video_cards_fglrx? ( >=x11-drivers/ati-drivers-8.37.6 ) |
261 | video_cards_fglrx? ( >=x11-drivers/ati-drivers-8.37.6 ) |
| 262 | )" |
262 | )" |
| 263 | LICENSE="${LICENSE} MIT" |
263 | LICENSE="${LICENSE} MIT" |
| 264 | |
264 | |
|
|
265 | PATCHES=" |
|
|
266 | ${FILESDIR}/1.2.0-fix-amd-cpu-detection.patch |
|
|
267 | ${FILESDIR}/1.2.0-properly-free-device-devprivates-memory-leak-fix.patch |
|
|
268 | ${FILESDIR}/1.2.0-typo-fix.patch |
|
|
269 | ${FILESDIR}/1.2.0-zero-out-client-devprivates-on-allocation.patch |
|
|
270 | ${FILESDIR}/1.3.0.0-use-proc-instead-of-sys.patch |
|
|
271 | ${FILESDIR}/avoid-crash-on-minimized-xv-window.patch |
|
|
272 | ${FILESDIR}/xorg-server-sam225bw-quirks.patch |
|
|
273 | ${FILESDIR}/1.3-alpha-build-fix.patch |
|
|
274 | " |
|
|
275 | |
| 265 | pkg_setup() { |
276 | pkg_setup() { |
| 266 | use minimal || ensure_a_server_is_building |
277 | use minimal || ensure_a_server_is_building |
| 267 | |
278 | |
| 268 | # SDL only available in kdrive build |
279 | # SDL only available in kdrive build |
| 269 | if use kdrive && use sdl; then |
280 | if use kdrive && use sdl; then |