ports/74229: multimedia/linux-realplayer: Update to Realplayer 10
Craig Rodrigues
rodrigc at crodrigues.org
Mon Nov 22 08:00:53 UTC 2004
>Number: 74229
>Category: ports
>Synopsis: multimedia/linux-realplayer: Update to Realplayer 10
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 22 08:00:49 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Craig Rodrigues
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD dibbler.crodrigues.org 6.0-CURRENT FreeBSD 6.0-CURRENT #34: Thu Nov 18 15:59:00 EST 2004 rodrigc at dibbler.crodrigues.org:/usr/obj/usr/src/sys/MYKERNEL1 i386
>Description:
Update to Realplayer 10
>How-To-Repeat:
>Fix:
diff -urN linux-realplayer.orig/Makefile linux-realplayer/Makefile
--- linux-realplayer.orig/Makefile Sat Nov 6 21:58:22 2004
+++ linux-realplayer/Makefile Mon Nov 22 02:51:26 2004
@@ -6,26 +6,35 @@
#
PORTNAME= linux-realplayer
-PORTVERSION= 8.cs2
-PORTREVISION= 5
+PORTVERSION= 10
+PORTREVISION= 1
CATEGORIES= multimedia audio linux
-MASTER_SITES= http://docs.real.com/docs/playerpatch/unix/:update
-DISTFILES= ${MAINDIST} ${UPDATEDIST:S/$/:update/}
-EXTRACT_ONLY= ${UPDATEDIST}
+MASTER_SITES= https://player.helixcommunity.org/2004/downloads/
+DISTNAME= RealPlayer${PORTVERSION}GOLD
+EXTRACT_SUFX= .rpm
+EXTRACT_ONLY=
MAINTAINER= ports at FreeBSD.org
-COMMENT= Linux RealPlayer 8.0 from RealNetworks
+COMMENT= Linux RealPlayer 10 from RealNetworks
EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
-RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \
- ${LINUXBASE}/usr/lib/libesd.so.0:${PORTSDIR}/audio/linux-esound
-
-MAINDIST= rp${PORTVERSION:R}_linux20_libc6_i386_${PORTVERSION:E}_rpm
-UPDATEDIST= rv9_libc6_i386_cs2.tgz
-
-RADIR= ${PREFIX}/lib/RealPlayer${PORTVERSION:R}
-WRKSRC= ${WRKDIR}/usr/lib/RealPlayer${PORTVERSION:R}
-PLUGINSDIR= ${PREFIX}/lib/netscape-linux/plugins
+RUN_DEPENDS= \
+ ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base-8 \
+ ${LINUXBASE}/usr/lib/libstdc++.so.5:${PORTSDIR}/emulators/linux_base-8 \
+ ${LINUXBASE}/usr/lib/libesd.so.0:${PORTSDIR}/audio/linux-esound \
+ ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
+ ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \
+ ${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango \
+ ${LINUXBASE}/usr/lib/libglib-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
+ ${LINUXBASE}/usr/X11R6/lib/libXrandr.so.2:${PORTSDIR}/x11/linux-XFree86-libs \
+ ${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \
+ ${LINUXBASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg \
+ ${LINUXBASE}/usr/lib/libpng.so.3:${PORTSDIR}/graphics/linux-png \
+ ${LINUXBASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-tiff
+
+RADIR= ${PREFIX}/RealPlayer
+WRKSRC= ${WRKDIR}/usr/local/RealPlayer
+PLUGINSDIR= ${PREFIX}/lib/linux-mozilla/plugins
RABINDIR= ${PREFIX}/bin
# Linux binary should not be stripped by INSTALL_PROGRAM
@@ -36,8 +45,8 @@
.if !exists(${DISTDIR}/${MAINDIST})
IGNORE= may not be automatically fetched due to licensing\
- restrictions. You MUST manually fetch the Linux RPM version after\
- reading and agreeing to the license at:\
+ restrictions. You MUST manually fetch the Linux RPM version from \
+ ${MASTER_SITES} after reading and agreeing to the license at:\
http://forms.real.com/real/player/blackjack.html \
- once ${DISTFILES} has been downloaded, move it to\
${DISTDIR} and then restart this build.
@@ -49,52 +58,22 @@
NO_BUILD= yes
post-extract:
- cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/${MAINDIST} | ${CPIO} -id --quiet
+ cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/${DISTNAME} | ${CPIO} -id --quiet
post-patch:
${REINPLACE_CMD} -e \
- "s@/usr/lib@${PREFIX}/lib@" ${WRKSRC}/postinstall.sh
+ "s@/bin/true@/usr/bin/true@" ${WRKSRC}/realplay
do-install:
${MKDIR} ${RADIR}
-.for f in mimeinstall.sh pluginstall.sh postinstall.sh
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RADIR}
-.endfor
-.for f in realplay rpnp.so
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${RADIR}
-.endfor
-.for f in LICENSE Mailcap Mime.types README app.kdelnk audiosig.rm \
- firstrun.rm mime.kdelnk raclass.zip \
- realplay.desktop rp7.xpm rp7doc.png rp7doc.xpm rp7mini.xpm
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RADIR}
-.endfor
-.for d in Codecs Common Plugins
- ${MKDIR} ${RADIR}/${d}
- ${INSTALL_PROGRAM} ${WRKSRC}/${d}/*.so* ${RADIR}/${d}
-.endfor
- ${MKDIR} ${RADIR}/Plugins/ExtResources
- ${INSTALL_PROGRAM} ${WRKSRC}/Plugins/ExtResources/* ${RADIR}/Plugins/ExtResources/
- ${INSTALL_PROGRAM} ${WRKDIR}/rv9/codecs/drv4.so.6.0 ${RADIR}/Codecs/
- ${INSTALL_PROGRAM} ${WRKDIR}/rv9/codecs/rv40.so.6.0 ${RADIR}/Codecs/
+ cd ${WRKSRC} && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${BINOWN}:${BINGRP} ${RADIR}
${LN} -sf ${RADIR}/realplay ${RABINDIR}
.if exists(${PLUGINSDIR})
- ${LN} -sf ${RADIR}/raclass.zip ${PLUGINSDIR}
- ${LN} -sf ${RADIR}/rpnp.so ${PLUGINSDIR}
+ ${LN} -sf ${RADIR}/mozilla/nphelix.so ${PLUGINSDIR}
+ ${LN} -sf ${RADIR}/mozilla/nphelix.xpt ${PLUGINSDIR}
.endif
-
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/RealPlayer8
- ${INSTALL_DATA} ${WRKSRC}/Help/readme ${PREFIX}/share/doc/RealPlayer8
- ${INSTALL_DATA} ${WRKSRC}/Help/realplay.htm ${PREFIX}/share/doc/RealPlayer8
- ${MKDIR} ${PREFIX}/share/doc/RealPlayer8/realplay
- ${INSTALL_DATA} ${WRKSRC}/Help/realplay/*.htm ${PREFIX}/share/doc/RealPlayer8/realplay
- ${MKDIR} ${PREFIX}/share/doc/RealPlayer8/realplay/pics
- ${INSTALL_DATA} ${WRKSRC}/Help/realplay/pics/* ${PREFIX}/share/doc/RealPlayer8/realplay/pics
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff -urN linux-realplayer.orig/distinfo linux-realplayer/distinfo
--- linux-realplayer.orig/distinfo Fri Aug 27 00:46:57 2004
+++ linux-realplayer/distinfo Mon Nov 22 01:06:27 2004
@@ -1,4 +1,2 @@
-MD5 (rp8_linux20_libc6_i386_cs2_rpm) = d3fe263a8df91c17e6917f7ccd8288c6
-SIZE (rp8_linux20_libc6_i386_cs2_rpm) = 5124844
-MD5 (rv9_libc6_i386_cs2.tgz) = b2fd9f4148edfd8e2a714dd57634ae1b
-SIZE (rv9_libc6_i386_cs2.tgz) = 814305
+MD5 (RealPlayer10GOLD.rpm) = 1e5522aa0d27b90ea7d4cadd1a41dee1
+SIZE (RealPlayer10GOLD.rpm) = 8180515
diff -urN linux-realplayer.orig/pkg-message linux-realplayer/pkg-message
--- linux-realplayer.orig/pkg-message Thu Feb 1 04:44:53 2001
+++ linux-realplayer/pkg-message Wed Dec 31 19:00:00 1969
@@ -1,22 +0,0 @@
-************************************************************
-HINT:
-
-If you experience crashes, try setting the
-audio driver option under
-
- view->Preference->Performance->Audio Driver Options
-
-to
-
- "Enable support for old OSS drivers"
-
-
-Take the following hint with a grain of salt:
-
-After install goto ${PREFIX}/lib/RealPlayer8 directory
-(as user) and launch:
- ./mimeinstall.sh - for install mime types for the mail and
- browser
- ./pluginstall.sh - for install plugin for the Linux
- Netscape
-************************************************************
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list