2009-01-29 20:04:07 +01:00
|
|
|
# New ports collection makefile for: kdenlive
|
|
|
|
# Date created: 15 October 2008
|
|
|
|
# Whom: Alberto Villa <villa.alberto@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= kdenlive
|
2010-10-01 15:22:52 +02:00
|
|
|
PORTVERSION= 0.7.8
|
2009-01-29 20:04:07 +01:00
|
|
|
CATEGORIES= multimedia kde
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2010-01-26 23:53:08 +01:00
|
|
|
MAINTAINER= avilla@FreeBSD.org
|
2009-01-29 20:04:07 +01:00
|
|
|
COMMENT= A professional quality non-linear video editing suite for KDE
|
|
|
|
|
2010-10-01 15:22:52 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
BUILD_DEPENDS= mlt>=0.5.10:${PORTSDIR}/multimedia/mlt
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2009-01-29 20:04:07 +01:00
|
|
|
|
|
|
|
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
|
2009-05-01 23:40:07 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-01-29 20:04:07 +01:00
|
|
|
USE_CMAKE= yes
|
|
|
|
|
2009-05-01 23:40:07 +02:00
|
|
|
MAN1= kdenlive.1 kdenlive_render.1
|
|
|
|
|
2009-07-07 09:50:54 +02:00
|
|
|
OPTIONS= DVD "DVD creation with cdrtools and dvdauthor" on \
|
2009-06-15 12:23:04 +02:00
|
|
|
FREI0R "Frei0r plugins" on \
|
|
|
|
LADSPA "LADSPA plugins" on \
|
2009-05-01 23:40:07 +02:00
|
|
|
SCREENGRAB "Screen capture with recordMyDesktop" on
|
2009-01-29 20:04:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-06-15 12:23:04 +02:00
|
|
|
.ifdef(WITH_DVD)
|
|
|
|
USE_CDRTOOLS= yes
|
|
|
|
RUN_DEPENDS+= dvdauthor:${PORTSDIR}/multimedia/dvdauthor
|
|
|
|
.endif
|
|
|
|
|
2009-05-08 23:43:21 +02:00
|
|
|
.ifdef(WITH_FREI0R)
|
|
|
|
RUN_DEPENDS+= frei0r>=1.1.22:${PORTSDIR}/graphics/frei0r
|
|
|
|
.endif
|
|
|
|
|
2009-01-29 20:04:07 +01:00
|
|
|
.ifdef(WITH_LADSPA)
|
|
|
|
RUN_DEPENDS+= swhplugins>=0:${PORTSDIR}/audio/swhplugins
|
|
|
|
.endif
|
|
|
|
|
2009-05-01 23:40:07 +02:00
|
|
|
.ifdef(WITH_SCREENGRAB)
|
|
|
|
RUN_DEPENDS+= recordmydesktop:${PORTSDIR}/multimedia/recordmydesktop
|
|
|
|
.endif
|
|
|
|
|
2009-01-29 20:04:07 +01:00
|
|
|
post-patch:
|
2009-11-26 15:40:47 +01:00
|
|
|
@${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/d' \
|
2009-07-07 09:50:54 +02:00
|
|
|
${PATCH_WRKSRC}/data/CMakeLists.txt
|
2009-11-26 15:40:47 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
|
2009-01-29 20:04:07 +01:00
|
|
|
${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
|
|
|
|
|
|
|
|
post-install:
|
2009-05-01 23:40:07 +02:00
|
|
|
@-update-mime-database ${PREFIX}/share/mime
|
2009-01-29 20:04:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|