Lines 24-29
Link Here
|
24 |
xml2:${PORTSDIR}/textproc/libxml2 |
24 |
xml2:${PORTSDIR}/textproc/libxml2 |
25 |
|
25 |
|
26 |
USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15 aclocal:19:env |
26 |
USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15 aclocal:19:env |
|
|
27 |
USE_GETTEXT= yes |
27 |
USE_X_PREFIX= yes |
28 |
USE_X_PREFIX= yes |
28 |
USE_GNOME= gnomeprefix gnomehack gtk20 |
29 |
USE_GNOME= gnomeprefix gnomehack gtk20 |
29 |
WANT_SDL= yes |
30 |
WANT_SDL= yes |
Lines 36-41
Link Here
|
36 |
CONFIGURE_ARGS= --disable-warnings \ |
37 |
CONFIGURE_ARGS= --disable-warnings \ |
37 |
--with-jsapi-include=${LOCALBASE}/include |
38 |
--with-jsapi-include=${LOCALBASE}/include |
38 |
USE_GMAKE= yes |
39 |
USE_GMAKE= yes |
|
|
40 |
DESKTOP_ENTRIES= Avidemux "Simple video editor" "" "avidemux2" "" false |
39 |
OPTIONS= OPTIMIZED_CFLAGS "build with -O3 for lavcodec" off \ |
41 |
OPTIONS= OPTIMIZED_CFLAGS "build with -O3 for lavcodec" off \ |
40 |
FAAC "FAAC (mpeg4/aac encoder)" off \ |
42 |
FAAC "FAAC (mpeg4/aac encoder)" off \ |
41 |
FAAD "FAAD (mpeg4/aac decoder)" off \ |
43 |
FAAD "FAAD (mpeg4/aac decoder)" off \ |
Lines 104-113
Link Here
|
104 |
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis |
106 |
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis |
105 |
.endif |
107 |
.endif |
106 |
|
108 |
|
107 |
.if ${OSVERSION} < 500000 |
|
|
108 |
BROKEN= does not compile |
109 |
.endif |
110 |
|
111 |
post-extract: |
109 |
post-extract: |
112 |
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ |
110 |
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ |
113 |
${WRKSRC}/avidemux/ADM_mplex/ADM_mplexout.cpp |
111 |
${WRKSRC}/avidemux/ADM_mplex/ADM_mplexout.cpp |
Lines 125-142
Link Here
|
125 |
@${REINPLACE_CMD} "s|-O2|${CFLAGS}|" ${WRKSRC}/configure |
123 |
@${REINPLACE_CMD} "s|-O2|${CFLAGS}|" ${WRKSRC}/configure |
126 |
.if !defined(WITH_OPTIMIZED_CFLAGS) |
124 |
.if !defined(WITH_OPTIMIZED_CFLAGS) |
127 |
@${REINPLACE_CMD} "s|-O3|${CFLAGS}|" ${WRKSRC}/avidemux/ADM_lavcodec/Makefile.am |
125 |
@${REINPLACE_CMD} "s|-O3|${CFLAGS}|" ${WRKSRC}/avidemux/ADM_lavcodec/Makefile.am |
128 |
.endif |
|
|
129 |
.if ${OSVERSION} < 500000 |
130 |
@${REINPLACE_CMD} 's|-falign-loops=16||' ${WRKSRC}/configure \ |
131 |
${WRKSRC}/avidemux/ADM_lavcodec/Makefile.in \ |
132 |
${WRKSRC}/avidemux/ADM_lavcodec/Makefile.in \ |
133 |
${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.in \ |
134 |
${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.am |
135 |
@${REINPLACE_CMD} 's|-msse||' ${WRKSRC}/configure \ |
136 |
${WRKSRC}/avidemux/ADM_lavcodec/Makefile.in \ |
137 |
${WRKSRC}/avidemux/ADM_lavcodec/Makefile.am \ |
138 |
${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.in \ |
139 |
${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.am |
140 |
.endif |
126 |
.endif |
141 |
|
127 |
|
142 |
.include <bsd.port.post.mk> |
128 |
.include <bsd.port.post.mk> |