diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-11-02 13:58:46 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-11-02 13:58:46 +0000 |
commit | 9c3b12993b77e11c01ae2fdfb007a967aed0ac76 (patch) | |
tree | cb5e9e3c8de9f123cbb1e4ee5694190e573fe8fd /media-video | |
parent | fixes to fetch problems with rv9 codecs split out into its own package media-... (diff) | |
download | gentoo-2-9c3b12993b77e11c01ae2fdfb007a967aed0ac76.tar.gz gentoo-2-9c3b12993b77e11c01ae2fdfb007a967aed0ac76.tar.bz2 gentoo-2-9c3b12993b77e11c01ae2fdfb007a967aed0ac76.zip |
fixes to fetch problems with rv9 codecs split out into its own package media-plugins/realvideo-codecs
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/realplayer/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/realplayer/Manifest | 8 | ||||
-rw-r--r-- | media-video/realplayer/files/digest-realplayer-8-r7 | 4 | ||||
-rw-r--r-- | media-video/realplayer/realplayer-8-r6.ebuild | 9 | ||||
-rw-r--r-- | media-video/realplayer/realplayer-8-r7.ebuild | 110 |
5 files changed, 134 insertions, 6 deletions
diff --git a/media-video/realplayer/ChangeLog b/media-video/realplayer/ChangeLog index dba2b6c0523a..3340f24ca084 100644 --- a/media-video/realplayer/ChangeLog +++ b/media-video/realplayer/ChangeLog @@ -1,6 +1,13 @@ # 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.20 2003/09/14 23:01:04 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.21 2003/11/02 13:58:41 liquidx Exp $ + +*realplayer-8-r7 (02 Nov 2003) + + 02 Nov 2003; Alastair Tse <liquidx@gentoo.org> realplayer-8-r6.ebuild, + realplayer-8-r7.ebuild: + split rv9 codecs to media-plugins/realvideo-codecs, switched to pkg_nofetch() + and cleaned up src_unpack() 09 Sep 2003; Alastair Tse <liquidx@gentoo.org> realplayer-8-r2.ebuild, realplayer-8-r3.ebuild, realplayer-8-r4.ebuild, realplayer-8-r6.ebuild: diff --git a/media-video/realplayer/Manifest b/media-video/realplayer/Manifest index de1d7f660c2e..a534ecf0bdca 100644 --- a/media-video/realplayer/Manifest +++ b/media-video/realplayer/Manifest @@ -1,11 +1,11 @@ -MD5 2d5da4c7e6bf5f72dc792ed8527cd3d6 ChangeLog 3389 +MD5 9a90e9c8660c023e22cdf9aafe04c99d ChangeLog 3631 MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219 MD5 b0d9f8e0edfd95052b195e00c237f57a realplayer-8-r5.ebuild 3575 -MD5 a6ca075685a7e98fc0997059d76736cc realplayer-8-r6.ebuild 3921 -MD5 1e13096844317500d93d07da608d2d4e realplayer-8-r7.ebuild 2823 +MD5 1d62bf222c2b10dc28ed487c7d1acb7e realplayer-8-r6.ebuild 3921 +MD5 9467055149c51fdcce86ad82b327f9c6 realplayer-8-r7.ebuild 2835 MD5 5770afeac4496095cec26d13745be3b4 files/10realplayer 48 MD5 b1f07ef9de78ae97ad9d42a6971b0d40 files/digest-realplayer-8-r5 357 MD5 b1f07ef9de78ae97ad9d42a6971b0d40 files/digest-realplayer-8-r6 357 -MD5 21408113b064e7c0295caa9bf6c888a5 files/digest-realplayer-8-r7 76 +MD5 17ab63668e0e7e3ddf931fe0985e085f files/digest-realplayer-8-r7 290 MD5 db1abde793632464b694bc07794630a5 files/mimeinfo 367 MD5 cc3251234e6be88a6554a5f08c0f98d9 files/realplayer.desktop 359 diff --git a/media-video/realplayer/files/digest-realplayer-8-r7 b/media-video/realplayer/files/digest-realplayer-8-r7 new file mode 100644 index 000000000000..b19fef58a736 --- /dev/null +++ b/media-video/realplayer/files/digest-realplayer-8-r7 @@ -0,0 +1,4 @@ +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 index 32639139cbc3..4a80649a9778 100644 --- a/media-video/realplayer/realplayer-8-r6.ebuild +++ b/media-video/realplayer/realplayer-8-r6.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-r6.ebuild,v 1.8 2003/09/14 23:01:05 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-8-r6.ebuild,v 1.9 2003/11/02 13:58:41 liquidx Exp $ inherit nsplugins @@ -44,6 +44,8 @@ RESTRICT="nostrip fetch" BASE="/opt/RealPlayer8" S=${WORKDIR} +# note: we don't use pkg_nofetch because there is one file we can autofetch +# without the license pkg_setup() { if [ ! -f ${DISTDIR}/${MY_A} ]; then eerror "Please go to:" @@ -62,6 +64,11 @@ pkg_setup() { } src_unpack() { + if [ ! -r "${DISTDIR}/${MY_A}" ]; then + eerror "${DISTDIR}/${MY_A} is not readable. Please check the permissions" + die "unreadable ${MY_A}" + fi + if use x86 ; then BYTECOUNT=4799691 RP8_BIN=`echo ${MY_A} | awk '{ print $1 }'` diff --git a/media-video/realplayer/realplayer-8-r7.ebuild b/media-video/realplayer/realplayer-8-r7.ebuild new file mode 100644 index 000000000000..5690d9858ca4 --- /dev/null +++ b/media-video/realplayer/realplayer-8-r7.ebuild @@ -0,0 +1,110 @@ +# 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-r7.ebuild,v 1.1 2003/11/02 13:58:41 liquidx Exp $ + +inherit nsplugins + +RESTRICT="nostrip fetch" + +DESCRIPTION="RealPlayer 8 is a streaming media player" +HOMEPAGE="http://forms.real.com/real/player/unix/unix.html" + +SRC_URI="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" +IUSE="kde gnome" + +# Fix for bug 15314 +DEPEND="virtual/glibc + sparc? ( sys-libs/lib-compat )" +RDEPEND="virtual/x11" +PDEPEND="x86? ( >=media-plugins/realvideo-codecs-9 )" + +BASE="/opt/RealPlayer8" +S=${WORKDIR} + +pkg_nofetch() { + use x86 && REAL_OS="Linux 2.x (libc6 i386)" + use ppc && REAL_OS="Linux/PPC 2000" + use alpha && REAL_OS="Linux/Alpha (Red Hat 6.2)" + use sparc && REAL_OS="Linux/Sparc (Red Hat 6.2)" + + einfo "Please go to ${HOMEPAGE}" + einfo "and download the appropriate realplayer binary installer" + einfo "for OS type : ${REAL_OS}" + einfo " " + einfo "Download ${A} and place it in :" + einfo "${DISTDIR}" + einfo " " + use x86 && \ + ewarn "Please note, do NOT download the rpm, just the .bin file" +} + +src_unpack() { + use x86 && BYTECOUNT=4799691 + use ppc && BYTECOUNT=7260910 + use alpha && BYTECOUNT=7130860 + use sparc && BYTECOUNT=6375000 + tail -c ${BYTECOUNT} ${DISTDIR}/${A} | tar xz 2> /dev/null +} + +src_compile() { + return +} + +src_install () { + insinto ${BASE}/Codecs + doins Codecs/* + 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 +} |