Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= avidemux2 |
8 |
PORTNAME= avidemux2 |
9 |
PORTVERSION= 2.0.42 |
9 |
PORTVERSION= 2.1.0 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= multimedia |
10 |
CATEGORIES= multimedia |
12 |
MASTER_SITES= http://fixounet.free.fr/avidemux/ \ |
11 |
MASTER_SITES= http://fixounet.free.fr/avidemux/ \ |
13 |
http://download.berlios.de/avidemux/ |
12 |
http://download.berlios.de/avidemux/ |
Lines 20-25
Link Here
|
20 |
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \ |
19 |
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \ |
21 |
mad.2:${PORTSDIR}/audio/libmad \ |
20 |
mad.2:${PORTSDIR}/audio/libmad \ |
22 |
xml2.5:${PORTSDIR}/textproc/libxml2 |
21 |
xml2.5:${PORTSDIR}/textproc/libxml2 |
|
|
22 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libjs.so:${PORTSDIR}/lang/spidermonkey |
23 |
|
23 |
|
24 |
USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15 |
24 |
USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15 |
25 |
USE_REINPLACE= yes |
25 |
USE_REINPLACE= yes |
Lines 32-43
Link Here
|
32 |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ |
32 |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ |
33 |
PTHREAD_LIBS=${PTHREAD_LIBS} \ |
33 |
PTHREAD_LIBS=${PTHREAD_LIBS} \ |
34 |
PTHREAD_CFLAGS=${PTHREAD_CFLAGS} |
34 |
PTHREAD_CFLAGS=${PTHREAD_CFLAGS} |
35 |
CONFIGURE_ARGS= --disable-warnings |
35 |
CONFIGURE_ARGS= --disable-warnings \ |
|
|
36 |
--with-jsapi-include=${LOCALBASE}/include |
36 |
USE_GMAKE= yes |
37 |
USE_GMAKE= yes |
37 |
OPTIONS= OPTIMIZED_CFLAGS "build with -O3 for lavcodec" off \ |
38 |
OPTIONS= OPTIMIZED_CFLAGS "build with -O3 for lavcodec" off \ |
38 |
FAAC "FAAC (mpeg4/aac encoder)" off \ |
39 |
FAAC "FAAC (mpeg4/aac encoder)" off \ |
39 |
FAAD "FAAD (mpeg4/aac decoder)" off \ |
40 |
FAAD "FAAD (mpeg4/aac decoder)" off \ |
40 |
MPEGENC "MPEG/MJPEG video" off \ |
41 |
X264 "H.264 encoding" off \ |
41 |
A52 "A52 audio" off \ |
42 |
A52 "A52 audio" off \ |
42 |
XVID "Xvid video" off \ |
43 |
XVID "Xvid video" off \ |
43 |
SDL "SDL audio/video framework" off |
44 |
SDL "SDL audio/video framework" off |
Lines 48-53
Link Here
|
48 |
#WITH_SDL= yes |
49 |
#WITH_SDL= yes |
49 |
#.endif |
50 |
#.endif |
50 |
|
51 |
|
|
|
52 |
.if exists(${LOCALBASE}/lib/libx264.so) |
53 |
WITH_X264= yes |
54 |
.endif |
55 |
|
51 |
.if exists(${LOCALBASE}/lib/libfaac.so) |
56 |
.if exists(${LOCALBASE}/lib/libfaac.so) |
52 |
WITH_FAAC= yes |
57 |
WITH_FAAC= yes |
53 |
.endif |
58 |
.endif |
Lines 56-65
Link Here
|
56 |
WITH_FAAD= yes |
61 |
WITH_FAAD= yes |
57 |
.endif |
62 |
.endif |
58 |
|
63 |
|
59 |
.if exists(${LOCALBASE}/bin/mpeg2enc) |
|
|
60 |
WITH_MPEGENC= yes |
61 |
.endif |
62 |
|
63 |
.if exists(${LOCALBASE}/lib/liba52.so.0) |
64 |
.if exists(${LOCALBASE}/lib/liba52.so.0) |
64 |
WITH_A52= yes |
65 |
WITH_A52= yes |
65 |
.endif |
66 |
.endif |
Lines 68-77
Link Here
|
68 |
WITH_XVID= yes |
69 |
WITH_XVID= yes |
69 |
.endif |
70 |
.endif |
70 |
|
71 |
|
71 |
.if defined(WITH_MPEGENC) |
|
|
72 |
RUN_DEPENDS+= mpeg2enc:${PORTSDIR}/multimedia/mjpegtools |
73 |
.endif |
74 |
|
75 |
.if defined(WITH_XVID) |
72 |
.if defined(WITH_XVID) |
76 |
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid |
73 |
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid |
77 |
CONFIGURE_ARGS+= --with-xvid-as-decoder |
74 |
CONFIGURE_ARGS+= --with-xvid-as-decoder |
Lines 91-96
Link Here
|
91 |
|
88 |
|
92 |
.if defined(WITH_FAAD) |
89 |
.if defined(WITH_FAAD) |
93 |
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad |
90 |
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad |
|
|
91 |
.endif |
92 |
|
93 |
.if defined(WITH_X264) |
94 |
LIB_DEPENDS+= x264.1:${PORTSDIR}/multimedia/x264 |
94 |
.endif |
95 |
.endif |
95 |
|
96 |
|
96 |
.if ${OSVERSION} < 500000 |
97 |
.if ${OSVERSION} < 500000 |