summaryrefslogtreecommitdiff
path: root/multimedia/trplayer
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-01-26 13:20:39 +0000
committerjmmv <jmmv@pkgsrc.org>2004-01-26 13:20:39 +0000
commit963341358461325d4cc2c161d216f5ea74dc777f (patch)
treeadb93971dbb9259390afc81c469922717dad2659 /multimedia/trplayer
parent2d5db1b5b702a832d9e68b6b2b975e62116b1baf (diff)
downloadpkgsrc-963341358461325d4cc2c161d216f5ea74dc777f.tar.gz
Move trplayer to the multimedia category (coming from audio).
This is version 1.2.0.
Diffstat (limited to 'multimedia/trplayer')
-rw-r--r--multimedia/trplayer/DESCR7
-rw-r--r--multimedia/trplayer/Makefile52
-rw-r--r--multimedia/trplayer/PLIST2
-rw-r--r--multimedia/trplayer/distinfo4
-rw-r--r--multimedia/trplayer/files/trplayer8
5 files changed, 73 insertions, 0 deletions
diff --git a/multimedia/trplayer/DESCR b/multimedia/trplayer/DESCR
new file mode 100644
index 00000000000..cf2d9e50ac4
--- /dev/null
+++ b/multimedia/trplayer/DESCR
@@ -0,0 +1,7 @@
+The Text-Mode RealMedia Player (TRPlayer) is a RealMedia player for
+Linux with a command-line interface. It can play (streaming) RealAudio,
+RealVideo, MP3, and all other media types supported by RealPlayer 8
+under Linux. TRPlayer was designed especially for blind Unix users, who
+don't yet have access to the graphical user interface. However, it is
+also useful to others; it is a good tool for background audio playback
+and for use on low-end hardware.
diff --git a/multimedia/trplayer/Makefile b/multimedia/trplayer/Makefile
new file mode 100644
index 00000000000..7481bdd7bcd
--- /dev/null
+++ b/multimedia/trplayer/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 13:20:39 jmmv Exp $
+#
+
+DISTNAME= trplayer-1.2.0
+CATEGORIES= multimedia
+MASTER_SITES= ftp://linux-speakup.org/pub/linux/goodies/trplayer/
+EXTRACT_SUFX= -1.i386.rpm
+
+MAINTAINER= fredb@NetBSD.org
+HOMEPAGE= http://www.linux-speakup.org/trplayer.html
+COMMENT= Text-mode Realmedia Player
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
+BUILD_DEPENDS+= rpm2pkg>=1.2:../../pkgtools/rpm2pkg
+DEPENDS+= realplayer>=8.0.1:../../multimedia/realplayer
+DEPENDS+= suse_base>=7.3:../../emulators/${SUSE_DIR_PREFIX}_base
+DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
+DEPENDS+= suse_libc5>=7.3:../../emulators/${SUSE_DIR_PREFIX}_libc5
+DEPENDS+= suse_slang>=7.3:../../emulators/${SUSE_DIR_PREFIX}_slang
+.endif
+
+INTERACTIVE_STAGE= fetch # XXX Not really!
+#INTERACTIVE_STAGE= install-depends
+LICENSE= trplayer-license
+ONLY_FOR_PLATFORM= NetBSD-1.6*-i386
+
+WRKSRC= ${WRKDIR}
+CHECK_SHLIBS= NO
+NO_BUILD= YES
+
+EMULDIR= ${LOCALBASE}/emul/linux
+EXTRACT_ONLY= # nothing
+INFO_FILES= trplayer.info
+PLIST_SRC= ${WRKDIR}/PLIST.rpm
+
+do-install:
+ ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
+ ${LOCALBASE}/sbin/rpm2pkg -d ${PREFIX} -f ${PLIST_SRC} \
+ -p emul/linux ${DISTDIR}/${DISTFILES}
+ ${INSTALL_DATA} ${EMULDIR}/usr/info/trplayer.info \
+ ${PREFIX}/info/trplayer.info
+
+post-install:
+ ${SED} -e 's,@@EMULDIR@@,${EMULDIR},' \
+ -e 's,@@LOCALBASE@@,${LOCALBASE},' ${FILESDIR}/trplayer \
+ > ${WRKSRC}/trplayer
+ ${INSTALL_SCRIPT} ${WRKSRC}/trplayer ${PREFIX}/bin/trplayer
+
+.include "../../emulators/suse_linux/Makefile.application"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/trplayer/PLIST b/multimedia/trplayer/PLIST
new file mode 100644
index 00000000000..62a6462ac13
--- /dev/null
+++ b/multimedia/trplayer/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 13:20:40 jmmv Exp $
+bin/trplayer
diff --git a/multimedia/trplayer/distinfo b/multimedia/trplayer/distinfo
new file mode 100644
index 00000000000..c6d6152b912
--- /dev/null
+++ b/multimedia/trplayer/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 13:20:40 jmmv Exp $
+
+SHA1 (trplayer-1.2.0-1.i386.rpm) = 94c3d8ae82e25c5c3b97797740f4b5bfb6ac4e89
+Size (trplayer-1.2.0-1.i386.rpm) = 30201 bytes
diff --git a/multimedia/trplayer/files/trplayer b/multimedia/trplayer/files/trplayer
new file mode 100644
index 00000000000..c088dafb84c
--- /dev/null
+++ b/multimedia/trplayer/files/trplayer
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# $NetBSD: trplayer,v 1.1.1.1 2004/01/26 13:20:40 jmmv Exp $
+#
+REALPLAYER_HOME=@@LOCALBASE@@/lib/RealPlayer8
+export REALPLAYER_HOME
+
+exec @@EMULDIR@@/usr/bin/trplayer "$@"