2005-12-11 10:40:37 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2005/12/11 09:40:45 wiz Exp $
|
2004-01-26 13:59:01 +01:00
|
|
|
#
|
|
|
|
|
2005-05-28 07:52:18 +02:00
|
|
|
DISTNAME= avidemux-2.0.40
|
2005-12-11 10:40:37 +01:00
|
|
|
PKGREVISION= 1
|
2004-01-26 13:59:01 +01:00
|
|
|
CATEGORIES= multimedia
|
2005-05-28 07:52:18 +02:00
|
|
|
MASTER_SITES= http://download.berlios.de/avidemux/
|
2004-01-26 13:59:01 +01:00
|
|
|
|
2005-05-21 23:43:45 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2004-01-26 13:59:01 +01:00
|
|
|
HOMEPAGE= http://fixounet.free.fr/avidemux/
|
|
|
|
COMMENT= Graphical video editing program
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
GCC_REQD+= 3.0
|
2004-01-26 13:59:01 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2005-05-28 07:52:18 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2004-01-26 13:59:01 +01:00
|
|
|
USE_LIBTOOL= YES
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2004-01-26 13:59:01 +01:00
|
|
|
|
2005-05-28 07:52:18 +02:00
|
|
|
CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
|
2004-01-26 13:59:01 +01:00
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
2005-05-28 07:52:18 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_ART_CONFIG=no
|
|
|
|
CONFIGURE_ARGS+= --disable-faad # Dolby doesn't allow binary distribution
|
2004-03-12 20:59:13 +01:00
|
|
|
|
2005-06-11 18:53:18 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-06-01 20:37:27 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.avidemux
|
2005-06-11 18:53:18 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2005-06-01 20:37:27 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= mmx
|
2005-06-11 18:53:18 +02:00
|
|
|
.endif
|
2005-06-01 20:37:27 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
2004-03-11 11:38:01 +01:00
|
|
|
|
2005-06-01 20:37:27 +02:00
|
|
|
.if empty(PKG_OPTIONS:Mmmx)
|
2004-01-26 13:59:01 +01:00
|
|
|
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
|
|
|
|
|
2005-05-28 07:52:18 +02:00
|
|
|
.include "../../audio/faac/buildlink3.mk"
|
2004-03-12 20:59:13 +01:00
|
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
|
|
.include "../../audio/liba52/buildlink3.mk"
|
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../multimedia/mjpegtools/buildlink3.mk"
|
|
|
|
.include "../../multimedia/xvidcore/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/ossaudio.buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-01-26 13:59:01 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|