Lines 1-6
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 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.26.18-r1.ebuild,v 1.1 2006/07/06 13:04:05 lu_zero Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
IUSE="acpi doc opengl" |
5 |
IUSE="acpi doc opengl" |
6 |
|
6 |
|
Lines 15-25
Link Here
|
15 |
KEYWORDS="-* ~amd64 ~x86" |
15 |
KEYWORDS="-* ~amd64 ~x86" |
16 |
|
16 |
|
17 |
RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) |
17 |
RDEPEND="|| ( x11-base/xorg-server virtual/x11 ) |
18 |
|| ( x11-apps/xauth virtual/x11 ) |
|
|
19 |
!>=x11-base/xorg-server-1.0.99 |
18 |
!>=x11-base/xorg-server-1.0.99 |
20 |
app-admin/eselect-opengl |
19 |
app-admin/eselect-opengl |
21 |
|| ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) |
20 |
|| ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) |
22 |
acpi? ( sys-power/acpid )" |
21 |
acpi? ( |
|
|
22 |
|| ( x11-apps/auth virtual/x11 ) |
23 |
sys-power/acpid |
24 |
)" |
23 |
|
25 |
|
24 |
DEPEND=">=virtual/linux-sources-2.4 |
26 |
DEPEND=">=virtual/linux-sources-2.4 |
25 |
${RDEPEND}" |
27 |
${RDEPEND}" |
Lines 146-151
Link Here
|
146 |
-e "s/#ffff#/#ffff##:.*MIT-MAGIC-COOKIE/" \ |
148 |
-e "s/#ffff#/#ffff##:.*MIT-MAGIC-COOKIE/" \ |
147 |
"${WORKDIR}/common/etc/ati/authatieventsd.sh" \ |
149 |
"${WORKDIR}/common/etc/ati/authatieventsd.sh" \ |
148 |
|| die "sed failed." |
150 |
|| die "sed failed." |
|
|
151 |
|
152 |
sed -i \ |
153 |
-e "s/\/usr\/X11R6\/bin/\/opt\/ati\/bin/" \ |
154 |
"${WORKDIR}/common/usr/share/doc/fglrx/examples/etc/acpi/ati-powermode.sh" \ |
155 |
|| die "sed (2) failed." |
149 |
fi |
156 |
fi |
150 |
} |
157 |
} |
151 |
|
158 |
|
Lines 224-236
Link Here
|
224 |
#apps, man pages, and conf files |
231 |
#apps, man pages, and conf files |
225 |
exeinto /opt/ati/bin |
232 |
exeinto /opt/ati/bin |
226 |
doexe ${ARCH_DIR}/usr/X11R6/bin/* |
233 |
doexe ${ARCH_DIR}/usr/X11R6/bin/* |
227 |
if use acpid |
234 |
if use acpi |
228 |
then |
235 |
then |
229 |
exeinto /opt/ati/sbin |
236 |
exeinto /opt/ati/sbin |
230 |
doexe ${ARCH_DIR}/usr/sbin/* |
237 |
doexe ${ARCH_DIR}/usr/sbin/* |
231 |
insinto /opt/ati/man/man8 |
238 |
insinto /opt/ati/man/man8 |
232 |
doins common/usr/share/man/man8/* |
239 |
doins common/usr/share/man/man8/* |
233 |
doinitd ${FILESDIR}/atieventsd.rc6 atieventsd |
240 |
newinitd ${FILESDIR}/atieventsd.rc6 atieventsd |
234 |
dodir /etc/conf.d |
241 |
dodir /etc/conf.d |
235 |
echo 'ATIEVENTSDOPTS=""' > ${D}/etc/conf.d/atieventsd |
242 |
echo 'ATIEVENTSDOPTS=""' > ${D}/etc/conf.d/atieventsd |
236 |
fi |
243 |
fi |
Lines 345-352
Link Here
|
345 |
insinto ${X11_DIR}/include/X11/extensions |
352 |
insinto ${X11_DIR}/include/X11/extensions |
346 |
doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h |
353 |
doins ${COMMON_DIR}/usr/X11R6/include/X11/extensions/fglrx_gamma.h |
347 |
|
354 |
|
|
|
355 |
# misc ati configuration files for /etc |
348 |
dodir /etc |
356 |
dodir /etc |
349 |
cp -pPR ${COMMON_DIR}/etc/* ${D}/etc/ |
357 |
cp -pP ${COMMON_DIR}/etc/fglrxprofiles.csv ${D}/etc/ |
|
|
358 |
cp -pP ${COMMON_DIR}/etc/fglrxrc ${D}/etc/ |
359 |
dodir /etc/ati |
360 |
cp -pP ${COMMON_DIR}/etc/ati/logo* ${D}/etc/ati/ |
361 |
if use acpi |
362 |
then |
363 |
cp -pP ${COMMON_DIR}/etc/ati/authatieventsd.sh ${D}/etc/ati/ |
364 |
fi |
365 |
|
350 |
} |
366 |
} |
351 |
|
367 |
|
352 |
|
368 |
|