forked from Lainports/freebsd-ports
Kdenlive is a non-linear video editor for GNU/Linux and FreeBSD, which supports DV, HDV and AVCHD (not complete yet) editing. Kdenlive relies on several other open source projects like FFmpeg and the MLT video framework. It was designed to answer all needs, from basic video editing to semi-professional work. WWW: http://www.kdenlive.org PR: based on ports/129796 Submitted by: Alberto Villa <villa.alberto at gmail.com> Approved by: miwi (mentor)
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: kdenlive
|
|
# Date created: 15 October 2008
|
|
# Whom: Alberto Villa <villa.alberto@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kdenlive
|
|
PORTVERSION= 0.7
|
|
CATEGORIES= multimedia kde
|
|
MASTER_SITES= SFE
|
|
|
|
MAINTAINER= villa.alberto@gmail.com
|
|
COMMENT= A professional quality non-linear video editing suite for KDE
|
|
|
|
LIB_DEPENDS= avformat.1:${PORTSDIR}/multimedia/ffmpeg \
|
|
mlt.1:${PORTSDIR}/multimedia/mlt \
|
|
mlt++.1:${PORTSDIR}/multimedia/mlt++
|
|
|
|
USE_GETTEXT= yes
|
|
USE_KDE4= automoc4 kdehier kdelibs kdeprefix sharedmime
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= dbus gui network svg xml \
|
|
moc_build qmake_build rcc_build uic_build
|
|
USE_CMAKE= yes
|
|
CMAKE_ARGS= -DNO_JOGSHUTTLE:BOOL=On
|
|
|
|
PORTDOCS= AUTHORS COPYING INSTALL README
|
|
|
|
OPTIONS= LADSPA "Install LADSPA plugins" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.ifdef(WITH_LADSPA)
|
|
RUN_DEPENDS+= swhplugins>=0:${PORTSDIR}/audio/swhplugins
|
|
.endif
|
|
|
|
post-patch:
|
|
# prevent updating mime during build
|
|
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
|
|
${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
|
|
|
|
post-install:
|
|
@-update-mime-database ${KDE4_PREFIX}/share/mime
|
|
.ifndef(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|