pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/avifile-devel Move avifile-devel to the mul...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c5ecefa4af5d
branches: trunk
changeset: 467180:c5ecefa4af5d
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Mon Jan 26 15:13:03 2004 +0000
description:
Move avifile-devel to the multimedia category (coming from graphics).
This is version 0.6.20010814nb4.
diffstat:
multimedia/avifile-devel/DESCR | 3 +
multimedia/avifile-devel/Makefile | 75 +++++++++++++++++++++++++++++++
multimedia/avifile-devel/PLIST | 72 +++++++++++++++++++++++++++++
multimedia/avifile-devel/PLIST.qt | 13 +++++
multimedia/avifile-devel/buildlink2.mk | 21 ++++++++
multimedia/avifile-devel/distinfo | 7 ++
multimedia/avifile-devel/patches/patch-aa | 13 +++++
multimedia/avifile-devel/patches/patch-ab | 13 +++++
multimedia/avifile-devel/patches/patch-ac | 18 +++++++
9 files changed, 235 insertions(+), 0 deletions(-)
diffs (271 lines):
diff -r aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/DESCR Mon Jan 26 15:13:03 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 aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/Makefile Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,75 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 15:13:04 jmmv Exp $
+#
+
+DISTNAME= avifile-0.6.20010814
+PKGREVISION= 4
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+EXTRACT_SUFX= .tar.bz2
+
+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
+
+NO_SRC_ON_FTP= "Already in MASTER_SITE_LOCAL"
+
+BUILD_USES_GETTEXT_M4= YES
+
+WRKSRC= ${WRKDIR}/avifile-0.6
+AUTOMAKE_REQD= 1.4
+USE_BUILDLINK2= YES
+USE_X11= 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-dpms
+
+# ffmpeg codec *partially* works, but is incredibly slow so we don't want
+# to use it
+CONFIGURE_ARGS+= --disable-ffmpeg
+
+CXXFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
+
+.include "../../mk/bsd.prefs.mk"
+
+AVIFILE_USE_QT?= NO
+
+.if defined (AVIFILE_USE_QT) && ${AVIFILE_USE_QT} == "YES"
+#
+# it would be more logical to set PLIST_SRC to PLIST first and then add
+# PLIST.qt to it, but @dirrm lib/avifile-0.6 will fail while processing
+# pkg/PLIST, because the directory still contains files (they are listed in
+# PLIST.qt) and isn't empty, thus can't be removed
+#
+PLIST_SRC= ${PKGDIR}/PLIST.qt
+PLIST_SRC+= ${PKGDIR}/PLIST
+
+CXXFLAGS+= -Wl,${RPATH_FLAG}${QTDIR}/lib
+CXXFLAGS+= -Wl,${RPATH_FLAG}${LOCALBASE}/lib
+CXXFLAGS+= -Wl,${RPATH_FLAG}${X11BASE}/lib
+FIX_RPATH+= CXXFLAGS
+
+CONFIGURE_ARGS+= --enable-qt
+CONFIGURE_ARGS+= --with-qt-dir="${QTDIR}"
+
+. include "../../x11/qt2-designer/buildlink2.mk"
+.endif
+
+pre-configure:
+ cd ${WRKSRC} && libtoolize --force --copy
+ cd ${WRKSRC} && ${ACLOCAL}
+ cd ${WRKSRC} && ${AUTOHEADER}
+ cd ${WRKSRC} && ${AUTOCONF}
+ cd ${WRKSRC} && ${AUTOMAKE} --add-missing --copy --foreign
+
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../mk/automake.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/PLIST Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,72 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 15:13:03 jmmv Exp $
+bin/avifile-config
+include/avifile/Locker.h
+include/avifile/ReadHandlers.h
+include/avifile/StreamInfo.h
+include/avifile/VideoDPMS.h
+include/avifile/audiodecoder.h
+include/avifile/audioencoder.h
+include/avifile/avifile.h
+include/avifile/avifmt.h
+include/avifile/aviplay.h
+include/avifile/com.h
+include/avifile/config.h
+include/avifile/configfile.h
+include/avifile/cpuinfo.h
+include/avifile/creators.h
+include/avifile/default.h
+include/avifile/except.h
+include/avifile/formats.h
+include/avifile/fourcc.h
+include/avifile/image.h
+include/avifile/infotypes.h
+include/avifile/mmx.h
+include/avifile/playerwidget.h
+include/avifile/plugin.h
+include/avifile/registry.h
+include/avifile/renderer.h
+include/avifile/subtitle.h
+include/avifile/utils.h
+include/avifile/version.h
+include/avifile/videodecoder.h
+include/avifile/videoencoder.h
+lib/avifile-0.6/libaudiodec-0.6.so
+lib/avifile-0.6/libaudiodec-0.6.so.2
+lib/avifile-0.6/libaudiodec-0.6.so.2.0
+lib/avifile-0.6/libaudiodec.a
+lib/avifile-0.6/libaudiodec.la
+lib/avifile-0.6/libaudiodec.so
+lib/avifile-0.6/libmp3lame_audioenc-0.6.so
+lib/avifile-0.6/libmp3lame_audioenc-0.6.so.2
+lib/avifile-0.6/libmp3lame_audioenc-0.6.so.2.0
+lib/avifile-0.6/libmp3lame_audioenc.a
+lib/avifile-0.6/libmp3lame_audioenc.la
+lib/avifile-0.6/libmp3lame_audioenc.so
+lib/avifile-0.6/libmpeg_audiodec-0.6.so
+lib/avifile-0.6/libmpeg_audiodec-0.6.so.2
+lib/avifile-0.6/libmpeg_audiodec-0.6.so.2.0
+lib/avifile-0.6/libmpeg_audiodec.a
+lib/avifile-0.6/libmpeg_audiodec.la
+lib/avifile-0.6/libmpeg_audiodec.so
+lib/avifile-0.6/libwin32-0.6.so
+lib/avifile-0.6/libwin32-0.6.so.2
+lib/avifile-0.6/libwin32-0.6.so.2.0
+lib/avifile-0.6/libwin32.a
+lib/avifile-0.6/libwin32.la
+lib/avifile-0.6/libwin32.so
+lib/libaviplay-0.6.so
+lib/libaviplay-0.6.so.2
+lib/libaviplay-0.6.so.2.0
+lib/libaviplay.a
+lib/libaviplay.la
+lib/libaviplay.so
+share/avifile-0.6/about.ppm
+share/avifile-0.6/mute.ppm
+share/avifile-0.6/open.ppm
+share/avifile-0.6/pause.ppm
+share/avifile-0.6/play.ppm
+share/avifile-0.6/stop.ppm
+share/avifile-0.6/test.png
+@dirrm share/avifile-0.6
+@dirrm lib/avifile-0.6
+@dirrm include/avifile
diff -r aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/PLIST.qt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/PLIST.qt Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST.qt,v 1.1.1.1 2004/01/26 15:13:03 jmmv Exp $
+bin/avibench
+bin/avicat
+bin/avimake
+bin/aviplay
+bin/avirecompress
+bin/avitype
+lib/avifile-0.6/libmjpeg-0.6.so
+lib/avifile-0.6/libmjpeg-0.6.so.2
+lib/avifile-0.6/libmjpeg-0.6.so.2.0
+lib/avifile-0.6/libmjpeg.a
+lib/avifile-0.6/libmjpeg.la
+lib/avifile-0.6/libmjpeg.so
diff -r aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/buildlink2.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/buildlink2.mk Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/26 15:13:04 jmmv Exp $
+
+.if !defined(AVIFILE_BUILDLINK2_MK)
+AVIFILE_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= avifile
+BUILDLINK_DEPENDS.avifile?= avifile>=0.6.20010814nb4
+BUILDLINK_PKGSRCDIR.avifile?= ../../multimedia/avifile-devel
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.avifile=avifile
+BUILDLINK_PREFIX.avifile_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.avifile= lib/libaviplay.*
+BUILDLINK_FILES.avifile+= lib/avifile-0.6/*
+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 aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/distinfo Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 15:13:04 jmmv Exp $
+
+SHA1 (avifile-0.6.20010814.tar.bz2) = 695227679dd09e9b9d1fb71caf58a9d92204b262
+Size (avifile-0.6.20010814.tar.bz2) = 1067753 bytes
+SHA1 (patch-aa) = b7da74c557f6107d160a06d8215de28fcb8d065a
+SHA1 (patch-ab) = 3cdeb5e5d3c692e00e1b2da72e859b48989eb7f2
+SHA1 (patch-ac) = 82f089b95d1328c5980cb2d543f2eaef41b9862b
diff -r aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/patches/patch-aa Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/26 15:13:04 jmmv Exp $
+
+--- player/main.cpp.orig Thu Aug 9 18:50:55 2001
++++ player/main.cpp
+@@ -15,7 +15,7 @@ Copyright 2000 Eugene Kuznetsov (divx@e
+ #include <floatingpoint.h>
+ #endif
+ #ifdef __NetBSD__
+-#include <machine/ieeefp.h>
++#include <ieeefp.h>
+ #endif
+
+ #include <iostream>
diff -r aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/patches/patch-ab Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 15:13:04 jmmv Exp $
+
+--- samples/qtrecompress/main.cpp.orig Fri Aug 10 02:32:19 2001
++++ samples/qtrecompress/main.cpp
+@@ -6,7 +6,7 @@
+ #include <floatingpoint.h>
+ #endif
+ #ifdef __NetBSD__
+-#include <machine/ieeefp.h>
++#include <ieeefp.h>
+ #endif
+
+ #include <iostream>
diff -r aa28000eb6e7 -r c5ecefa4af5d multimedia/avifile-devel/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/avifile-devel/patches/patch-ac Mon Jan 26 15:13:03 2004 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/01/26 15:13:04 jmmv Exp $
+
+--- avifile-config.in.orig Tue Aug 14 14:51:13 2001
++++ avifile-config.in
+@@ -99,7 +99,12 @@ else
+ fi
+
+ if test "$lib_dir" != "/usr/lib"; then
+- libs="-L$lib_dir @AVIFILE_RLD_FLAGS@ -laviplay"
++ if test -n "@DGA_LDADD@@VM_LDADD@@XV_LDADD@"; then
++ X_LDFLAGS="@X_LDFLAGS@"
++ libs="-L$lib_dir @AVIFILE_RLD_FLAGS@ -laviplay $X_LDFLAGS ${X_LDFLAGS:+-Wl,-rpath,}${X_LDFLAGS#*-L} @DGA_LDADD@ @VM_LDADD@ @XV_LDADD@"
++ else
++ libs="-L$lib_dir @AVIFILE_RLD_FLAGS@ -laviplay"
++ fi
+ else
+ libs="@AVIFILE_RLD_FLAGS@ -laviplay"
+ fi
Home |
Main Index |
Thread Index |
Old Index