Lines 119-125
Link Here
|
119 |
#would be created |
119 |
#would be created |
120 |
sh "${src}" --extract "${S}" 2&>1 /dev/null |
120 |
sh "${src}" --extract "${S}" 2&>1 /dev/null |
121 |
|
121 |
|
122 |
gunzip common/usr/share/man/man8/atieventsd.8 || die "manpage unzip failed" |
122 |
#gunzip common/usr/share/man/man8/atieventsd.8 || die "manpage unzip failed" |
123 |
|
123 |
|
124 |
# These are the userspace utilities that we also have source for. |
124 |
# These are the userspace utilities that we also have source for. |
125 |
# We rebuild these later. |
125 |
# We rebuild these later. |
Lines 176-192
Link Here
|
176 |
src_compile() { |
176 |
src_compile() { |
177 |
linux-mod_src_compile |
177 |
linux-mod_src_compile |
178 |
|
178 |
|
179 |
einfo "Building fgl_glxgears" |
179 |
# einfo "Building fgl_glxgears" |
180 |
cd "${S}"/extra/fgl_glxgears |
180 |
# cd "${S}"/extra/fgl_glxgears |
181 |
# These extra libs/utils either have an Imakefile that does not |
181 |
# These extra libs/utils either have an Imakefile that does not |
182 |
# work very well without tweaking or a Makefile ignoring CFLAGS |
182 |
# work very well without tweaking or a Makefile ignoring CFLAGS |
183 |
# and the like. We bypass those. |
183 |
# and the like. We bypass those. |
184 |
|
184 |
|
185 |
# The -DUSE_GLU is needed to compile using nvidia headers |
185 |
# The -DUSE_GLU is needed to compile using nvidia headers |
186 |
# according to a comment in ati-drivers-extra-8.33.6.ebuild. |
186 |
# according to a comment in ati-drivers-extra-8.33.6.ebuild. |
187 |
"$(tc-getCC)" -o fgl_fglxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU \ |
187 |
# "$(tc-getCC)" -o fgl_fglxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU \ |
188 |
-I"${S}"/common/usr/include fgl_glxgears.c \ |
188 |
# -I"${S}"/common/usr/include fgl_glxgears.c \ |
189 |
-lGL -lGLU -lX11 -lm || die "fgl_glxgears build failed" |
189 |
# -lGL -lGLU -lX11 -lm || die "fgl_glxgears build failed" |
190 |
|
190 |
|
191 |
einfo "Building fglrx_gamma lib" |
191 |
einfo "Building fglrx_gamma lib" |
192 |
cd "${S}"/extra/lib/fglrx_gamma |
192 |
cd "${S}"/extra/lib/fglrx_gamma |