diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2006-09-29 21:21:54 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2006-09-29 21:21:54 +0000 |
commit | d53214dfd070177de92c173a008af5f9db4d9999 (patch) | |
tree | e1b3a00bf35a9cf2413414da8aec5347b60ba352 /multimedia | |
parent | 9ad18425ffdd1bc3ef1e8f35b64459cb9ff28ac6 (diff) | |
download | pkgsrc-d53214dfd070177de92c173a008af5f9db4d9999.tar.gz |
update to RealPlayerGold-10.0.8.805.20060718.
The old distfile for 10.0.7 was not available and thus this package
was broken. While here added a post-fetch target that checks the
version of the downloaded distfile to see if real.com has made
yet another release without changing the distfile name.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/RealPlayerGold/Makefile | 18 | ||||
-rw-r--r-- | multimedia/RealPlayerGold/distinfo | 8 |
2 files changed, 20 insertions, 6 deletions
diff --git a/multimedia/RealPlayerGold/Makefile b/multimedia/RealPlayerGold/Makefile index d2cda5834fe..fee68372b35 100644 --- a/multimedia/RealPlayerGold/Makefile +++ b/multimedia/RealPlayerGold/Makefile @@ -1,8 +1,10 @@ -# $NetBSD: Makefile,v 1.13 2006/07/03 19:42:04 xtraeme Exp $ +# $NetBSD: Makefile,v 1.14 2006/09/29 21:21:54 dmcmahill Exp $ # DISTNAME= RealPlayer10GOLD -PKGNAME= RealPlayerGold-10.0.7 +# Exact version obtained from the output of +# file RealPlayer10GOLD.rpm +PKGNAME= RealPlayerGold-${PKGVER} CATEGORIES= multimedia MASTER_SITES= http://forms.real.com/real/player/download.html?f=unix/ EXTRACT_SUFX= .rpm @@ -11,6 +13,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.real.com/linux/ COMMENT= Real Audio and Video Player +PKGVER= 10.0.8.805.20060718 RPMFILES= ${DISTNAME}${EXTRACT_SUFX} RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${REALPLAYER_SUBDIR} -s3 RPM2PKGSTRIP= 3 @@ -18,6 +21,17 @@ EXTRACT_ONLY= # empty PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC DIST_SUBDIR= ${PKGNAME_NOREV} +# Verify that the version of the distfile (which changes often without the name changing) +# is still correct. This helps sort out download errors vs out of date pkgsrc errors. +post-fetch: + ver=`file ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${SED} -e 's;.*Player-;;g' -e 's;-;.;g'` ; \ + if [ "$$ver" != "${PKGVER}" ] ; then \ + ${ECHO} "It appears that real.com has made a new version ($$ver) available so this" ; \ + ${ECHO} "package will need updating to work correctly. That likely the reason for" ; \ + ${ECHO} "the checksum failure." ; \ + fi + + .include "../../emulators/suse_linux/Makefile.application" .if !defined(USE_NATIVE_LINUX) diff --git a/multimedia/RealPlayerGold/distinfo b/multimedia/RealPlayerGold/distinfo index e1b38e1cc6a..6564621f2e8 100644 --- a/multimedia/RealPlayerGold/distinfo +++ b/multimedia/RealPlayerGold/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2006/03/29 13:00:07 salo Exp $ +$NetBSD: distinfo,v 1.6 2006/09/29 21:21:54 dmcmahill Exp $ -SHA1 (RealPlayerGold-10.0.7/RealPlayer10GOLD.rpm) = 3853cfd9243de4413c4210c297e4713d15ae60f9 -RMD160 (RealPlayerGold-10.0.7/RealPlayer10GOLD.rpm) = 637dafa86cc3687da3820109641d25ed51e95047 -Size (RealPlayerGold-10.0.7/RealPlayer10GOLD.rpm) = 6650006 bytes +SHA1 (RealPlayerGold-10.0.8.805.20060718/RealPlayer10GOLD.rpm) = 5bca48a23c747d19409330e6d6a94d49152cc557 +RMD160 (RealPlayerGold-10.0.8.805.20060718/RealPlayer10GOLD.rpm) = 0467c73f478f286483d5bd3a71dab3d0afd8dfb8 +Size (RealPlayerGold-10.0.8.805.20060718/RealPlayer10GOLD.rpm) = 6649992 bytes |