diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-07-13 22:34:52 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-07-13 22:34:52 +0000 |
commit | 0dc820a60a793770f4eaedbeb4b3157380c029d7 (patch) | |
tree | 086fd1a569ef47b7ea93e2501249760a20f78421 /media-video | |
parent | digest fix0r (diff) | |
download | historical-0dc820a60a793770f4eaedbeb4b3157380c029d7.tar.gz historical-0dc820a60a793770f4eaedbeb4b3157380c029d7.tar.bz2 historical-0dc820a60a793770f4eaedbeb4b3157380c029d7.zip |
digest fix0r
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/realplayer/Manifest | 4 | ||||
-rw-r--r-- | media-video/realplayer/files/digest-realplayer-8-r5 | 4 | ||||
-rw-r--r-- | media-video/realplayer/realplayer-8-r5.ebuild | 86 |
3 files changed, 89 insertions, 5 deletions
diff --git a/media-video/realplayer/Manifest b/media-video/realplayer/Manifest index 6f5b92e5bb19..00763789cadf 100644 --- a/media-video/realplayer/Manifest +++ b/media-video/realplayer/Manifest @@ -1,7 +1,7 @@ -MD5 cf5d87b3d7bfbd75995121518a5747ac realplayer-8-r5.ebuild 5423 +MD5 b97665c8e90d0af465e410a22820cb36 realplayer-8-r5.ebuild 5423 MD5 10bd06978bd35f5c802559a2197d3897 realplayer-8-r2.ebuild 1889 MD5 0ac8c12ff2af0a42ef903d2a6acfab97 realplayer-8-r4.ebuild 3322 -MD5 70de3beb603b5d9e0aec8d05e7360290 ChangeLog 2652 +MD5 493f7cbf94cbe2cac1e0a0a2281ab6cc ChangeLog 2797 MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219 MD5 0fe362d2065e3e7d5b4194781e6b540f realplayer-8-r3.ebuild 1833 MD5 1615fcd4a12cd1ed4da679660607475a files/digest-realplayer-8-r2 76 diff --git a/media-video/realplayer/files/digest-realplayer-8-r5 b/media-video/realplayer/files/digest-realplayer-8-r5 index 4634aae6d8de..7a834532ec7b 100644 --- a/media-video/realplayer/files/digest-realplayer-8-r5 +++ b/media-video/realplayer/files/digest-realplayer-8-r5 @@ -1 +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-r5.ebuild b/media-video/realplayer/realplayer-8-r5.ebuild index 3be6a8a31326..435857c89270 100644 --- a/media-video/realplayer/realplayer-8-r5.ebuild +++ b/media-video/realplayer/realplayer-8-r5.ebuild @@ -1,6 +1,6 @@ # 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-r5.ebuild,v 1.6 2003/03/16 14:35:51 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-8-r5.ebuild,v 1.7 2003/07/13 22:34:49 seemant Exp $ inherit nsplugins kde @@ -29,7 +29,11 @@ then fi -SRC_URI="x86? http://docs.real.com/docs/playerpatch/unix/rv9_libc6_i386_cs2.tgz" +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" @@ -37,7 +41,7 @@ KEYWORDS="x86 ~ppc ~sparc ~alpha" DEPEND="virtual/glibc" RDEPEND="virtual/x11" -RESTRICT="nostrip" +RESTRICT="nostrip fetch" BASE="/opt/RealPlayer8" S=${WORKDIR} @@ -135,3 +139,79 @@ pkg_postinst() { 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 +} |