Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 27968 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-video/realplayer/realplayer-8-r5.ebuild (-21 / +8 lines)
Lines 14-39 Link Here
14
# form in order to be able to download the binary. When done, you should copy
14
# form in order to be able to download the binary. When done, you should copy
15
# or move the binary into /usr/portage/distfiles. No need to chmod +x
15
# or move the binary into /usr/portage/distfiles. No need to chmod +x
16
16
17
if use x86
17
SRC_URI="ppc? rp8_linux_powerpc_cs1.bin
18
then
19
	A="rp8_linux20_libc6_i386_cs2.bin"
20
elif use ppc
21
then
22
	A="rp8_linux_powerpc_cs1.bin"
23
elif use sparc
24
then
25
	A="rp8_linux_sparc_cs1.bin"
26
elif use alpha
27
then
28
	A="rp8_linux_alpha_rh62_cs1.bin"
29
fi
30
31
32
SRC_URI="x86? http://docs.real.com/docs/playerpatch/unix/rv9_libc6_i386_cs2.tgz
33
	x86? rp8_linux20_libc6_i386_cs2.bin
34
	ppc? rp8_linux_powerpc_cs1.bin
35
	sparc? rp8_linux_sparc_cs1.bin
18
	sparc? rp8_linux_sparc_cs1.bin
36
	alpha? rp8_linux_alpha_rh62_cs1.bin"
19
	alpha? rp8_linux_alpha_rh62_cs1.bin
20
	x86? ( rp8_linux20_libc6_i386_cs2.bin 
21
		http://docs.real.com/docs/playerpatch/unix/rv9_libc6_i386_cs2.tgz )"
37
22
38
LICENSE="realplayer8"
23
LICENSE="realplayer8"
39
SLOT="0"
24
SLOT="0"
Lines 47-53 Link Here
47
S=${WORKDIR}
32
S=${WORKDIR}
48
33
49
pkg_setup() {
34
pkg_setup() {
50
	if [ ! -f ${DISTDIR}/${A} ] ; then
35
	RP8_BIN=`echo ${A} | awk '{ print $1 }'`
36
37
	if [ ! -f ${DISTDIR}/${RP8_BIN} ] ; then
51
		eerror "Please go to:"
38
		eerror "Please go to:"
52
		eerror "http://forms.real.com/real/player/unix/unix.html"
39
		eerror "http://forms.real.com/real/player/unix/unix.html"
53
		eerror "And download the appropriate realplayer binary installer"
40
		eerror "And download the appropriate realplayer binary installer"
Lines 56-62 Link Here
56
		eerror "Please note, do NOT download the rpm.  Just the .bin file"
43
		eerror "Please note, do NOT download the rpm.  Just the .bin file"
57
		eerror "Named Linux 2.x (libc6 i386)"
44
		eerror "Named Linux 2.x (libc6 i386)"
58
		eerror ""
45
		eerror ""
59
		eerror "Download ${A} and place it in ${DISTDIR}"
46
		eerror "Download ${RP8_BIN} and place it in ${DISTDIR}"
60
		eerror "Then emerge this package again"
47
		eerror "Then emerge this package again"
61
48
62
		exit 1
49
		exit 1

Return to bug 27968