diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-01-08 23:08:50 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-01-08 23:08:50 +0000 |
commit | 62ec10cba3bc4fe7432b1bf78bbedb18183be4f1 (patch) | |
tree | c220aa8c7fe1b8e6c05570277d55ae590d33a54f /media-video/realplayer | |
parent | added ~ppc to keywords (diff) | |
download | historical-62ec10cba3bc4fe7432b1bf78bbedb18183be4f1.tar.gz historical-62ec10cba3bc4fe7432b1bf78bbedb18183be4f1.tar.bz2 historical-62ec10cba3bc4fe7432b1bf78bbedb18183be4f1.zip |
new multi-arch realplayer
Diffstat (limited to 'media-video/realplayer')
-rw-r--r-- | media-video/realplayer/ChangeLog | 17 | ||||
-rw-r--r-- | media-video/realplayer/files/digest-realplayer-8-r4 | 5 | ||||
-rw-r--r-- | media-video/realplayer/files/mimeinfo | 8 | ||||
-rw-r--r-- | media-video/realplayer/files/realplayer.desktop | 9 | ||||
-rw-r--r-- | media-video/realplayer/realplayer-8-r4.ebuild | 123 |
5 files changed, 159 insertions, 3 deletions
diff --git a/media-video/realplayer/ChangeLog b/media-video/realplayer/ChangeLog index a901e11953bb..7fc4566cf304 100644 --- a/media-video/realplayer/ChangeLog +++ b/media-video/realplayer/ChangeLog @@ -1,11 +1,22 @@ # ChangeLog for media-video/realplayer # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.5 2002/12/13 10:59:44 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.6 2003/01/08 23:08:50 seemant Exp $ + + +*realplayer-8-r4 (08 Jan 2003) + + 08 Jan 2003; Seemant Kulleen <seemant@gentoo.org> realplayer-8-r4.ebuild + files/realplayer.desktop files/mimeinfo files/digest-realplayer-8-r4 : + + This is a new multi-architecture capable ebuild. Currently, it will + install for ppc, sparc, alpha and x86 . This ebuild + courtesy of the brilliance of: danny@ricin.com (Danny Pansters) in bug + #10066 - 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - *realplayer-8-r3 (21 Nov 2002) + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + 21 Nov 2002; phoen][x <phoenix@gentoo.org> realplayer-8-r3.ebuild, files/digest-realplayer-8-r3 : Switched to the new nsplugins layout. diff --git a/media-video/realplayer/files/digest-realplayer-8-r4 b/media-video/realplayer/files/digest-realplayer-8-r4 new file mode 100644 index 000000000000..d67240b38def --- /dev/null +++ b/media-video/realplayer/files/digest-realplayer-8-r4 @@ -0,0 +1,5 @@ +MD5 42624f63c980156da8fb9ff7fd86b083 rp8_linux20_libc6_i386_cs2.bin 5890331 +MD5 b2fd9f4148edfd8e2a714dd57634ae1b rv9_libc6_i386_cs2.tgz 814305 +MD5 39a5d43cea49198464b2caddfffc6c09 rp8_linux_powerpc_cs1.bin 8758422 +MD5 f6956d7daa5b35295b7b3560a00f8631 rp8_linux_alpha_rh62_cs1.bin 8899116 +MD5 3e400b804a0874a0865fd53c1e1a0f0d rp8_linux_sparc_cs1.bin 7484808 diff --git a/media-video/realplayer/files/mimeinfo b/media-video/realplayer/files/mimeinfo new file mode 100644 index 000000000000..4acaa1648bb4 --- /dev/null +++ b/media-video/realplayer/files/mimeinfo @@ -0,0 +1,8 @@ +application/smil smil,smi Synchronized stream +application/vnd.rn-realmedia rm RealMedia stream +audio/vnd.rn-realaudio ra RealAudio stream +audio/x-pn-realaudio ram,rmm RealPlayer metafile +image/vnd.rn-realflash rf RealFlash stream +image/vnd.rn-realpix rp RealPix stream +text/vnd.rn-realtext rt RealText stream +video/vnd.rn-realvideo rv RealVideo stream diff --git a/media-video/realplayer/files/realplayer.desktop b/media-video/realplayer/files/realplayer.desktop new file mode 100644 index 000000000000..d27454dd18b1 --- /dev/null +++ b/media-video/realplayer/files/realplayer.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=realplay %u +Icon=realplayer +GenericName=Video Player +Name=RealPlayer +Type=Application +Terminal=0 +MimeType=application/vnd.rn-realmedia;application/smil;audio/vnd.rn-realaudio;audio/x-pn-realaudio;image/vnd.rn-realflash;mage/vnd.rn-realpix;text/vnd.rn-realtext;video/vnd.rn-realvideo diff --git a/media-video/realplayer/realplayer-8-r4.ebuild b/media-video/realplayer/realplayer-8-r4.ebuild new file mode 100644 index 000000000000..1125b5f05262 --- /dev/null +++ b/media-video/realplayer/realplayer-8-r4.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-8-r4.ebuild,v 1.1 2003/01/08 23:08:50 seemant Exp $ + +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 &>/dev/null +then + MY_P=rp8_linux20_libc6_i386_cs2.bin +elif use ppc &>/dev/null +then + MY_P=rp8_linux_powerpc_cs1.bin +elif use sparc &>/dev/null +then + MY_P=rp8_linux_sparc_cs1.bin +elif use alpha &>/dev/null +then + MY_P=rp8_linux_alpha_rh62_cs1.bin +fi + + +SRC_URI="${MY_P} + x86? http://docs.real.com/docs/playerpatch/unix/rv9_libc6_i386_cs2.tgz" + +LICENSE="realplayer8" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc ~alpha" + +DEPEND="virtual/glibc" +RDEPEND="virtual/x11" +RESTRICT="nostrip" + +BASE="/opt/RealPlayer8" +S=${WORKDIR} + +pkg_setup() { + if [ ! -f ${DISTDIR}/${MY_P} ] + 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" + exit 1 + fi +} + +src_unpack() { + if use x86 ; then + BYTECOUNT=4799691 + RP8_BIN=`echo ${MY_P} | awk '{ print $1 }'` + RV9_X86=`echo ${MY_P} | awk '{ print $2 }'` + else + RP8_BIN=${MY_P} + 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_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 + 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 + # Needs to be tested by someone who actually *has* gnome + insinto ${GNOMEDIR}/apps/Multimedia + doins ${FILESDIR}/realplayer.desktop + fi + + # 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 should agree to the terms in ${BASE}/LICENSE or unmerge" + echo +} |