summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz>2004-02-17 19:24:42 +0000
committerwiz <wiz>2004-02-17 19:24:42 +0000
commit3a6517a07766ad215189dbfb99af7f1c78cffe55 (patch)
treeeeae899dadd1a763e72ce55e8d853e01156f4b1f /multimedia
parent50a9c06e5c774dc7dc9585d1333498e50781cb69 (diff)
downloadpkgsrc-3a6517a07766ad215189dbfb99af7f1c78cffe55.tar.gz
Install the rv9 codecs on i386. Bump PKGREVISION.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/realplayer/Makefile19
-rw-r--r--multimedia/realplayer/PLIST4
-rw-r--r--multimedia/realplayer/distinfo4
3 files changed, 24 insertions, 3 deletions
diff --git a/multimedia/realplayer/Makefile b/multimedia/realplayer/Makefile
index 9df629c83b2..9d55fb54bd1 100644
--- a/multimedia/realplayer/Makefile
+++ b/multimedia/realplayer/Makefile
@@ -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 @@ EXTRACT_SUFX= .bin
.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
HOMEPAGE= http://www.real.com/products/player/
@@ -39,6 +44,7 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc SunOS-*-sparc
CONFLICTS= realplayer-codecs<8nb2
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/RealPlayer8
CRYPTO= # defined
INTERACTIVE_STAGE= fetch extract
@@ -74,6 +80,11 @@ pre-extract:
${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 @@ pre-install:
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 --git a/multimedia/realplayer/PLIST b/multimedia/realplayer/PLIST
index 36035a86503..bda330a68ce 100644
--- a/multimedia/realplayer/PLIST
+++ b/multimedia/realplayer/PLIST
@@ -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/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
+${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 --git a/multimedia/realplayer/distinfo b/multimedia/realplayer/distinfo
index 415390c60b5..c8a0563469a 100644
--- a/multimedia/realplayer/distinfo
+++ b/multimedia/realplayer/distinfo
@@ -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