summaryrefslogtreecommitdiff
path: root/multimedia/RealPlayerGold
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2004-11-20 12:45:40 +0000
committerrh <rh@pkgsrc.org>2004-11-20 12:45:40 +0000
commit8f69c87e496572e923eb89ec18481e6992f1ea9b (patch)
tree7b00b664d1968dd06f0745296d9640cad949fd98 /multimedia/RealPlayerGold
parent3554ff51fb71840c235b6e30e0e32bf606509eae (diff)
downloadpkgsrc-8f69c87e496572e923eb89ec18481e6992f1ea9b.tar.gz
Initial import of RealPlayerGold-10.0.1, the Helix based Real audio and
video player.
Diffstat (limited to 'multimedia/RealPlayerGold')
-rw-r--r--multimedia/RealPlayerGold/DESCR5
-rw-r--r--multimedia/RealPlayerGold/Makefile58
-rw-r--r--multimedia/RealPlayerGold/distinfo4
-rw-r--r--multimedia/RealPlayerGold/files/realplay.sh7
4 files changed, 74 insertions, 0 deletions
diff --git a/multimedia/RealPlayerGold/DESCR b/multimedia/RealPlayerGold/DESCR
new file mode 100644
index 00000000000..c3b3931908c
--- /dev/null
+++ b/multimedia/RealPlayerGold/DESCR
@@ -0,0 +1,5 @@
+ RealPlayer for Unix allows you to play streaming audio and video over the
+Internet in real-time. RealPlayerGold supports RealAudio, RealVideo 10,
+MP3, Ogg Vorbis and Theora, H263, AAC, and more. Other features include
+a Mozilla compatible plugin, a themeable GTK2 user interface, accelerated
+video, and full screen playback.
diff --git a/multimedia/RealPlayerGold/Makefile b/multimedia/RealPlayerGold/Makefile
new file mode 100644
index 00000000000..5fcfa35e477
--- /dev/null
+++ b/multimedia/RealPlayerGold/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/20 12:45:40 rh Exp $
+#
+
+DISTNAME= RealPlayer10GOLD
+PKGNAME= RealPlayerGold-10.0.1
+CATEGORIES= multimedia
+MASTER_SITES= https://helixcommunity.org/download.php/643/
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.real.com/linux/
+COMMENT= Real Audio and Video Player
+
+BUILD_DEPENDS+= wget-[0-9]*:../../net/wget
+
+FETCH_CMD= ${PREFIX}/bin/wget
+RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
+RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${REALPLAYER_SUBDIR} -s3
+EXTRACT_ONLY= # empty
+NO_BUILDLINK= yes
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+.include "../../emulators/suse_linux/Makefile.application"
+
+.if ${OPSYS} != "Linux"
+DEPENDS+= suse_base>=9.1:../../emulators/suse91_base
+DEPENDS+= suse_fontconfig>=9.1:../../emulators/suse91_fontconfig
+DEPENDS+= suse_freetype2>=9.1:../../emulators/suse91_freetype2
+DEPENDS+= suse_x11>=9.1:../../emulators/suse91_x11
+DEPENDS+= suse_gtk2>=9.1:../../emulators/suse91_gtk2
+.else
+USE_X11= yes
+.endif
+
+REALPLAYER_SUBDIR= lib
+REALPLAYER_HOME= ${PREFIX}/${REALPLAYER_SUBDIR}/RealPlayer
+
+RESTRICTED= "Redistribution not permitted"
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+ONLY_FOR_PLATFORM= *-*-i386
+
+do-build:
+ ${SED} -e 's|@REALPLAYER_HOME@|${REALPLAYER_HOME}|g' \
+ ${FILESDIR}/realplay.sh > ${WRKDIR}/realplayergold
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/realplayergold ${PREFIX}/bin
+ ${ECHO} bin/realplayergold >> ${PLIST_SRC}
+ ${SED} -e 's|/bin/true|${TRUE}|g' < ${REALPLAYER_HOME}/realplay \
+ > ${WRKDIR}/realplay
+ ${INSTALL_SCRIPT} ${WRKDIR}/realplay ${REALPLAYER_HOME}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/RealPlayerGold/distinfo b/multimedia/RealPlayerGold/distinfo
new file mode 100644
index 00000000000..e7084cf7a96
--- /dev/null
+++ b/multimedia/RealPlayerGold/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/20 12:45:40 rh Exp $
+
+SHA1 (RealPlayerGold-10.0.1/RealPlayer10GOLD.rpm) = e31ee3d2e970bf72f8356933d5a1c574ae74d9f4
+Size (RealPlayerGold-10.0.1/RealPlayer10GOLD.rpm) = 8180515 bytes
diff --git a/multimedia/RealPlayerGold/files/realplay.sh b/multimedia/RealPlayerGold/files/realplay.sh
new file mode 100644
index 00000000000..2adf6ffe9c0
--- /dev/null
+++ b/multimedia/RealPlayerGold/files/realplay.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $NetBSD: realplay.sh,v 1.1.1.1 2004/11/20 12:45:40 rh Exp $
+#
+HELIX_LIBS=@REALPLAYER_HOME@ ; export HELIX_LIBS
+LD_LIBRARY_PATH=${HELIX_LIBS}/lib:${HELIX_LIBS}/plugins:${HELIX_LIBS}:${LD_LIBRARY_PATH} ; export LD_LIBRARY_PATH
+exec ${HELIX_LIBS}/realplay "$@"