pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/realplayer Install the rv9 codecs on i386. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82edac56883b
branches:  trunk
changeset: 468905:82edac56883b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 17 19:24:42 2004 +0000

description:
Install the rv9 codecs on i386. Bump PKGREVISION.

diffstat:

 multimedia/realplayer/Makefile |  19 ++++++++++++++++++-
 multimedia/realplayer/PLIST    |   4 +++-
 multimedia/realplayer/distinfo |   4 +++-
 3 files changed, 24 insertions(+), 3 deletions(-)

diffs (98 lines):

diff -r 171e062e5b52 -r 82edac56883b multimedia/realplayer/Makefile
--- a/multimedia/realplayer/Makefile    Tue Feb 17 19:13:28 2004 +0000
+++ b/multimedia/realplayer/Makefile    Tue Feb 17 19:24:42 2004 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 13:09:58 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2004/02/17 19:24:42 wiz Exp $
 
 PKGNAME=               realplayer-8.0.1
+PKGREVISION=           1
 CATEGORIES=            multimedia
 MASTER_SITES=          # empty
 EXTRACT_SUFX=          .bin
@@ -9,11 +10,15 @@
 
 .if ${MACHINE_ARCH} == "i386"
 DISTNAME=              rp8_linux20_libc6_i386_cs2
+EXTRA_DIST=            rv9_libc6_i386_cs2.tgz
+PLIST_SUBST+=          RV9=""
 .elif ${MACHINE_ARCH} == "sparc"
 DISTNAME=              rp8_solaris27_sparc_cs2
+PLIST_SUBST+=          RV9="@comment "
 .else
 DISTNAME=              must_be_defined
 .endif
+DISTFILES=             ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_DIST}
 
 MAINTAINER=            tech-pkg%NetBSD.org@localhost
 HOMEPAGE=              http://www.real.com/products/player/
@@ -39,6 +44,7 @@
 
 CONFLICTS=             realplayer-codecs<8nb2
 
+EXTRACT_ONLY=          ${DISTNAME}${EXTRACT_SUFX}
 WRKSRC=                        ${WRKDIR}/RealPlayer8
 CRYPTO=                        # defined
 INTERACTIVE_STAGE=     fetch extract
@@ -74,6 +80,11 @@
                ${CHMOD} +x ${RP_INSTALLER};                            \
        fi
 
+post-extract:
+       if [ "X${EXTRA_DIST}" != "X" ]; then \
+               cd ${WRKDIR} && ${TAR} -xzf ${_DISTDIR}/${DISTSUBDIR}/${EXTRA_DIST}; \
+       fi
+
 do-build:
        cd ${WRKSRC};                                                   \
                ${MV} -f mimeinstall.sh mimeinstall.sh.old;             \
@@ -91,6 +102,12 @@
 do-install:
        ${INSTALL_SCRIPT} ${WRKDIR}/realplay.sh ${PREFIX}/bin/realplay
        cd ${WRKDIR} && ${PAX} -rw RealPlayer8 ${PREFIX}/lib
+       if [ "X${EXTRA_DIST}" != "X" ]; then \
+               ${INSTALL_DATA} ${WRKDIR}/rv9/codecs/drv4.so.6.0 \
+                       ${PREFIX}/lib/RealPlayer8/Codecs/; \
+               ${INSTALL_DATA} ${WRKDIR}/rv9/codecs/rv40.so.6.0 \
+                       ${PREFIX}/lib/RealPlayer8/Codecs/; \
+       fi
 
 post-install:
        ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
diff -r 171e062e5b52 -r 82edac56883b multimedia/realplayer/PLIST
--- a/multimedia/realplayer/PLIST       Tue Feb 17 19:13:28 2004 +0000
+++ b/multimedia/realplayer/PLIST       Tue Feb 17 19:24:42 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 13:09:57 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/02/17 19:24:42 wiz Exp $
 bin/realplay
 lib/RealPlayer8/Codecs/14_4.so.6.0
 lib/RealPlayer8/Codecs/28_8.so.6.0
@@ -9,11 +9,13 @@
 lib/RealPlayer8/Codecs/drv1.so.6.0
 lib/RealPlayer8/Codecs/drv2.so.6.0
 lib/RealPlayer8/Codecs/drv3.so.6.0
+${RV9}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
+${RV9}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
diff -r 171e062e5b52 -r 82edac56883b multimedia/realplayer/distinfo
--- a/multimedia/realplayer/distinfo    Tue Feb 17 19:13:28 2004 +0000
+++ b/multimedia/realplayer/distinfo    Tue Feb 17 19:24:42 2004 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/26 13:09:57 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2004/02/17 19:24:42 wiz Exp $
 
 SHA1 (rp8_linux20_libc6_i386_cs2.bin) = b0a6b503560d92844ec92b18f723aeff357e6c11
 Size (rp8_linux20_libc6_i386_cs2.bin) = 5890331 bytes
+SHA1 (rv9_libc6_i386_cs2.tgz) = ed524485fbbb08712d0a471a352d59d69b8c380e
+Size (rv9_libc6_i386_cs2.tgz) = 814305 bytes
 SHA1 (rp8_solaris27_sparc_cs2.bin) = a0df9924a39eeadadb3fe73220a42e4e9cb3d901
 Size (rp8_solaris27_sparc_cs2.bin) = 9579245 bytes
 SHA1 (patch-aa) = cede957cc13166c30e6ab89476e0190f187f48b6



Home | Main Index | Thread Index | Old Index