diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-01-26 15:13:03 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-01-26 15:13:03 +0000 |
commit | 3f60d14139e20d1e341773196e2a1efb84342c78 (patch) | |
tree | 2624923ba47a4d6d5fc4ca01432905a2312da619 /multimedia | |
parent | c03371fc33056a7e96ef65a6ca7048f683291233 (diff) | |
download | pkgsrc-3f60d14139e20d1e341773196e2a1efb84342c78.tar.gz |
Move avifile-devel to the multimedia category (coming from graphics).
This is version 0.6.20010814nb4.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/avifile-devel/DESCR | 3 | ||||
-rw-r--r-- | multimedia/avifile-devel/Makefile | 75 | ||||
-rw-r--r-- | multimedia/avifile-devel/PLIST | 72 | ||||
-rw-r--r-- | multimedia/avifile-devel/PLIST.qt | 13 | ||||
-rw-r--r-- | multimedia/avifile-devel/buildlink2.mk | 21 | ||||
-rw-r--r-- | multimedia/avifile-devel/distinfo | 7 | ||||
-rw-r--r-- | multimedia/avifile-devel/patches/patch-aa | 13 | ||||
-rw-r--r-- | multimedia/avifile-devel/patches/patch-ab | 13 | ||||
-rw-r--r-- | multimedia/avifile-devel/patches/patch-ac | 18 |
9 files changed, 235 insertions, 0 deletions
diff --git a/multimedia/avifile-devel/DESCR b/multimedia/avifile-devel/DESCR new file mode 100644 index 00000000000..09ed2e9a3df --- /dev/null +++ b/multimedia/avifile-devel/DESCR @@ -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 --git a/multimedia/avifile-devel/Makefile b/multimedia/avifile-devel/Makefile new file mode 100644 index 00000000000..6e1f8a19f5d --- /dev/null +++ b/multimedia/avifile-devel/Makefile @@ -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 +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 --git a/multimedia/avifile-devel/PLIST b/multimedia/avifile-devel/PLIST new file mode 100644 index 00000000000..7af9c1140eb --- /dev/null +++ b/multimedia/avifile-devel/PLIST @@ -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 --git a/multimedia/avifile-devel/PLIST.qt b/multimedia/avifile-devel/PLIST.qt new file mode 100644 index 00000000000..8d4fe90b075 --- /dev/null +++ b/multimedia/avifile-devel/PLIST.qt @@ -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 --git a/multimedia/avifile-devel/buildlink2.mk b/multimedia/avifile-devel/buildlink2.mk new file mode 100644 index 00000000000..96f47c9aa63 --- /dev/null +++ b/multimedia/avifile-devel/buildlink2.mk @@ -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 --git a/multimedia/avifile-devel/distinfo b/multimedia/avifile-devel/distinfo new file mode 100644 index 00000000000..fea4898bd86 --- /dev/null +++ b/multimedia/avifile-devel/distinfo @@ -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 --git a/multimedia/avifile-devel/patches/patch-aa b/multimedia/avifile-devel/patches/patch-aa new file mode 100644 index 00000000000..44bd509be79 --- /dev/null +++ b/multimedia/avifile-devel/patches/patch-aa @@ -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 --git a/multimedia/avifile-devel/patches/patch-ab b/multimedia/avifile-devel/patches/patch-ab new file mode 100644 index 00000000000..aa14205a0bb --- /dev/null +++ b/multimedia/avifile-devel/patches/patch-ab @@ -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 --git a/multimedia/avifile-devel/patches/patch-ac b/multimedia/avifile-devel/patches/patch-ac new file mode 100644 index 00000000000..7635cf42ca5 --- /dev/null +++ b/multimedia/avifile-devel/patches/patch-ac @@ -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 |