pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/avifile Move avifile to the multimedia cate...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa28000eb6e7
branches:  trunk
changeset: 467179:aa28000eb6e7
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Jan 26 15:11:45 2004 +0000

description:
Move avifile to the multimedia category (coming from graphics).
This is version 0.53.5nb2.

diffstat:

 multimedia/avifile/DESCR            |   3 +
 multimedia/avifile/MESSAGE          |   9 +++++
 multimedia/avifile/Makefile         |  28 +++++++++++++++++
 multimedia/avifile/PLIST            |  60 +++++++++++++++++++++++++++++++++++++
 multimedia/avifile/buildlink2.mk    |  20 ++++++++++++
 multimedia/avifile/distinfo         |  22 +++++++++++++
 multimedia/avifile/patches/patch-aa |  44 +++++++++++++++++++++++++++
 multimedia/avifile/patches/patch-ab |  13 ++++++++
 multimedia/avifile/patches/patch-ac |  15 +++++++++
 multimedia/avifile/patches/patch-ad |  22 +++++++++++++
 multimedia/avifile/patches/patch-ae |  15 +++++++++
 multimedia/avifile/patches/patch-af |  13 ++++++++
 multimedia/avifile/patches/patch-ag |  13 ++++++++
 multimedia/avifile/patches/patch-ai |  13 ++++++++
 multimedia/avifile/patches/patch-aj |  13 ++++++++
 multimedia/avifile/patches/patch-ak |  31 +++++++++++++++++++
 multimedia/avifile/patches/patch-al |  39 ++++++++++++++++++++++++
 multimedia/avifile/patches/patch-am |  13 ++++++++
 multimedia/avifile/patches/patch-an |  14 ++++++++
 multimedia/avifile/patches/patch-ao |  13 ++++++++
 multimedia/avifile/patches/patch-ap |  10 ++++++
 multimedia/avifile/patches/patch-aq |  12 +++++++
 multimedia/avifile/patches/patch-ar |  31 +++++++++++++++++++
 multimedia/avifile/patches/patch-as |  40 ++++++++++++++++++++++++
 24 files changed, 506 insertions(+), 0 deletions(-)

diffs (truncated from 604 to 300 lines):

diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/DESCR  Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,3 @@
+An MPEG-4 (aka DivX) player library built around the Windows binaries,
+that does not need Wine.  There is also a xmps plugin you can build
+(manually).
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/MESSAGE        Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+This package requires a kernel built with
+the directive:
+
+options USER_LDT
+
+===========================================================================
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/Makefile       Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 15:11:45 jmmv Exp $
+
+DISTNAME=      avifile-0.53.5
+PKGREVISION=   2
+CATEGORIES=    multimedia
+MASTER_SITES=  http://ernie.eit.uni-kl.de/avifile/                     \
+               http://divx.euro.ru/                                    \
+               http://www.toon.eu.org/divx/
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://avifile.sourceforge.net/
+COMMENT=       MPEG-4 (DivX) video player library
+
+DEPENDS=       win32-codecs>=010122:../../multimedia/win32-codecs
+
+ONLY_FOR_PLATFORM=     NetBSD-*-i386
+
+USE_BUILDLINK2=                YES
+USE_GNU_TOOLS+=                make
+USE_LIBTOOL=           YES
+LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
+
+GNU_CONFIGURE=         YES
+CONFIGURE_ARGS+=       --with-win32-path="${LOCALBASE}/lib/win32"
+CONFIGURE_ARGS+=       --disable-qt
+
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/PLIST  Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+bin/avifile-config
+include/avifile/audiodecoder.h
+include/avifile/audioencoder.h
+include/avifile/avifile.h
+include/avifile/avifmt.h
+include/avifile/aviplay.h
+include/avifile/aviutil.h
+include/avifile/com.h
+include/avifile/config.h
+include/avifile/default.h
+include/avifile/except.h
+include/avifile/image.h
+include/avifile/infotypes.h
+include/avifile/loader.h
+include/avifile/registry.h
+include/avifile/version.h
+include/avifile/videodecoder.h
+include/avifile/videoencoder.h
+include/avifile/wine/basetsd.h
+include/avifile/wine/config.h
+include/avifile/wine/debugtools.h
+include/avifile/wine/driver.h
+include/avifile/wine/elfdll.h
+include/avifile/wine/heap.h
+include/avifile/wine/ldt.h
+include/avifile/wine/mmreg.h
+include/avifile/wine/module.h
+include/avifile/wine/msacm.h
+include/avifile/wine/msacmdrv.h
+include/avifile/wine/ntdef.h
+include/avifile/wine/pe_image.h
+include/avifile/wine/poppack.h
+include/avifile/wine/pshpack1.h
+include/avifile/wine/pshpack2.h
+include/avifile/wine/pshpack4.h
+include/avifile/wine/pshpack8.h
+include/avifile/wine/vfw.h
+include/avifile/wine/winbase.h
+include/avifile/wine/windef.h
+include/avifile/wine/windows.h
+include/avifile/wine/winerror.h
+include/avifile/wine/winestring.h
+include/avifile/wine/winnt.h
+include/avifile/wine/winreg.h
+include/avifile/wine/winuser.h
+lib/libaviplay.a
+lib/libaviplay.la
+lib/libaviplay.so
+lib/libaviplay.so.0
+lib/libaviplay.so.0.0
+share/avifile/about.ppm
+share/avifile/open.ppm
+share/avifile/pause.ppm
+share/avifile/play.ppm
+share/avifile/stop.ppm
+share/avifile/test.png
+@dirrm share/avifile
+@dirrm include/avifile/wine
+@dirrm include/avifile
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/buildlink2.mk  Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+.if !defined(AVIFILE_BUILDLINK2_MK)
+AVIFILE_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+=           avifile
+BUILDLINK_DEPENDS.avifile?=    avifile>=0.53.5nb2
+BUILDLINK_PKGSRCDIR.avifile?=  ../../multimedia/avifile
+
+EVAL_PREFIX+=                  BUILDLINK_PREFIX.avifile=avifile
+BUILDLINK_PREFIX.avifile_DEFAULT=      ${LOCALBASE}
+BUILDLINK_FILES.avifile=       lib/libaviplay.*
+BUILDLINK_FILES.avifile+=      include/avifile/*
+BUILDLINK_FILES.avifile+=      include/avifile/wine/*
+
+BUILDLINK_TARGETS+=    avifile-buildlink
+
+avifile-buildlink: _BUILDLINK_USE
+
+.endif # AVIFILE_BUILDLINK2_MK
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/distinfo       Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+SHA1 (avifile-0.53.5.tar.gz) = bc9d27c65ab4f8df9006c6037d539ff71adb0ad7
+Size (avifile-0.53.5.tar.gz) = 848382 bytes
+SHA1 (patch-aa) = e497c4526fa50140dc19cef8cbf171baa13e55c9
+SHA1 (patch-ab) = f6ce2519d56cde66cf88d5180c87ee2453c155e7
+SHA1 (patch-ac) = add3437da5e5724269d2dc10c0d10e1bc6c022cd
+SHA1 (patch-ad) = 21ceab52fd184ee856780e5f38405a67a471ed07
+SHA1 (patch-ae) = 36b45ff4f4e350195bf0731c64fb52449ed23c41
+SHA1 (patch-af) = 48cb4d9cf0c45fd8c60d5cabd0ce71d8100f880a
+SHA1 (patch-ag) = 49a96eb69108e1bc3bc1a7f69db4a86cf3be1935
+SHA1 (patch-ai) = fb735fb071ad6bddce0520f55f266e8c05b1ef34
+SHA1 (patch-aj) = 9fac29acf89aa99f546581ecb7b800029643297f
+SHA1 (patch-ak) = f16d6fd4192f74d2f2eb67bc41672e41c6cfba48
+SHA1 (patch-al) = 218f2f2da4ad82ccced63ad00873f186f9924201
+SHA1 (patch-am) = 8c9ffd2dc38ed38058102afa0af13258f89415d4
+SHA1 (patch-an) = 3e9857a9e52fce6f51d7cdf99db82b48fc4cbfe9
+SHA1 (patch-ao) = 01e418460da9ffa59b0d1799845049a8aa4bf7c9
+SHA1 (patch-ap) = fd8b4ec6e53ef4ef87983fc63bd7636c7653ebe4
+SHA1 (patch-aq) = bbae73f76390f5e27d9f3135f2ddb4230b47121f
+SHA1 (patch-ar) = 6a302643818a478003d75d2ff7ab1133a90fc412
+SHA1 (patch-as) = 140bea8a63ccd109c00b6f8eb0a40dc42161adbb
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/patches/patch-aa       Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+--- lib/aviplay/audio.cpp.orig Fri Dec 15 07:53:05 2000
++++ lib/aviplay/audio.cpp
+@@ -28,7 +28,11 @@
+ #include <pthread.h>
+ 
+ 
+-#include <sys/soundcard.h>
++#ifdef __NetBSD__
++#include <soundcard.h>
++#else
++ #include <sys/soundcard.h>
++#endif
+ 
+ #include "aviplay_impl.h"
+ #include "audio.h"
+@@ -112,7 +116,7 @@
+ int audio_queue::write(int fd)//writes some data
+ {
+     int startpos, size, tmp;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+     const int AUDIO_BUFFER_SIZE=2048;
+ #else
+     const int AUDIO_BUFFER_SIZE=8192;
+@@ -372,7 +376,7 @@
+       audio_fd=-1;
+       try
+       {
+-          audio_fd=open("/dev/dsp",O_RDWR|O_NDELAY);
++          audio_fd=open("/dev/sound",O_RDWR|O_NDELAY);
+           if(audio_fd<=0)
+               throw FATAL("Can't open audio device");
+           if(audio_fd>0)
+@@ -388,7 +392,7 @@
+       catch(FatalError&)
+       {
+           if(audio_fd>0)::close(audio_fd);
+-          audio_fd=open("/dev/dsp", O_RDWR);
++          audio_fd=open("/dev/sound", O_RDWR);
+       }
+         if(audio_fd<=0)
+           throw FATAL("Can't open audio device");
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/patches/patch-ab       Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+--- lib/avifile/File64.h.orig  Sun Nov 26 18:43:55 2000
++++ lib/avifile/File64.h
+@@ -3,7 +3,7 @@
+ 
+ typedef long long 
__int64;
+ //typedef int HANDLE;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define lseek64 lseek
+ //#else
+ //extern "C" __int64 lseek64(int fd, __int64 offset, int);
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/patches/patch-ac       Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+--- lib/avifile/AVIReadHandler2.cpp.orig       Wed Jan 10 19:01:12 2001
++++ lib/avifile/AVIReadHandler2.cpp
+@@ -27,6 +27,10 @@
+ typedef long long
 __int64;
+ //#define STREAMING_DEBUG
+ 
++#if defined(__NetBSD__)
++#define lseek64 lseek
++#endif
++
+ // HACK!!!!
+ 
+ extern pthread_mutex_t g_diskcs;
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/patches/patch-ad       Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+--- lib/avifile/FastReadStream.cpp.orig        Sun Nov 26 18:43:55 2000
++++ lib/avifile/FastReadStream.cpp
+@@ -6,7 +6,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <sys/types.h>
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+ #include <features.h>
+ #endif
+ #include <unistd.h>
+@@ -16,7 +16,7 @@
+ #include <stdlib.h>
+ #endif
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define lseek64 lseek
+ #else
+ extern "C" __int64 lseek64(int fd, __int64 offset, int);
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/patches/patch-ae       Mon Jan 26 15:11:45 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/01/26 15:11:46 jmmv Exp $
+
+--- lib/avifile/Cache.cpp.orig Tue Oct 10 20:31:37 2000
++++ lib/avifile/Cache.cpp
+@@ -3,6 +3,10 @@
+ #include <except.h>
+ #define BUFFERING 100
+ 
++#ifdef __NetBSD__
++#define lseek64 lseek
++#endif
++
+ class mem_counter
+ {
+ int size;
diff -r bc96db0b9a1a -r aa28000eb6e7 multimedia/avifile/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile/patches/patch-af       Mon Jan 26 15:11:45 2004 +0000



Home | Main Index | Thread Index | Old Index