mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
Add multimedia/avidemux2, a simple video editor that is built around Xvid
and ffmpeg. Contains various filters for deinterlacing, cropping, resizing, etc. Allows for cutting without re-encoding. Has the ability to re-encode and re-sample. PR: ports/51013 Submitted by: Anish Mistry <amistry@am-productions.biz>
This commit is contained in:
parent
c63ee8632e
commit
b57b7946af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94881
92
multimedia/avidemux2/Makefile
Normal file
92
multimedia/avidemux2/Makefile
Normal file
@ -0,0 +1,92 @@
|
||||
# New ports collection makefile for: avidemux2
|
||||
# Date created: 16 April 2003
|
||||
# Whom: Anish Mistry
|
||||
# with help from mean
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= avidemux2
|
||||
PORTVERSION= 2.0.18
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://fixounet.free.fr/avidemux/
|
||||
DISTNAME= avidemux-2.0.18
|
||||
|
||||
MAINTAINER= amistry@am-productions.biz
|
||||
COMMENT= Simple GUI based video editor
|
||||
|
||||
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
|
||||
mad.1:${PORTSDIR}/audio/mad \
|
||||
freetype.9:${PORTSDIR}/print/freetype2 \
|
||||
gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
|
||||
xml2.5:${PORTSDIR}/textproc/libxml2
|
||||
BUILD_DEPENDS= \
|
||||
${X11BASE}/include/X11/extensions/Xvlib.h:${PORTSDIR}/graphics/xv
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_LIBTOOL= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gnomeprefix gnomehack gtk20
|
||||
USE_GLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
|
||||
-I${LOCALBASE}/include/ffmpeg \
|
||||
-I${LOCALBASE}/include/a52dec" \
|
||||
LIBFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
||||
PTHREAD_LIBS=${PTHREAD_LIBS} \
|
||||
PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
|
||||
CONFIGURE_ARGS= --disable-warnings
|
||||
USE_GMAKE= yes
|
||||
|
||||
.if exists(${LOCALBASE}/bin/mpeg2enc)
|
||||
WITH_MPEGENC= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/liba52.so.0)
|
||||
WITH_A52= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libxvidcore.so.0)
|
||||
WITH_XVID= yes
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_MPEGENC)
|
||||
RUN_DEPENDS+= mpeg2enc:${PORTSDIR}/multimedia/mjpegtools
|
||||
.endif
|
||||
|
||||
.if defined(WITH_XVID)
|
||||
LIB_DEPENDS+= xvidcore.0:${PORTSDIR}/multimedia/xvid
|
||||
CONFIGURE_ARGS+= --with-xvid-as-decoder
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} != "i386"
|
||||
CONFIGURE_ARGS+= --disable-mmx
|
||||
.endif
|
||||
|
||||
.if defined(WITH_A52)
|
||||
LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITH_MPEGENC)
|
||||
@${ECHO_MSG} "To enable mpeg support define WITH_MPEGENC."
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_XVID)
|
||||
@${ECHO_MSG} "To enable xvid as the decoder define WITH_XVID."
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_A52)
|
||||
@${ECHO_MSG} "To enable A/52 support define WITH_A52."
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${TOUCH} ${WRKSRC}/*
|
||||
@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${WRKSRC}/*/*/Makefile
|
||||
post-configure:
|
||||
# @${SH} ${WRKSRC}/buildLavCodec.sh
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
multimedia/avidemux2/distinfo
Normal file
1
multimedia/avidemux2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (avidemux-2.0.18.tar.gz) = 5236a00d4a56b25df2c5f28fa8a40ce8
|
9
multimedia/avidemux2/pkg-descr
Normal file
9
multimedia/avidemux2/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
An simple video editor that is built around Xvid and ffmpeg. Contains
|
||||
various filters for deinterlacing, cropping, resizing, etc. Allows for
|
||||
cutting without re-encoding. Has the ability to re-encode and re-sample.
|
||||
|
||||
WWW: http://fixounet.free.fr/avidemux/
|
||||
|
||||
- Anish Mistry
|
||||
amistry@am-productions.biz
|
||||
AM Productions http://am-productions.biz
|
3
multimedia/avidemux2/pkg-message
Normal file
3
multimedia/avidemux2/pkg-message
Normal file
@ -0,0 +1,3 @@
|
||||
Remove any encore2.h, encore.h, and decore.h that you may have moved to the
|
||||
${PREFIX}/include directory since it may cause the built program to crash
|
||||
when opening a file.
|
1
multimedia/avidemux2/pkg-plist
Normal file
1
multimedia/avidemux2/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/avidemux2
|
Loading…
Reference in New Issue
Block a user