openbsd-ports/multimedia/avidemux/Makefile
jakemsr 73366c6ce5 - use exact width data types for libfaad interaction
- move libfaad from WANTLIB to LIB_DEPENDS and LIB_DEPEND
  libfaad >= 1.0
- bump PKGNAME

libfaad move from WANTLIB to LIB_DEPENDS OK ajacoutot@ (MAINTAINER)
OK naddy@
2007-06-29 06:19:46 +00:00

63 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2007/06/29 06:19:46 jakemsr Exp $
COMMENT= "free video editor"
V= 2.3.0
DISTNAME= avidemux_${V}
PKGNAME= avidemux-${V}p3
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_BERLIOS:=avidemux/}
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
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender Xv atk-1.0 c cairo expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 \
gthread-2.0 m ogg pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png pthread stdc++ z ossaudio
MODULES= devel/gettext
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
faac::audio/faac \
faad.>=1::audio/faad \
js.>=1::lang/spidermonkey \
mp3lame::audio/lame \
vorbis.>=5,vorbisenc.>=2::audio/libvorbis \
xml2.>=9::textproc/libxml \
xvidcore.>=4::multimedia/xvidcore \
x264::multimedia/x264
USE_X11= Yes
USE_LIBTOOL= Yes
USE_GCC3= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib -logg"
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--with-jsapi-include=${LOCALBASE}/include/js \
--enable-xv \
--with-freetype2 \
--with-lame \
--with-fontconfig \
--with-oss \
--with-faac \
--with-faad2 \
--without-arts \
--without-esd \
--without-libdca \
--without-libsdl \
--without-newfaad
.include <bsd.port.mk>