pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/divxplayer Move divxplayer to the multimedi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15c3fc52e366
branches:  trunk
changeset: 467161:15c3fc52e366
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Jan 26 13:28:19 2004 +0000

description:
Move divxplayer to the multimedia category (coming from graphics).
This is version 0.2.0.

diffstat:

 multimedia/divxplayer/DESCR             |   4 +++
 multimedia/divxplayer/Makefile          |  40 +++++++++++++++++++++++++++++++++
 multimedia/divxplayer/PLIST             |   8 ++++++
 multimedia/divxplayer/distinfo          |   4 +++
 multimedia/divxplayer/files/launcher.sh |  14 +++++++++++
 5 files changed, 70 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r f084b1614817 -r 15c3fc52e366 multimedia/divxplayer/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/divxplayer/DESCR       Mon Jan 26 13:28:19 2004 +0000
@@ -0,0 +1,4 @@
+The DivX(TM) Player for Linux from DivX.com is built from the same
+codebase as the Windows version. It performs exactly like its Windows
+cousin in all respects, and can even use the same skin files. Behold
+the wonders of cross-platform development.
diff -r f084b1614817 -r 15c3fc52e366 multimedia/divxplayer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/divxplayer/Makefile    Mon Jan 26 13:28:19 2004 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 13:28:19 jmmv Exp $
+
+DISTNAME=      divx-player-installer
+PKGNAME=       divxplayer-0.2.0
+CATEGORIES=    multimedia
+MASTER_SITES=  ${MASTER_SITE_LOCAL:=${PKGNAME}/}
+
+MAINTAINER=    david%netbsd-fr.org@localhost
+HOMEPAGE=      http://www.divx.com/
+COMMENT=       DivX(TM) Video Player for Linux from DivX.com
+
+DEPENDS+=      suse_linux>=7.3:../../emulators/suse_linux
+DEPENDS+=      suse_x11>=7.3:../../emulators/suse_linux
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+
+WRKSRC=                ${WRKDIR}/divx-player-installer
+CHECK_SHLIBS=  NO
+NO_BUILD=      YES
+USE_X11BASE=   YES
+
+DIST_SUBDIR=   ${PKGNAME}
+
+BINARY=                divxPlayer.bin
+DATADIR=       ${PREFIX}/share/divxplayer
+
+post-patch:
+       ${SED} -e "s|%%DATADIR%%|${DATADIR}|" ${FILESDIR}/launcher.sh \
+               > ${WRKDIR}/frontend.sh
+
+do-install:
+       ${MKDIR} ${DATADIR}
+       ${MKDIR} ${DATADIR}/Skins
+       ${INSTALL_DATA} ${WRKSRC}/Skins/* ${DATADIR}/Skins
+       ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKDIR}/frontend.sh \
+               ${PREFIX}/bin/${BINARY:S/.bin$//}
+
+.include "../../emulators/suse_linux/Makefile.application"
+.include "../../mk/bsd.pkg.mk"
diff -r f084b1614817 -r 15c3fc52e366 multimedia/divxplayer/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/divxplayer/PLIST       Mon Jan 26 13:28:19 2004 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 13:28:19 jmmv Exp $
+bin/divxPlayer
+bin/divxPlayer.bin
+share/divxplayer/Skins/Corner.zip
+share/divxplayer/Skins/Default.dps
+share/divxplayer/Skins/divxexplorer.dps
+@dirrm share/divxplayer/Skins
+@dirrm share/divxplayer
diff -r f084b1614817 -r 15c3fc52e366 multimedia/divxplayer/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/divxplayer/distinfo    Mon Jan 26 13:28:19 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 13:28:19 jmmv Exp $
+
+SHA1 (divxplayer-0.2.0/divx-player-installer.tar.gz) = 63e39c6ed7539e3d7e94b16df93745aba9550d42
+Size (divxplayer-0.2.0/divx-player-installer.tar.gz) = 3888848 bytes
diff -r f084b1614817 -r 15c3fc52e366 multimedia/divxplayer/files/launcher.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/divxplayer/files/launcher.sh   Mon Jan 26 13:28:19 2004 +0000
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+PROGRAM="$0"
+DATADIR="%%DATADIR%%"
+DIVX_SKIN_DIR=${DATADIR}/Skins
+
+export DIVX_SKIN_DIR
+
+if [ -f ~/.divxPlayer/DivXPlayer.dbf ]
+then
+       rm -f ~/.divxPlayer/DivXPlayer.dbf
+fi
+
+exec ${PROGRAM}.bin "${@}"



Home | Main Index | Thread Index | Old Index