Apply RealVideo 9 codec upgrade.

No response from:	maintainer
This commit is contained in:
Akinori MUSHA 2003-03-03 13:18:43 +00:00
parent aa6fa9277a
commit e9dfb51bbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76794
3 changed files with 16 additions and 7 deletions

View file

@ -7,10 +7,11 @@
PORTNAME= linux-realplayer
PORTVERSION= 8.cs2
PORTREVISION= 1
CATEGORIES= multimedia audio linux
MASTER_SITES= # fetch manually
DISTNAME= rp${PORTVERSION:R}_linux20_libc6_i386_${PORTVERSION:E}
EXTRACT_SUFX= _rpm
MASTER_SITES= http://docs.real.com/docs/playerpatch/unix/:update
DISTFILES= ${MAINDIST} ${UPDATEDIST:S/$/:update/}
EXTRACT_ONLY= ${UPDATEDIST}
MAINTAINER= vns@delta.odessa.ua
COMMENT= Linux RealPlayer 8.0 from RealNetworks
@ -18,9 +19,9 @@ COMMENT= Linux RealPlayer 8.0 from RealNetworks
RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
EXTRACT_CMD= rpm2cpio
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | cpio -id --quiet
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
@ -32,7 +33,7 @@ STRIP=
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
.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:\
@ -45,6 +46,9 @@ ONLY_FOR_ARCHS= i386
NO_CDROM= "Redistribution not allowed"
NO_BUILD= yes
post-extract:
cd ${WRKDIR}; rpm2cpio ${DISTDIR}/${MAINDIST} | cpio -id --quiet
do-install:
${MKDIR} ${RADIR}
.for f in mimeinstall.sh pluginstall.sh postinstall.sh
@ -64,6 +68,8 @@ do-install:
.endfor
${MKDIR} ${RADIR}/Plugins/ExtResources
${INSTALL_PROGRAM} ${WRKSRC}/Plugins/ExtResources/* ${RADIR}/Plugins/ExtResources/
${INSTALL_PROGRAM} ${WRKDIR}/rv9/codecs/*.so* ${RADIR}/Codecs/
${INSTALL_PROGRAM} ${WRKDIR}/rv9/plugins/*.so* ${RADIR}/Plugins/
${LN} -sf ${RADIR}/realplay ${RABINDIR}

View file

@ -1 +1,2 @@
MD5 (rp8_linux20_libc6_i386_cs2_rpm) = 525f6f050d076148e9e02769f2055d53
MD5 (rv9_libc6_i386_cs2.tgz) = b2fd9f4148edfd8e2a714dd57634ae1b

View file

@ -8,11 +8,13 @@ lib/RealPlayer8/Codecs/dnet.so.6.0
lib/RealPlayer8/Codecs/drv1.so.6.0
lib/RealPlayer8/Codecs/drv2.so.6.0
lib/RealPlayer8/Codecs/drv3.so.6.0
lib/RealPlayer8/Codecs/drv4.so.6.0
lib/RealPlayer8/Codecs/dspr.so.6.0
lib/RealPlayer8/Codecs/rncolor.so.6.0
lib/RealPlayer8/Codecs/rv10.so.6.0
lib/RealPlayer8/Codecs/rv20.so.6.0
lib/RealPlayer8/Codecs/rv30.so.6.0
lib/RealPlayer8/Codecs/rv40.so.6.0
lib/RealPlayer8/Codecs/sipr.so.6.0
lib/RealPlayer8/Codecs/tokr.so.6.0
lib/RealPlayer8/Common/pnrscmgr.so.6.0