2008-06-01 04:21:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2008/06/01 08:21:15 sthen Exp $
|
2006-10-19 12:22:06 -04:00
|
|
|
|
2007-09-15 23:24:28 -04:00
|
|
|
COMMENT= free video editor
|
2006-10-19 12:22:06 -04:00
|
|
|
|
2008-03-19 05:21:37 -04:00
|
|
|
V= 2.4.1
|
2006-12-06 11:20:30 -05:00
|
|
|
DISTNAME= avidemux_${V}
|
2008-06-01 04:21:15 -04:00
|
|
|
PKGNAME= avidemux-${V}p1
|
2008-03-19 05:21:37 -04:00
|
|
|
|
2007-02-10 19:56:57 -05:00
|
|
|
CATEGORIES= multimedia
|
2008-03-19 05:21:37 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=avidemux/}
|
2006-10-19 12:22:06 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://fixounet.free.fr/avidemux/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
|
|
PERMIT_PACKAGE_FTP= yes
|
|
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
|
2007-05-31 20:36:43 -04:00
|
|
|
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
2008-03-19 05:21:37 -04:00
|
|
|
Xcomposite Xdamage pcre audiofile esd \
|
2007-06-29 02:19:46 -04:00
|
|
|
Xrender Xv atk-1.0 c cairo expat fontconfig \
|
2007-05-31 20:36:43 -04:00
|
|
|
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 \
|
|
|
|
gthread-2.0 m ogg pango-1.0 pangocairo-1.0 \
|
2008-06-01 04:21:15 -04:00
|
|
|
pangoft2-1.0 pixman-1 png pthread stdc++ z ossaudio
|
2006-10-19 12:22:06 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2008-03-19 05:21:37 -04:00
|
|
|
BUILD_DEPENDS= :autoconf-${AUTOCONF_VERSION}:devel/autoconf/${AUTOCONF_VERSION} \
|
|
|
|
:automake-${AUTOMAKE_VERSION}.*:devel/automake/${AUTOMAKE_VERSION}
|
2006-10-19 12:22:06 -04:00
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
2007-05-31 20:36:43 -04:00
|
|
|
faac::audio/faac \
|
2007-06-29 02:19:46 -04:00
|
|
|
faad.>=1::audio/faad \
|
2008-03-19 05:21:37 -04:00
|
|
|
mp3lame.>=1::audio/lame \
|
2007-05-31 20:36:43 -04:00
|
|
|
vorbis.>=5,vorbisenc.>=2::audio/libvorbis \
|
2006-10-19 12:22:06 -04:00
|
|
|
xml2.>=9::textproc/libxml \
|
|
|
|
xvidcore.>=4::multimedia/xvidcore \
|
2008-03-19 05:21:37 -04:00
|
|
|
x264::multimedia/x264 \
|
|
|
|
artsc.>=1::x11/kde/arts3
|
2006-10-19 12:22:06 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2008-03-19 05:21:37 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
AUTOCONF_VERSION=2.59
|
|
|
|
AUTOMAKE_VERSION=1.8
|
2006-10-19 12:22:06 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libpng" \
|
2008-03-19 05:21:37 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -logg -lm -lz"
|
2006-10-19 12:22:06 -04:00
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
|
|
|
--with-jsapi-include=${LOCALBASE}/include/js \
|
|
|
|
--enable-xv \
|
|
|
|
--with-freetype2 \
|
|
|
|
--with-lame \
|
2006-12-06 11:20:30 -05:00
|
|
|
--with-fontconfig \
|
2006-10-19 12:22:06 -04:00
|
|
|
--with-oss \
|
|
|
|
--with-faac \
|
|
|
|
--with-faad2 \
|
2008-03-19 05:21:37 -04:00
|
|
|
--with-esd \
|
|
|
|
--with-arts \
|
2006-12-06 11:20:30 -05:00
|
|
|
--without-libdca \
|
|
|
|
--without-libsdl \
|
2008-03-19 05:21:37 -04:00
|
|
|
--without-newfaad \
|
|
|
|
--without-aften \
|
|
|
|
--without-qt-dir \
|
|
|
|
--without-qt-includes \
|
|
|
|
--disable-ssse3 \
|
|
|
|
--disable-altivec
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC} && \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
${MAKE_PROGRAM} -f Makefile.dist
|
2006-10-19 12:22:06 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|