aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/linux-realplayer
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-03 21:18:43 +0800
committerknu <knu@FreeBSD.org>2003-03-03 21:18:43 +0800
commit8b34d933c68bb8cec20f4c14cfabbfb780a32b25 (patch)
tree6ab9967122f8db3f4f27047ddba5204354d02ecd /multimedia/linux-realplayer
parentc11263fea39d5eb83b450b92cb99bfbfca43f8ce (diff)
downloadfreebsd-ports-gnome-8b34d933c68bb8cec20f4c14cfabbfb780a32b25.tar.gz
freebsd-ports-gnome-8b34d933c68bb8cec20f4c14cfabbfb780a32b25.tar.zst
freebsd-ports-gnome-8b34d933c68bb8cec20f4c14cfabbfb780a32b25.zip
Apply RealVideo 9 codec upgrade.
No response from: maintainer
Diffstat (limited to 'multimedia/linux-realplayer')
-rw-r--r--multimedia/linux-realplayer/Makefile20
-rw-r--r--multimedia/linux-realplayer/distinfo1
-rw-r--r--multimedia/linux-realplayer/pkg-plist2
3 files changed, 16 insertions, 7 deletions
diff --git a/multimedia/linux-realplayer/Makefile b/multimedia/linux-realplayer/Makefile
index e2a76e7b050e..d39228442859 100644
--- a/multimedia/linux-realplayer/Makefile
+++ b/multimedia/linux-realplayer/Makefile
@@ -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}
diff --git a/multimedia/linux-realplayer/distinfo b/multimedia/linux-realplayer/distinfo
index 3b54b2a1cc88..cf0f20b77dde 100644
--- a/multimedia/linux-realplayer/distinfo
+++ b/multimedia/linux-realplayer/distinfo
@@ -1 +1,2 @@
MD5 (rp8_linux20_libc6_i386_cs2_rpm) = 525f6f050d076148e9e02769f2055d53
+MD5 (rv9_libc6_i386_cs2.tgz) = b2fd9f4148edfd8e2a714dd57634ae1b
diff --git a/multimedia/linux-realplayer/pkg-plist b/multimedia/linux-realplayer/pkg-plist
index 7a4255f4f506..831ef0b16b1b 100644
--- a/multimedia/linux-realplayer/pkg-plist
+++ b/multimedia/linux-realplayer/pkg-plist
@@ -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