diff options
author | fredb <fredb@pkgsrc.org> | 2002-08-31 20:04:53 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-08-31 20:04:53 +0000 |
commit | 8455cce54dbf947f9a73586655432c1ca79c1f61 (patch) | |
tree | 37acf0e6327f0e97b688921c51cb83daf74e9426 /audio/trplayer | |
parent | 82c0aa4e8bfc610425eaad0a7f8359d8a8283724 (diff) | |
download | pkgsrc-8455cce54dbf947f9a73586655432c1ca79c1f61.tar.gz |
Initial import of "audio/trplayer":
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.
Diffstat (limited to 'audio/trplayer')
-rw-r--r-- | audio/trplayer/DESCR | 7 | ||||
-rw-r--r-- | audio/trplayer/Makefile | 46 | ||||
-rw-r--r-- | audio/trplayer/PLIST | 5 | ||||
-rw-r--r-- | audio/trplayer/distinfo | 4 | ||||
-rw-r--r-- | audio/trplayer/files/trplayer | 8 |
5 files changed, 70 insertions, 0 deletions
diff --git a/audio/trplayer/DESCR b/audio/trplayer/DESCR new file mode 100644 index 00000000000..cf2d9e50ac4 --- /dev/null +++ b/audio/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/audio/trplayer/Makefile b/audio/trplayer/Makefile new file mode 100644 index 00000000000..394174128f4 --- /dev/null +++ b/audio/trplayer/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/31 20:04:53 fredb Exp $ +# + +DISTNAME= trplayer-1.2.0 +CATEGORIES= audio +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 + +BUILD_DEPENDS+= rpm2pkg-1.2:../../pkgtools/rpm2pkg +DEPENDS+= realplayer>=8.0.1:../../audio/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 + +LICENSE= trplayer-license +ONLY_FOR_PLATFORM= NetBSD-1.6*-i386 + +CHECK_SHLIBS= NO +NO_BUILD= YES + +EMULDIR= ${LOCALBASE}/emul/linux +EXTRACT_ONLY= # nothing +INFO_FILES= trplayer.info +PLIST_SRC= ${WRKDIR}/PLIST.rpm +WRKSRC= ${WRKDIR} + +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 "../../mk/texinfo.mk" +.include "../../emulators/suse_linux/Makefile.application" diff --git a/audio/trplayer/PLIST b/audio/trplayer/PLIST new file mode 100644 index 00000000000..5479058b2ee --- /dev/null +++ b/audio/trplayer/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/31 20:04:53 fredb Exp $ +bin/trplayer +@unexec ${INSTALL_INFO} --delete %D/info/trplayer.info %D/info/dir +info/trplayer.info +@exec ${INSTALL_INFO} %D/info/trplayer.info %D/info/dir diff --git a/audio/trplayer/distinfo b/audio/trplayer/distinfo new file mode 100644 index 00000000000..51071c7185a --- /dev/null +++ b/audio/trplayer/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/31 20:04:53 fredb Exp $ + +SHA1 (trplayer-1.2.0-1.i386.rpm) = 94c3d8ae82e25c5c3b97797740f4b5bfb6ac4e89 +Size (trplayer-1.2.0-1.i386.rpm) = 30201 bytes diff --git a/audio/trplayer/files/trplayer b/audio/trplayer/files/trplayer new file mode 100644 index 00000000000..da68c2c185e --- /dev/null +++ b/audio/trplayer/files/trplayer @@ -0,0 +1,8 @@ +#!/bin/sh +# +# $NetBSD: trplayer,v 1.1.1.1 2002/08/31 20:04:53 fredb Exp $ +# +REALPLAYER_HOME=@@LOCALBASE@@/lib/RealPlayer8 +export REALPLAYER_HOME + +exec @@EMULDIR@@/usr/bin/trplayer "$@" |