blob: b935bdc8632ee05da88e4788e72b4d61a67e4e0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# $NetBSD: Makefile,v 1.29 2006/04/17 13:46:41 wiz Exp $
#
DISTNAME= avidemux-2.1.1
PKGREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://download.berlios.de/avidemux/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://fixounet.free.fr/avidemux/
COMMENT= Graphical video editing program
GCC_REQD+= 3.0
GNU_CONFIGURE= yes
USE_LANGUAGES+= c++
USE_LIBTOOL= YES
USE_TOOLS+= gmake pkg-config
CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
LIBS+= ${LIBOSSAUDIO}
CONFIGURE_ENV+= ac_cv_path_ART_CONFIG=no
CONFIGURE_ARGS+= --without-newfaad
CONFIGURE_ARGS+= --disable-faad # Dolby doesn't allow binary distribution
CONFIGURE_ARGS+= \
--with-jsapi-include=${BUILDLINK_PREFIX.spidermonkey}/include
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.avidemux
.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS= mmx
.endif
.include "../../mk/bsd.options.mk"
.if empty(PKG_OPTIONS:Mmmx)
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
.include "../../audio/faac/buildlink3.mk"
.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 "../../lang/spidermonkey/buildlink3.mk"
.include "../../multimedia/mjpegtools/buildlink3.mk"
.include "../../multimedia/xvidcore/buildlink3.mk"
.include "../../multimedia/x264-devel/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|