summaryrefslogtreecommitdiff
path: root/multimedia/avidemux
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-01-26 12:59:01 +0000
committerjmmv <jmmv@pkgsrc.org>2004-01-26 12:59:01 +0000
commit4d09ecc129795143cc765ac0810532452f4db4c2 (patch)
tree027a09db0851c80fcddda2fac691f6a6d61143d8 /multimedia/avidemux
parentd4cffb6c356bf8c25fa6e5f32ebf6f026bcdefb2 (diff)
downloadpkgsrc-4d09ecc129795143cc765ac0810532452f4db4c2.tar.gz
Move avidemux to the multimedia category (coming from graphics).
This is version 2.0.18nb2.
Diffstat (limited to 'multimedia/avidemux')
-rw-r--r--multimedia/avidemux/DESCR6
-rw-r--r--multimedia/avidemux/Makefile58
-rw-r--r--multimedia/avidemux/PLIST2
-rw-r--r--multimedia/avidemux/distinfo5
-rw-r--r--multimedia/avidemux/patches/patch-aa40
5 files changed, 111 insertions, 0 deletions
diff --git a/multimedia/avidemux/DESCR b/multimedia/avidemux/DESCR
new file mode 100644
index 00000000000..40b12bc3acb
--- /dev/null
+++ b/multimedia/avidemux/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/multimedia/avidemux/Makefile b/multimedia/avidemux/Makefile
new file mode 100644
index 00000000000..44a7e90146f
--- /dev/null
+++ b/multimedia/avidemux/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 12:59:01 jmmv Exp $
+#
+
+DISTNAME= avidemux-2.0.18
+PKGREVISION= 2
+CATEGORIES= multimedia
+MASTER_SITES= http://fixounet.free.fr/avidemux/
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://fixounet.free.fr/avidemux/
+COMMENT= Graphical video editing program
+
+BUILD_USES_MSGFMT= YES
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= YES
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+CFLAGS+= -DDEVOSSAUDIO=\"\\\"${DEVOSSAUDIO}\\\"\"
+LDFLAGS+= ${LIBOSSAUDIO}
+
+CONFIGURE_ARGS+= --disable-warnings
+
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(USE_MMX:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --disable-mmx
+
+post-configure:
+ ${MV} ${WRKSRC}/adm_lavcodec/config.mak \
+ ${WRKSRC}/adm_lavcodec/config.mak.in
+ ${SED} -e 's/TARGET_MMX=yes/TARGET_MMX=no/g' \
+ < ${WRKSRC}/adm_lavcodec/config.mak.in \
+ > ${WRKSRC}/adm_lavcodec/config.mak
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/avidemux/avidemux2 ${PREFIX}/bin/avidemux
+
+.include "../../audio/lame/buildlink2.mk"
+.include "../../audio/liba52/buildlink2.mk"
+.include "../../audio/libmad/buildlink2.mk"
+.include "../../audio/libvorbis/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../multimedia/mjpegtools/buildlink2.mk"
+.include "../../multimedia/xvidcore/buildlink2.mk"
+.include "../../textproc/libxml2/buildlink2.mk"
+.include "../../x11/gtk2/buildlink2.mk"
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
+
+CFLAGS+= -O2 # -O3 won't work properly (according to authors)
diff --git a/multimedia/avidemux/PLIST b/multimedia/avidemux/PLIST
new file mode 100644
index 00000000000..4c45e3ba188
--- /dev/null
+++ b/multimedia/avidemux/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 12:59:01 jmmv Exp $
+bin/avidemux
diff --git a/multimedia/avidemux/distinfo b/multimedia/avidemux/distinfo
new file mode 100644
index 00000000000..07912b8fc3b
--- /dev/null
+++ b/multimedia/avidemux/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/26 12:59:01 jmmv Exp $
+
+SHA1 (avidemux-2.0.18.tar.gz) = ce3b6de5bdcade98ea564ec496de4eb370cd5740
+Size (avidemux-2.0.18.tar.gz) = 2518712 bytes
+SHA1 (patch-aa) = 441462c537aa8a2205b6c1d9ab160afc34b5c967
diff --git a/multimedia/avidemux/patches/patch-aa b/multimedia/avidemux/patches/patch-aa
new file mode 100644
index 00000000000..325765668c0
--- /dev/null
+++ b/multimedia/avidemux/patches/patch-aa
@@ -0,0 +1,40 @@
+$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=""