pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/trplayer Move trplayer to the multimedia ca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8c427c3ce07
branches:  trunk
changeset: 467158:e8c427c3ce07
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Jan 26 13:20:39 2004 +0000

description:
Move trplayer to the multimedia category (coming from audio).
This is version 1.2.0.

diffstat:

 multimedia/trplayer/DESCR          |   7 +++++
 multimedia/trplayer/Makefile       |  52 ++++++++++++++++++++++++++++++++++++++
 multimedia/trplayer/PLIST          |   2 +
 multimedia/trplayer/distinfo       |   4 ++
 multimedia/trplayer/files/trplayer |   8 +++++
 5 files changed, 73 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r 24a4b49052a4 -r e8c427c3ce07 multimedia/trplayer/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/trplayer/DESCR Mon Jan 26 13:20:39 2004 +0000
@@ -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 -r 24a4b49052a4 -r e8c427c3ce07 multimedia/trplayer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/trplayer/Makefile      Mon Jan 26 13:20:39 2004 +0000
@@ -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@localhost
+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 -r 24a4b49052a4 -r e8c427c3ce07 multimedia/trplayer/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/trplayer/PLIST Mon Jan 26 13:20:39 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 13:20:40 jmmv Exp $
+bin/trplayer
diff -r 24a4b49052a4 -r e8c427c3ce07 multimedia/trplayer/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/trplayer/distinfo      Mon Jan 26 13:20:39 2004 +0000
@@ -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 -r 24a4b49052a4 -r e8c427c3ce07 multimedia/trplayer/files/trplayer
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/trplayer/files/trplayer        Mon Jan 26 13:20:39 2004 +0000
@@ -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 "$@"



Home | Main Index | Thread Index | Old Index