From 16b01ca0d4e7e91abea3f23e2fac805c8b6c1f09 Mon Sep 17 00:00:00 2001 From: fredb Date: Sun, 26 Jan 2003 00:11:33 +0000 Subject: 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. --- graphics/divxplayer/DESCR | 4 ++++ graphics/divxplayer/Makefile | 39 +++++++++++++++++++++++++++++++++++ graphics/divxplayer/PLIST | 8 +++++++ graphics/divxplayer/distinfo | 4 ++++ graphics/divxplayer/files/launcher.sh | 14 +++++++++++++ 5 files changed, 69 insertions(+) create mode 100644 graphics/divxplayer/DESCR create mode 100644 graphics/divxplayer/Makefile create mode 100644 graphics/divxplayer/PLIST create mode 100644 graphics/divxplayer/distinfo create mode 100644 graphics/divxplayer/files/launcher.sh (limited to 'graphics') 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 "${@}" -- cgit v1.2.3