pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/avidemux Update to avidemux-2.0.40



details:   https://anonhg.NetBSD.org/pkgsrc/rev/206d096373df
branches:  trunk
changeset: 494696:206d096373df
user:      reed <reed%pkgsrc.org@localhost>
date:      Sat May 28 05:52:18 2005 +0000

description:
Update to avidemux-2.0.40

Numerous releases and fixes since 2.0.18. Most recent changes include:

* miniocr fix : Fix error on decoding some subs.
* xvideco fix : Fix compilation issue.
* ffv1rec fix : Fix compilation issue.
* SSE2 display fix : SSE2 cpu flag display.
* Mplayer resize fix : Caused crash in some case.

* [Filter] Ported Asharp by MarcFD .
* [Filter] Mplayer Eq2 is now completly ported.
* [Cli ] New cli command --rebuild-index.
* [Video ] Accelerated playback selectable in misc/pref.
* [Audio ] Fixed mp3 decoding on low frequency mpeg.
* [Audio ] More tolerant with mpeg audio match codec (it created async in some rare cases).
* [Codec ] Fixed save as huffyuv.
* [Codec ] Fixed save jpeg.
* [Export] Fixed race in mpeg ps export (thanks to T. Rupp).
* [Import] Support mov file starting by skip atom.

See website news for more changes.

I never tested the USE_MMX. And the webpage says the --disable-mmx
has been removed and all x86 stuff is now probed at run time, so
maybe get rid of USE_MMX support for this?

Require gcc 3.0. On NetBSD 1.6.2_STABLE with older gcc received
cc1: Invalid option `-falign-loops=16' and various warnings.

Reworded part of DESCRiption. And this does support divx.

Updated MASTER_SITES.

Removed BUILD_USES_MSGFMT and USE_PKGLOCALEDIR. The locale support
removed and maybe will be readded later according to author.

Use CPPFLAGS instead of CFLAGS to define -DDEVOSSAUDIO, because
"`DEVOSSAUDIO' was not declared in this scope".

Sorted some settings.
Remove the --disable-warnings and the rm:-O3 BUILDLINK_TRANSFORM.
I didn't need them, but maybe on another system they are needed.

Disable faad support since Dolby doesn't allow binary distributions.

Add faac support.

Remove two patches. Disable ARTS using ac_cv_path_ART_CONFIG=no instead.

Just let regular install target install it. (This is slow though.)

Update PLIST. Name this avidemux2 with the two as the author requests.

diffstat:

 multimedia/avidemux/DESCR            |  11 ++++-----
 multimedia/avidemux/Makefile         |  25 +++++++++-------------
 multimedia/avidemux/PLIST            |   4 +-
 multimedia/avidemux/distinfo         |  10 +++-----
 multimedia/avidemux/patches/patch-aa |  40 ------------------------------------
 multimedia/avidemux/patches/patch-ab |  13 -----------
 6 files changed, 21 insertions(+), 82 deletions(-)

diffs (150 lines):

diff -r 9bdbdff4a418 -r 206d096373df multimedia/avidemux/DESCR
--- a/multimedia/avidemux/DESCR Sat May 28 04:17:04 2005 +0000
+++ b/multimedia/avidemux/DESCR Sat May 28 05:52:18 2005 +0000
@@ -1,6 +1,5 @@
-Avidemux is a graphical tool to edit video.  It can open AVI, MPEG, Nuppelvideo
-and BMPs.  Most common codecs are supported (M-JPEG, MPEG, DivX, Xvid, huffyuv,
-WMA, etc.) thanks to libavcodec.  Video can be edited, cut, appended, filtered
-(resize/crop/denoise), and re-encoded to either AVI (DivX/Xvid) or MPEG 1/2.
-
-Note that this package does not support DivX.
+Avidemux is a graphical tool to edit video.  It can open several file
+formats, and various audio and video codecs.  Video can be edited,
+cut, appended, filtered (resize/crop/denoise), and re-encoded. Output
+file formats include Avi, MPEG1/2, MPEG2PS, OGM, and raw stripped audio
+or video.
diff -r 9bdbdff4a418 -r 206d096373df multimedia/avidemux/Makefile
--- a/multimedia/avidemux/Makefile      Sat May 28 04:17:04 2005 +0000
+++ b/multimedia/avidemux/Makefile      Sat May 28 05:52:18 2005 +0000
@@ -1,27 +1,24 @@
-# $NetBSD: Makefile,v 1.13 2005/05/22 20:08:18 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2005/05/28 05:52:18 reed Exp $
 #
 
-DISTNAME=      avidemux-2.0.18
-PKGREVISION=   5
+DISTNAME=      avidemux-2.0.40
 CATEGORIES=    multimedia
-MASTER_SITES=  http://fixounet.free.fr/avidemux/
+MASTER_SITES=  http://download.berlios.de/avidemux/
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 HOMEPAGE=      http://fixounet.free.fr/avidemux/
 COMMENT=       Graphical video editing program
 
-BUILD_USES_MSGFMT=     YES
-
+GCC_REQD=              3.0
 GNU_CONFIGURE=         YES
+USE_LANGUAGES=         c c++
+USE_LIBTOOL=           YES
 USE_TOOLS+=            gmake
-USE_LIBTOOL=           YES
 
-CFLAGS+=               -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
+CPPFLAGS+=             -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
 LDFLAGS+=              ${LIBOSSAUDIO}
-
-CONFIGURE_ARGS+=       --disable-warnings
-
-BUILDLINK_TRANSFORM+=   rm:-O3
+CONFIGURE_ENV+=                ac_cv_path_ART_CONFIG=no
+CONFIGURE_ARGS+=       --disable-faad # Dolby doesn't allow binary distribution
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -40,9 +37,7 @@
 .  endif
 .endif
 
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/avidemux/avidemux2 ${PREFIX}/bin/avidemux
-
+.include "../../audio/faac/buildlink3.mk"
 .include "../../audio/lame/buildlink3.mk"
 .include "../../audio/liba52/buildlink3.mk"
 .include "../../audio/libmad/buildlink3.mk"
diff -r 9bdbdff4a418 -r 206d096373df multimedia/avidemux/PLIST
--- a/multimedia/avidemux/PLIST Sat May 28 04:17:04 2005 +0000
+++ b/multimedia/avidemux/PLIST Sat May 28 05:52:18 2005 +0000
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 12:59:01 jmmv Exp $
-bin/avidemux
+@comment $NetBSD: PLIST,v 1.2 2005/05/28 05:52:18 reed Exp $
+bin/avidemux2
diff -r 9bdbdff4a418 -r 206d096373df multimedia/avidemux/distinfo
--- a/multimedia/avidemux/distinfo      Sat May 28 04:17:04 2005 +0000
+++ b/multimedia/avidemux/distinfo      Sat May 28 05:52:18 2005 +0000
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:24:02 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/05/28 05:52:18 reed Exp $
 
-SHA1 (avidemux-2.0.18.tar.gz) = ce3b6de5bdcade98ea564ec496de4eb370cd5740
-RMD160 (avidemux-2.0.18.tar.gz) = d87442b325b6d67dc3e7f5a243e902a1d1f3b0b9
-Size (avidemux-2.0.18.tar.gz) = 2518712 bytes
-SHA1 (patch-aa) = 441462c537aa8a2205b6c1d9ab160afc34b5c967
-SHA1 (patch-ab) = cb3aa64dfe3d48bca554e5f8bd857152cdfd309c
+SHA1 (avidemux-2.0.40.tar.gz) = 0231cf9e6a42b091bde2d90f5fc5d65fa9b3d06d
+RMD160 (avidemux-2.0.40.tar.gz) = faa76ae78fb60bdb0790174cce591118d03578e0
+Size (avidemux-2.0.40.tar.gz) = 3755632 bytes
diff -r 9bdbdff4a418 -r 206d096373df multimedia/avidemux/patches/patch-aa
--- a/multimedia/avidemux/patches/patch-aa      Sat May 28 04:17:04 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/01/26 12:59:01 jmmv Exp $
-
---- configure.orig     2003-12-18 04:24:04.000000000 +0100
-+++ configure  2003-12-18 04:25:26.000000000 +0100
-@@ -18902,6 +18902,7 @@
-    { (exit 1); exit 1; }; }
- fi
- 
-+if false; then
- 
- echo "$as_me:$LINENO: checking for Divx encode" >&5
- echo $ECHO_N "checking for Divx encode... $ECHO_C" >&6
-@@ -19097,7 +19098,8 @@
- echo "$as_me: WARNING: DIVX support removed until it works on p4" >&2;}
- fi
- 
--
-+fi
-+have_divx="no"
- 
- echo "$as_me:$LINENO: checking for xvid codec" >&5
- echo $ECHO_N "checking for xvid codec... $ECHO_C" >&6
-@@ -19792,7 +19794,7 @@
- 
- fi
- 
--
-+if false; then
- 
- echo "$as_me:$LINENO: checking for Arts audio support" >&5
- echo $ECHO_N "checking for Arts audio support... $ECHO_C" >&6
-@@ -20005,6 +20007,8 @@
-         fi
-         CPPFLAGS=$old_flags
-  fi
-+fi
-+have_arts="no"
- if test "x$have_arts" = "xno"; then
-               ARTS_LIBS=""
-       ARTS_CFLAGS=""
diff -r 9bdbdff4a418 -r 206d096373df multimedia/avidemux/patches/patch-ab
--- a/multimedia/avidemux/patches/patch-ab      Sat May 28 04:17:04 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/03/11 10:53:05 jmmv Exp $
-
---- adm_lavcodec/dsputil.h.orig        2003-09-16 19:52:00.000000000 +0200
-+++ adm_lavcodec/dsputil.h
-@@ -477,7 +477,7 @@ static int name16(void /*MpegEncContext*
-           +name8(s, dst+8+8*stride, src+8+8*stride, stride);\
- }
- 
--#ifndef HAVE_LRINTF
-+#if defined(USE_MMX) && !defined(HAVE_LRINTF)
- /* XXX: add ISOC specific test to avoid specific BSD testing. */
- /* better than nothing implementation. */
- /* btw, rintf() is existing on fbsd too -- alex */



Home | Main Index | Thread Index | Old Index