|
Lines 2-8
Link Here
|
| 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.37.6-r1.ebuild,v 1.2 2007/06/17 14:02:12 marienz Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.37.6-r1.ebuild,v 1.2 2007/06/17 14:02:12 marienz Exp $ |
| 4 |
|
4 |
|
| 5 |
IUSE="acpi qt3 multilib" |
5 |
IUSE="acpi multilib" |
| 6 |
|
6 |
|
| 7 |
inherit eutils multilib linux-mod toolchain-funcs versionator |
7 |
inherit eutils multilib linux-mod toolchain-funcs versionator |
| 8 |
|
8 |
|
|
Lines 26-32
Link Here
|
| 26 |
x11-apps/xauth |
26 |
x11-apps/xauth |
| 27 |
sys-power/acpid |
27 |
sys-power/acpid |
| 28 |
) |
28 |
) |
| 29 |
qt3? ( =x11-libs/qt-3* ) |
|
|
| 30 |
>=sys-apps/portage-2.1.1-r1" |
29 |
>=sys-apps/portage-2.1.1-r1" |
| 31 |
|
30 |
|
| 32 |
DEPEND="${RDEPEND} |
31 |
DEPEND="${RDEPEND} |
|
Lines 157-169
Link Here
|
| 157 |
|| die "MODVERSIONS sed failed" |
156 |
|| die "MODVERSIONS sed failed" |
| 158 |
popd >/dev/null |
157 |
popd >/dev/null |
| 159 |
|
158 |
|
| 160 |
mkdir panel extra || die "mkdirs failed" |
159 |
mkdir extra || die "mkdirs failed" |
| 161 |
# The ./ in these unpacks is required (or unpack looks in ${DISTDIR}) |
160 |
# The ./ in these unpacks is required (or unpack looks in ${DISTDIR}) |
| 162 |
if use qt3; then |
|
|
| 163 |
cd panel |
| 164 |
unpack ./../common/usr/src/ati/fglrx_panel_sources.tgz |
| 165 |
cd .. |
| 166 |
fi |
| 167 |
cd extra |
161 |
cd extra |
| 168 |
unpack ./../common/usr/src/ati/fglrx_sample_source.tgz |
162 |
unpack ./../common/usr/src/ati/fglrx_sample_source.tgz |
| 169 |
sed -i -e 's:include/extensions/extutil.h:X11/extensions/extutil.h:' \ |
163 |
sed -i -e 's:include/extensions/extutil.h:X11/extensions/extutil.h:' \ |
|
Lines 202-214
Link Here
|
| 202 |
-I../../../common/usr/X11R6/include -L../../lib/fglrx_gamma \ |
196 |
-I../../../common/usr/X11R6/include -L../../lib/fglrx_gamma \ |
| 203 |
fglrx_xgamma.c -lm -lfglrx_gamma -lX11 \ |
197 |
fglrx_xgamma.c -lm -lfglrx_gamma -lX11 \ |
| 204 |
|| die "fglrx_gamma util build failed" |
198 |
|| die "fglrx_gamma util build failed" |
| 205 |
|
|
|
| 206 |
if use qt3; then |
| 207 |
einfo "Building the QT panel" |
| 208 |
cd "${S}"/panel |
| 209 |
emake CDEBFLAGS="${CFLAGS}" CCDEBFLAGS="${CXXFLAGS}" STRIP=true \ |
| 210 |
|| die "panel build failed" |
| 211 |
fi |
| 212 |
} |
199 |
} |
| 213 |
|
200 |
|
| 214 |
src_install() { |
201 |
src_install() { |
|
Lines 343-355
Link Here
|
| 343 |
doman extra/programs/fglrx_gamma/fglrx_xgamma.1 |
330 |
doman extra/programs/fglrx_gamma/fglrx_xgamma.1 |
| 344 |
newdoc extra/programs/fglrx_gamma/README README.fglrx_gamma |
331 |
newdoc extra/programs/fglrx_gamma/README README.fglrx_gamma |
| 345 |
|
332 |
|
| 346 |
if use qt3; then |
|
|
| 347 |
dobin panel/fireglcontrol |
| 348 |
make_desktop_entry fireglcontrol 'ATI Control' ati.xpm System |
| 349 |
insinto /usr/share/pixmaps |
| 350 |
doins common/usr/share/icons/ati.xpm |
| 351 |
fi |
| 352 |
|
| 353 |
# Gentoo-specific stuff: |
333 |
# Gentoo-specific stuff: |
| 354 |
|
334 |
|
| 355 |
if use acpi; then |
335 |
if use acpi; then |