4f12f3b178
- Split x264 into two ports: the CLI application (x264), and the library (libx264). This will allow x264 to use lavf and friends from ffmpeg for decoding and demuxing while preventing a circular dependency between the two: x264 can depend on ffmpeg, but ffmpeg will depend on libx264 rather than x264. - Add the LAVF option to the CLI port, making the dependency on ffmpeg optional. - Update to 0.142.2455. - Amend fixes to local patches so that they can apply to the new upstream files. - Provide the git revision and other version information to the build environment, allowing the CLI binary to display this information (like the Windows builds). - Remove unsupported build options (X11_OUTPUT). - Ensure that the library and CLI ports each have the appropriate options. - Add notes for future contributors who wish to update the ports. - Bump PORTREVISION for all dependent ports. PR: 187805 Differential Revision: https://reviews.freebsd.org/D1159 Submitted by: Andrew Berg <aberg010@my.hennepintech.edu> Approved by: koobs (maintainer, mentor)
45 lines
1.7 KiB
Makefile
45 lines
1.7 KiB
Makefile
# Created by: Anish Mistry (with help from mean)
|
|
# $FreeBSD$
|
|
# assuming freebsd always has 16 byte aligned malloc as macos does. is this true?
|
|
# nls files not getting installed with nls=on. are they getting built?
|
|
# sync port options with current software options
|
|
|
|
PORTNAME= avidemux26
|
|
PORTVERSION= ${AVIDEMUX2_VERSION}
|
|
PORTREVISION= 3
|
|
CATEGORIES= multimedia
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Simple GUI based video editor
|
|
|
|
.include "${.CURDIR}/Makefile.common"
|
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux_core
|
|
|
|
post-configure: post-configure-common
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MQT4}
|
|
@${MKDIR} "${STAGEDIR}${DATADIR}"
|
|
${INSTALL_DATA} "${WRKSRC}/avidemux_icon.png" "${STAGEDIR}${DATADIR}/${PORTNAME}.png"
|
|
@${ECHO_CMD} "${DATADIR_REL}/${PORTNAME}.png" >> ${TMPPLIST}
|
|
@${ECHO_CMD} "@unexec ${RMDIR} %D/${DATADIR_REL} 2>/dev/null || ${TRUE}" >> ${TMPPLIST}
|
|
@${ECHO_CMD} "@cwd ${DESKTOPDIR}" >> ${TMPPLIST}
|
|
.if ${PORT_OPTIONS:MGTK3}
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%DATADIR%%|${DATADIR}|g" \
|
|
-e "s|%%NAME%%|${PORTNAME}|g" -e "s|%%API%%|gtk|g" \
|
|
< ${FILESDIR}/avidemux2.desktop.in > ${WRKDIR}/${PORTNAME}.desktop
|
|
${INSTALL_DATA} "${WRKDIR}/${PORTNAME}.desktop" "${STAGEDIR}${DESKTOPDIR}"
|
|
@${ECHO_CMD} "${PORTNAME}.desktop" >> ${TMPPLIST}
|
|
.endif
|
|
.if ${PORT_OPTIONS:MQT4}
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%DATADIR%%|${DATADIR}|g" \
|
|
-e "s|%%NAME%%|${PORTNAME}|g" -e "s|%%API%%|qt4|g" \
|
|
< ${FILESDIR}/avidemux2.desktop.in > ${WRKDIR}/${PORTNAME}_qt4.desktop
|
|
${INSTALL_DATA} "${WRKDIR}/${PORTNAME}_qt4.desktop" "${STAGEDIR}${DESKTOPDIR}"
|
|
@${ECHO_CMD} "${PORTNAME}_qt4.desktop" >> ${TMPPLIST}
|
|
.endif
|
|
@${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|