Lines 1-6
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 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-drivers/ati-drivers/ati-drivers-8.552-r1.ebuild,v 1.1 2008/11/15 15:27:18 lu_zero Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.542.ebuild,v 1.5 2008/10/28 02:13:16 mr_bones_ Exp $ |
4 |
|
4 |
|
5 |
IUSE="acpi debug" |
5 |
IUSE="acpi debug" |
6 |
|
6 |
|
Lines 114-129
Link Here
|
114 |
fi |
114 |
fi |
115 |
|
115 |
|
116 |
# Only support xorg-server >=1.1 |
116 |
# Only support xorg-server >=1.1 |
117 |
BASE_DIR="${S}/x740" |
117 |
PREFIX_DIR="${S}/x740" |
118 |
|
118 |
|
119 |
# This is used like $(get_libdir) for paths in ati's package. |
119 |
# This is used like $(get_libdir) for paths in ati's package. |
120 |
if use amd64 ; then |
120 |
if use amd64 ; then |
121 |
BASE_DIR="${BASE_DIR}_64a" |
121 |
BASE_DIR="${PREFIX_DIR}_64a" |
122 |
PKG_LIBDIR=lib64 |
122 |
PKG_LIBDIR=lib64 |
123 |
ARCH_DIR="${S}/arch/x86_64" |
123 |
ARCH_DIR="${S}/arch/x86_64" |
124 |
else |
124 |
else |
125 |
PKG_LIBDIR=lib |
125 |
PKG_LIBDIR=lib |
126 |
ARCH_DIR="${S}/arch/x86" |
126 |
ARCH_DIR="${S}/arch/x86" |
|
|
127 |
BASE_DIR="${PREFIX_DIR}_64a" |
127 |
fi |
128 |
fi |
128 |
} |
129 |
} |
129 |
|
130 |
|
Lines 363-373
Link Here
|
363 |
fi |
364 |
fi |
364 |
} |
365 |
} |
365 |
|
366 |
|
366 |
src_install-libs() { |
367 |
src_install-libs() { |
367 |
if [[ "${ABI}" == "amd64" ]]; then |
368 |
if [[ "${ABI}" == "amd64" ]]; then |
|
|
369 |
local BASE_DIR="${PREFIX_DIR}_64a" |
368 |
local pkglibdir=lib64 |
370 |
local pkglibdir=lib64 |
369 |
local MY_ARCH_DIR="${S}/arch/x86_64" |
371 |
local MY_ARCH_DIR="${S}/arch/x86_64" |
370 |
else |
372 |
else |
|
|
373 |
local BASE_DIR="${PREFIX_DIR}" |
371 |
local pkglibdir=lib |
374 |
local pkglibdir=lib |
372 |
local MY_ARCH_DIR="${S}/arch/x86" |
375 |
local MY_ARCH_DIR="${S}/arch/x86" |
373 |
fi |
376 |
fi |
Lines 387-393
Link Here
|
387 |
|
390 |
|
388 |
# Same as the xorg implementation (eselect opengl does not fall |
391 |
# Same as the xorg implementation (eselect opengl does not fall |
389 |
# back to xorg-x11 if we omit this symlink, meaning no glx). |
392 |
# back to xorg-x11 if we omit this symlink, meaning no glx). |
390 |
dosym ../xorg-x11/extensions ${ATI_ROOT}/extensions |
393 |
#dosym ../xorg-x11/extensions ${ATI_ROOT}/extensions |
|
|
394 |
exeinto ${ATI_ROOT}/extensions |
395 |
doexe "${BASE_DIR}"/usr/X11R6/${pkglibdir}/modules/extensions/libglx.so |
396 |
doexe "${BASE_DIR}"/usr/X11R6/${pkglibdir}/modules/extensions/libdri.so |
391 |
|
397 |
|
392 |
# DRI modules, installed into the path used by recent versions of mesa. |
398 |
# DRI modules, installed into the path used by recent versions of mesa. |
393 |
exeinto /usr/$(get_libdir)/dri |
399 |
exeinto /usr/$(get_libdir)/dri |