diff options
author | fredb <fredb@pkgsrc.org> | 2003-01-26 00:11:33 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2003-01-26 00:11:33 +0000 |
commit | be757abf2dc963288d18fa4d7d3470e14564c33d (patch) | |
tree | 6881dfa913ec689a0968a1065cb5c2673b309f42 /graphics | |
parent | 9ca2ff349efa314c836d5ba62b80a371459d9e68 (diff) | |
download | pkgsrc-be757abf2dc963288d18fa4d7d3470e14564c33d.tar.gz |
Initial import of divxplayer, DivX(TM) Video Player for Linux from
DivX.com. This was submitted by David Ferlier in PR pkg/19753. The
DESCR and COMMENT were evidently taken from the FreeBSD port.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/divxplayer/DESCR | 4 | ||||
-rw-r--r-- | graphics/divxplayer/Makefile | 39 | ||||
-rw-r--r-- | graphics/divxplayer/PLIST | 8 | ||||
-rw-r--r-- | graphics/divxplayer/distinfo | 4 | ||||
-rw-r--r-- | graphics/divxplayer/files/launcher.sh | 14 |
5 files changed, 69 insertions, 0 deletions
diff --git a/graphics/divxplayer/DESCR b/graphics/divxplayer/DESCR new file mode 100644 index 00000000000..029df1e4c7b --- /dev/null +++ b/graphics/divxplayer/DESCR @@ -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 --git a/graphics/divxplayer/Makefile b/graphics/divxplayer/Makefile new file mode 100644 index 00000000000..539b94fde15 --- /dev/null +++ b/graphics/divxplayer/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:11:33 fredb Exp $ + +DISTNAME= divx-player-installer +PKGNAME= divxplayer-0.2.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME}/} + +MAINTAINER= david@netbsd-fr.org +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 + +CHECK_SHLIBS= NO +NO_BUILD= YES +USE_X11BASE= YES + +DIST_SUBDIR= ${PKGNAME} +WRKSRC= ${WRKDIR}/divx-player-installer + +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" diff --git a/graphics/divxplayer/PLIST b/graphics/divxplayer/PLIST new file mode 100644 index 00000000000..cdbc18d3cb2 --- /dev/null +++ b/graphics/divxplayer/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/26 00:11:33 fredb 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 --git a/graphics/divxplayer/distinfo b/graphics/divxplayer/distinfo new file mode 100644 index 00000000000..dd6f6505cf2 --- /dev/null +++ b/graphics/divxplayer/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/01/26 00:11:33 fredb 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 --git a/graphics/divxplayer/files/launcher.sh b/graphics/divxplayer/files/launcher.sh new file mode 100644 index 00000000000..e455a68b6b6 --- /dev/null +++ b/graphics/divxplayer/files/launcher.sh @@ -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 "${@}" |