From f278e62dd9dde6f4ddf24b66f967110134698d2d Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 1 Apr 2003 08:02:48 +0000 Subject: initial import of the realplayer-codecs package --- graphics/realplayer-codecs/DESCR | 4 ++++ graphics/realplayer-codecs/MESSAGE | 20 ++++++++++++++++++ graphics/realplayer-codecs/Makefile | 42 +++++++++++++++++++++++++++++++++++++ graphics/realplayer-codecs/PLIST | 12 +++++++++++ graphics/realplayer-codecs/distinfo | 8 +++++++ 5 files changed, 86 insertions(+) create mode 100644 graphics/realplayer-codecs/DESCR create mode 100644 graphics/realplayer-codecs/MESSAGE create mode 100644 graphics/realplayer-codecs/Makefile create mode 100644 graphics/realplayer-codecs/PLIST create mode 100644 graphics/realplayer-codecs/distinfo (limited to 'graphics/realplayer-codecs') diff --git a/graphics/realplayer-codecs/DESCR b/graphics/realplayer-codecs/DESCR new file mode 100644 index 00000000000..22a821ad60e --- /dev/null +++ b/graphics/realplayer-codecs/DESCR @@ -0,0 +1,4 @@ +RealPlayer8 Codecs for use by MPlayer, without having to install RealPlayer8 +itself. This contains several Real codecs (all the ones MPlayer supports.) + +This package supports i386, powerpc and alpha platforms. diff --git a/graphics/realplayer-codecs/MESSAGE b/graphics/realplayer-codecs/MESSAGE new file mode 100644 index 00000000000..78d445b34c0 --- /dev/null +++ b/graphics/realplayer-codecs/MESSAGE @@ -0,0 +1,20 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/04/01 08:02:48 mrg Exp $ + +This package requires a special hack to run on PowerPC systems, and to +enable one codec on all systems. + +For PowerPC, these shared libraries are linked agained glibc6, the need a +"libc.so.6" file. Fortunately, only a few simple functions (malloc, free, +memset, memcpy) are needed and these work from the NetBSD libc. As root, +you need to run this command to complete this installation (this *is* +ugly, but for now it is our best solution): + + # cd /usr/lib + # ln -s libc.so libc.so.6 + +For all systems, to use the "sipr" codec, a "libm.so.6" is required. It +is not yet known if the NetBSD libm will suit this functionality or not. + + +=========================================================================== diff --git a/graphics/realplayer-codecs/Makefile b/graphics/realplayer-codecs/Makefile new file mode 100644 index 00000000000..b20afaaa60a --- /dev/null +++ b/graphics/realplayer-codecs/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/04/01 08:02:48 mrg Exp $ +# + +DISTNAME= rp8codecs${RP_ARCH} +PKGNAME= realplayer-codecs +CATEGORIES= graphics +MASTER_SITES= ftp://mplayerhq.hu/MPlayer/releases/ +EXTRACT_SUFX= .tar.bz2 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +CONFLICTS= realplayer-* + +.if ${MACHINE_ARCH} == "i386" +RP_ARCH= +.elif ${MACHINE_ARCH} == "powerpc" +RP_ARCH= -ppc +.elif ${MACHINE_ARCH} == "alpha" +RP_ARCH= -alpha +.endif + +MAINTAINER= packages@netbsd.org +COMMENT= RealPlayer 8 shared libraries, primary for use with MPlayer + +USE_BUILDLINK2= yes +NO_BUILD= yes + +ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc NetBSD-*-alpha + +RESTRICTED= "Unsure of codec's license" +NO_BIN_ON_CDROM=${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +NO_SRC_ON_CDROM=${RESTRICTED} +NO_SRC_ON_FTP= ${RESTRICTED} + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/RealPlayer8/Codecs + ${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/lib/RealPlayer8/Codecs +.if ${MACHINE_ARCH} == "powerpc" + ${LN} -s /usr/lib/libc.so /usr/pkg/lib/libc.so.6 +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/realplayer-codecs/PLIST b/graphics/realplayer-codecs/PLIST new file mode 100644 index 00000000000..c441a4170c5 --- /dev/null +++ b/graphics/realplayer-codecs/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/01 08:02:48 mrg Exp $ +lib/RealPlayer8/Codecs/14_4.so.6.0 +lib/RealPlayer8/Codecs/28_8.so.6.0 +lib/RealPlayer8/Codecs/atrc.so.6.0 +lib/RealPlayer8/Codecs/cook.so.6.0 +lib/RealPlayer8/Codecs/ddnt.so.6.0 +lib/RealPlayer8/Codecs/dnet.so.6.0 +lib/RealPlayer8/Codecs/drv2.so.6.0 +lib/RealPlayer8/Codecs/drv3.so.6.0 +lib/RealPlayer8/Codecs/dspr.so.6.0 +lib/RealPlayer8/Codecs/sipr.so.6.0 +lib/RealPlayer8/Codecs/tokr.so.6.0 diff --git a/graphics/realplayer-codecs/distinfo b/graphics/realplayer-codecs/distinfo new file mode 100644 index 00000000000..7ce3713c831 --- /dev/null +++ b/graphics/realplayer-codecs/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/04/01 08:02:48 mrg Exp $ + +SHA1 (rp8codecs.tar.bz2) = 9532ccb510b8a60d5b37fec083c4e5986f6b8433 +Size (rp8codecs.tar.bz2) = 388979 bytes +SHA1 (rp8codecs-alpha.tar.bz2) = 9b9c4c29450b7f0f2c68e71c6eb2858a3610b661 +Size (rp8codecs-alpha.tar.bz2) = 532365 bytes +SHA1 (rp8codecs-ppc.tar.bz2) = ff77e88142a3c46a31e76b89ee7affdbb846f00c +Size (rp8codecs-ppc.tar.bz2) = 536461 bytes -- cgit v1.2.3