summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-07-19 12:32:12 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-07-19 12:32:12 +0000
commitba8d1a316255787c5adcfc6ea333e61e9a8e2c29 (patch)
treef933307bfea875b04dd793877aeccf741a653922 /media-video/realplayer
parentversion bump (diff)
downloadgentoo-2-ba8d1a316255787c5adcfc6ea333e61e9a8e2c29.tar.gz
gentoo-2-ba8d1a316255787c5adcfc6ea333e61e9a8e2c29.tar.bz2
gentoo-2-ba8d1a316255787c5adcfc6ea333e61e9a8e2c29.zip
fixed bug #24801
Diffstat (limited to 'media-video/realplayer')
-rw-r--r--media-video/realplayer/ChangeLog8
-rw-r--r--media-video/realplayer/Manifest12
-rw-r--r--media-video/realplayer/files/digest-realplayer-8-r65
-rw-r--r--media-video/realplayer/realplayer-8-r6.ebuild217
4 files changed, 236 insertions, 6 deletions
diff --git a/media-video/realplayer/ChangeLog b/media-video/realplayer/ChangeLog
index 87f5079e0d8c..61e70cec8241 100644
--- a/media-video/realplayer/ChangeLog
+++ b/media-video/realplayer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/realplayer
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.16 2003/07/13 22:35:53 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.17 2003/07/19 12:32:03 lanius Exp $
+
+*realplayer-8-r6 (19 Jul 2003)
+
+ 19 Jul 2003; lanius@gentoo.org realplayer-8-r6.ebuild:
+ fixed bug #24801 use /usr/share/applnk instead of ${KDEDIR/share/applnnk to
+ remove dep on kde-env
13 Jul 2003; Seemant Kulleen <seemant@gentoo.org> realplayer-8-r5.ebuild:
CJ Kucera's patch to add the digests for the different realplayers. See
diff --git a/media-video/realplayer/Manifest b/media-video/realplayer/Manifest
index 205a980ab2dd..292b440cafe9 100644
--- a/media-video/realplayer/Manifest
+++ b/media-video/realplayer/Manifest
@@ -1,13 +1,15 @@
-MD5 b97665c8e90d0af465e410a22820cb36 realplayer-8-r5.ebuild 5423
-MD5 10bd06978bd35f5c802559a2197d3897 realplayer-8-r2.ebuild 1889
-MD5 0ac8c12ff2af0a42ef903d2a6acfab97 realplayer-8-r4.ebuild 3322
-MD5 efdddb0351013682bcc6e306df9d88fb ChangeLog 2817
+MD5 4171c61e40b49b6034ddb23233ddc6fe ChangeLog 3008
MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219
+MD5 10bd06978bd35f5c802559a2197d3897 realplayer-8-r2.ebuild 1889
MD5 0fe362d2065e3e7d5b4194781e6b540f realplayer-8-r3.ebuild 1833
+MD5 0ac8c12ff2af0a42ef903d2a6acfab97 realplayer-8-r4.ebuild 3322
+MD5 acc8546389dd3088557249d54cc3c09e realplayer-8-r6.ebuild 5413
+MD5 b97665c8e90d0af465e410a22820cb36 realplayer-8-r5.ebuild 5423
+MD5 5770afeac4496095cec26d13745be3b4 files/10realplayer 48
MD5 1615fcd4a12cd1ed4da679660607475a files/digest-realplayer-8-r2 76
MD5 1615fcd4a12cd1ed4da679660607475a files/digest-realplayer-8-r3 76
MD5 aff8cd62e041198417245d449dcee33a files/digest-realplayer-8-r4 357
MD5 b1f07ef9de78ae97ad9d42a6971b0d40 files/digest-realplayer-8-r5 357
MD5 db1abde793632464b694bc07794630a5 files/mimeinfo 367
-MD5 5770afeac4496095cec26d13745be3b4 files/10realplayer 48
MD5 cc3251234e6be88a6554a5f08c0f98d9 files/realplayer.desktop 359
+MD5 b1f07ef9de78ae97ad9d42a6971b0d40 files/digest-realplayer-8-r6 357
diff --git a/media-video/realplayer/files/digest-realplayer-8-r6 b/media-video/realplayer/files/digest-realplayer-8-r6
new file mode 100644
index 000000000000..7a834532ec7b
--- /dev/null
+++ b/media-video/realplayer/files/digest-realplayer-8-r6
@@ -0,0 +1,5 @@
+MD5 b2fd9f4148edfd8e2a714dd57634ae1b rv9_libc6_i386_cs2.tgz 814305
+MD5 42624f63c980156da8fb9ff7fd86b083 rp8_linux20_libc6_i386_cs2.bin 5890331
+MD5 39a5d43cea49198464b2caddfffc6c09 rp8_linux_powerpc_cs1.bin 8758422
+MD5 3e400b804a0874a0865fd53c1e1a0f0d rp8_linux_sparc_cs1.bin 7484808
+MD5 f6956d7daa5b35295b7b3560a00f8631 rp8_linux_alpha_rh62_cs1.bin 8899116
diff --git a/media-video/realplayer/realplayer-8-r6.ebuild b/media-video/realplayer/realplayer-8-r6.ebuild
new file mode 100644
index 000000000000..e9156cc969dc
--- /dev/null
+++ b/media-video/realplayer/realplayer-8-r6.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-8-r6.ebuild,v 1.1 2003/07/19 12:32:04 lanius Exp $
+
+inherit nsplugins
+
+IUSE="kde gnome"
+
+DESCRIPTION="RealPlayer 8 is a streaming media player"
+HOMEPAGE="http://forms.real.com/real/player/unix/unix.html"
+
+# !! READ THIS !!
+# Due to fetch restrictions, you need to go to the above URL and fill out the
+# form in order to be able to download the binary. When done, you should copy
+# or move the binary into /usr/portage/distfiles. No need to chmod +x
+
+if use x86
+then
+ A="rp8_linux20_libc6_i386_cs2.bin"
+elif use ppc
+then
+ A="rp8_linux_powerpc_cs1.bin"
+elif use sparc
+then
+ A="rp8_linux_sparc_cs1.bin"
+elif use alpha
+then
+ A="rp8_linux_alpha_rh62_cs1.bin"
+fi
+
+
+SRC_URI="x86? http://docs.real.com/docs/playerpatch/unix/rv9_libc6_i386_cs2.tgz
+ x86? rp8_linux20_libc6_i386_cs2.bin
+ ppc? rp8_linux_powerpc_cs1.bin
+ sparc? rp8_linux_sparc_cs1.bin
+ alpha? rp8_linux_alpha_rh62_cs1.bin"
+
+LICENSE="realplayer8"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~alpha"
+
+DEPEND="virtual/glibc"
+RDEPEND="virtual/x11"
+RESTRICT="nostrip fetch"
+
+BASE="/opt/RealPlayer8"
+S=${WORKDIR}
+
+pkg_setup() {
+ if [ ! -f ${DISTDIR}/${A} ] ; then
+ eerror "Please go to:"
+ eerror "http://forms.real.com/real/player/unix/unix.html"
+ eerror "And download the appropriate realplayer binary installer"
+ eerror "for this architecture: ${ARCH}"
+ use x86 && \
+ eerror "Please note, do NOT download the rpm. Just the .bin file"
+ eerror "Named Linux 2.x (libc6 i386)"
+ eerror ""
+ eerror "Download ${A} and place it in ${DISTDIR}"
+ eerror "Then emerge this package again"
+
+ exit 1
+ fi
+}
+
+src_unpack() {
+ if use x86 ; then
+ BYTECOUNT=4799691
+ RP8_BIN=`echo ${A} | awk '{ print $1 }'`
+ RV9_X86=`echo ${A} | awk '{ print $2 }'`
+ else
+ RP8_BIN=${A}
+ if use ppc ; then BYTECOUNT=7260910
+ elif use alpha ; then BYTECOUNT=7130860
+ elif use sparc ; then BYTECOUNT=6375000
+ fi
+ fi
+ tail -c ${BYTECOUNT} ${DISTDIR}/${RP8_BIN} | tar xz 2> /dev/null
+ if use x86 ; then
+ unpack ${RV9_X86}
+ fi
+}
+
+src_compile() {
+ einfo "Nothing to Compile, this is a binary package"
+}
+
+src_install () {
+ insinto ${BASE}/Codecs
+ doins Codecs/*
+ if [ -d rv9/codecs ] ; then
+ doins rv9/codecs/drv4.so.6.0 rv9/codecs/rv40.so.6.0
+ fi
+ insinto ${BASE}/Common
+ doins Common/*
+ insinto ${BASE}/Plugins/ExtResources
+ doins Plugins/ExtResources/*
+ insinto ${BASE}/Plugins
+ doins Plugins/*.so.6.0
+ insinto ${BASE}
+ doins *.xpm *.png *.rm rpnp.so LICENSE README ${FILESDIR}/mimeinfo
+ exeinto ${BASE}
+ doexe realplay
+ dodir /opt/bin
+ dosym ${BASE}/realplay /opt/bin
+
+ # NS plugin
+ for b in /opt/netscape /usr/lib/mozilla /usr/lib/nsbrowser
+ do
+ if [ -d ${b} ] ; then
+ dodir ${b}/plugins
+ dosym ${BASE}/rpnp.so ${b}/plugins
+ fi
+ done
+
+ # Desktop menu entry ; KDE, Gnome
+ if use kde ; then
+ insinto /usr/share/applnk/Multimedia
+ doins ${FILESDIR}/realplayer.desktop
+ fi
+ if use gnome ; then
+ insinto /usr/share/applications
+ doins ${FILESDIR}/realplayer.desktop
+ fi
+
+ cp rp7.xpm realplayer8.xpm
+ insinto /usr/share/pixmaps
+ doins realplayer8.xpm
+
+ # Mimetypes - Intentionally left blank (for now)
+ # Better not use the provided scripts from Real, they are outdated
+ # See ${BASE}/mimeinfo for the correct mimetypes if you need them
+}
+
+pkg_postinst() {
+ echo
+ einfo "Finished installing RealPlayer8 into ${BASE}"
+ einfo "You can start the player by running 'realplay'"
+ einfo "You have to agree to the terms in ${BASE}/LICENSE or unmerge"
+ echo
+}
+src_unpack() {
+ if use x86 ; then
+ BYTECOUNT=4799691
+ RP8_BIN=`echo ${A} | awk '{ print $1 }'`
+ RV9_X86=`echo ${A} | awk '{ print $2 }'`
+ else
+ RP8_BIN=${A}
+ if use ppc ; then BYTECOUNT=7260910
+ elif use alpha ; then BYTECOUNT=7130860
+ elif use sparc ; then BYTECOUNT=6375000
+ fi
+ fi
+ tail -c ${BYTECOUNT} ${DISTDIR}/${RP8_BIN} | tar xz 2> /dev/null
+ if use x86 ; then
+ unpack ${RV9_X86}
+ fi
+}
+
+src_compile() {
+ einfo "Nothing to Compile, this is a binary package"
+}
+
+src_install () {
+ insinto ${BASE}/Codecs
+ doins Codecs/*
+ if [ -d rv9/codecs ] ; then
+ doins rv9/codecs/drv4.so.6.0 rv9/codecs/rv40.so.6.0
+ fi
+ insinto ${BASE}/Common
+ doins Common/*
+ insinto ${BASE}/Plugins/ExtResources
+ doins Plugins/ExtResources/*
+ insinto ${BASE}/Plugins
+ doins Plugins/*.so.6.0
+ insinto ${BASE}
+ doins *.xpm *.png *.rm rpnp.so LICENSE README ${FILESDIR}/mimeinfo
+ exeinto ${BASE}
+ doexe realplay
+ dodir /opt/bin
+ dosym ${BASE}/realplay /opt/bin
+
+ # NS plugin
+ for b in /opt/netscape /usr/lib/mozilla /usr/lib/nsbrowser
+ do
+ if [ -d ${b} ] ; then
+ dodir ${b}/plugins
+ dosym ${BASE}/rpnp.so ${b}/plugins
+ fi
+ done
+
+ # Desktop menu entry ; KDE, Gnome
+ if use kde ; then
+ insinto ${KDEDIR}/share/applnk/Multimedia
+ doins ${FILESDIR}/realplayer.desktop
+ fi
+ if use gnome ; then
+ insinto /usr/share/applications
+ doins ${FILESDIR}/realplayer.desktop
+ fi
+
+ cp rp7.xpm realplayer8.xpm
+ insinto /usr/share/pixmaps
+ doins realplayer8.xpm
+
+ # Mimetypes - Intentionally left blank (for now)
+ # Better not use the provided scripts from Real, they are outdated
+ # See ${BASE}/mimeinfo for the correct mimetypes if you need them
+}
+
+pkg_postinst() {
+ echo
+ einfo "Finished installing RealPlayer8 into ${BASE}"
+ einfo "You can start the player by running 'realplay'"
+ einfo "You have to agree to the terms in ${BASE}/LICENSE or unmerge"
+ echo
+}