diff options
author | mi <mi@FreeBSD.org> | 2006-01-17 07:04:43 +0000 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2006-01-17 07:04:43 +0000 |
commit | eecf0308f0254cc599d9a43028fa48a31d789ee6 (patch) | |
tree | 123432866a5ee7667f9f50ce28089e3e9d55db5f /multimedia/linux-realplayer | |
parent | 8fda331b7116ed99aa1b779c7331e53d3f5d1009 (diff) | |
download | FreeBSD-ports-eecf0308f0254cc599d9a43028fa48a31d789ee6.zip FreeBSD-ports-eecf0308f0254cc599d9a43028fa48a31d789ee6.tar.gz |
Add fetching and installing of the 'dnet' codec from the collection,
that came with the version 9 of the player. For licensing reasons Real
no longer ships the codec and considers it obsolete.
It is, however, in use by some major content providers -- most notably
Amazon (samples of CD audio tracks). Tested on 6.x/amd64 and 5.x/i386.
Instead of bumping PORTREVISION, change the PORTVERSION to include the
vendor's "nano-version" (PORTVERSION is now 10.0.6.776).
There really ought to be some rejoicing...
Diffstat (limited to 'multimedia/linux-realplayer')
-rw-r--r-- | multimedia/linux-realplayer/Makefile | 23 | ||||
-rw-r--r-- | multimedia/linux-realplayer/distinfo | 3 | ||||
-rw-r--r-- | multimedia/linux-realplayer/pkg-plist | 4 |
3 files changed, 24 insertions, 6 deletions
diff --git a/multimedia/linux-realplayer/Makefile b/multimedia/linux-realplayer/Makefile index 850ed7a..587c458 100644 --- a/multimedia/linux-realplayer/Makefile +++ b/multimedia/linux-realplayer/Makefile @@ -6,10 +6,12 @@ # PORTNAME= linux-realplayer -PORTVERSION= 10.0.6 +PORTVERSION= 10.0.6.776 CATEGORIES= multimedia audio linux -MASTER_SITES= https://helixcommunity.org/download.php/1589/ -DISTNAME= RealPlayer-10.0.6.776-20050915.i586 +MASTER_SITES= https://helixcommunity.org/download.php/1589/:player \ + ftp://rpmfind.net/linux/sourceforge/m/mp/mplayer-tru/:codecs +DISTFILES= RealPlayer-${PORTVERSION}-20050915.i586.rpm:player \ + mplayer-codecs-linux-real-20040626-1.i386.rpm:codecs EXTRACT_SUFX= .rpm MAINTAINER= ports@FreeBSD.org @@ -60,8 +62,10 @@ PLIST_SUB+= X11="@comment " do-extract: @${MKDIR} ${WRKDIR} - cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ - ${CPIO} -id --quiet + @set -x; for f in ${_DISTFILES}; do\ + cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/$$f | \ + ${CPIO} -id --quiet; \ + done post-patch: @${SED} 's|/usr/local|${PREFIX}|' \ @@ -72,12 +76,19 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${RADIR} ${INSTALL_PROGRAM} ${WRKSRC}/realplay.bin ${RADIR} ${BRANDELF} -t Linux ${RADIR}/realplay.bin - .for dir in codecs common lib plugins share/default share/realplay ${MKDIR} ${RADIR}/${dir} ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${RADIR}/${dir} .endfor +# Extra codecs from the RealPlayer-9 -- no longer shipped by Real, +# but still in use by major content providers, such as Amazon: +.for c in dnet ddnt + ${INSTALL_DATA} ${WRKDIR}/usr/lib/codecs/$c.so.6.0 \ + ${RADIR}/codecs/ + ${LN} -s $c.so.6.0 ${RADIR}/codecs/$c.so +.endfor + .if !defined(WITHOUT_NLS) ${MKDIR} ${RADIR}/share/locale ${CP} -R ${WRKSRC}/share/locale/* ${RADIR}/share/locale diff --git a/multimedia/linux-realplayer/distinfo b/multimedia/linux-realplayer/distinfo index d4ad78d..25ec588 100644 --- a/multimedia/linux-realplayer/distinfo +++ b/multimedia/linux-realplayer/distinfo @@ -1,3 +1,6 @@ MD5 (RealPlayer-10.0.6.776-20050915.i586.rpm) = 870215a8ed4f50c76bbc42212511e8e7 SHA256 (RealPlayer-10.0.6.776-20050915.i586.rpm) = 2ad41b9dcfeab520518e4a089ad33827b92be26d8f423c32e213971e004eb9d7 SIZE (RealPlayer-10.0.6.776-20050915.i586.rpm) = 6643315 +MD5 (mplayer-codecs-linux-real-20040626-1.i386.rpm) = c4126cba33257f4d78907c7d254b8200 +SHA256 (mplayer-codecs-linux-real-20040626-1.i386.rpm) = 338c8e595a95c9ab5192e4fbd4e5e86faf9a6040fab51381d53950ddad75c2e9 +SIZE (mplayer-codecs-linux-real-20040626-1.i386.rpm) = 595298 diff --git a/multimedia/linux-realplayer/pkg-plist b/multimedia/linux-realplayer/pkg-plist index 6fba6bd..3b0a791 100644 --- a/multimedia/linux-realplayer/pkg-plist +++ b/multimedia/linux-realplayer/pkg-plist @@ -7,6 +7,10 @@ lib/RealPlayer/codecs/atrc.so lib/RealPlayer/codecs/colorcvt.so lib/RealPlayer/codecs/cook.so lib/RealPlayer/codecs/cvt1.so +lib/RealPlayer/codecs/ddnt.so.6.0 +lib/RealPlayer/codecs/dnet.so.6.0 +lib/RealPlayer/codecs/ddnt.so +lib/RealPlayer/codecs/dnet.so lib/RealPlayer/codecs/drv1.so lib/RealPlayer/codecs/drv2.so lib/RealPlayer/codecs/drvc.so |