2009-01-29 20:04:07 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= kdenlive
|
2014-10-02 16:57:41 +02:00
|
|
|
PORTVERSION= 0.9.10
|
2016-12-11 16:22:47 +01:00
|
|
|
PORTREVISION= 1
|
2009-01-29 20:04:07 +01:00
|
|
|
CATEGORIES= multimedia kde
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src/
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2010-01-26 23:53:08 +01:00
|
|
|
MAINTAINER= avilla@FreeBSD.org
|
2011-11-02 03:40:35 +01:00
|
|
|
COMMENT= KDE professional quality non-linear video editing suite
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2010-10-01 15:22:52 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libmlt.so:multimedia/mlt \
|
|
|
|
libqjson.so:devel/qjson
|
|
|
|
RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX}
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2016-08-24 10:20:31 +02:00
|
|
|
USES= cmake kde:4 pkgconfig shared-mime-info tar:bzip2
|
|
|
|
USE_KDE= automoc4 kdelibs nepomuk-core
|
2014-10-02 16:57:41 +02:00
|
|
|
USE_QT4= corelib dbus gui opengl script svg xml \
|
2009-01-29 20:04:07 +01:00
|
|
|
moc_build qmake_build rcc_build uic_build
|
2011-11-02 03:40:35 +01:00
|
|
|
USE_XORG= x11
|
2013-06-07 16:36:48 +02:00
|
|
|
CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}"
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2013-06-07 16:36:48 +02:00
|
|
|
# Keep in sync with multimedia/mlt, possibly.
|
2014-09-24 03:14:40 +02:00
|
|
|
FFMPEG_SUFX= # Currently empty.
|
2013-06-07 16:36:48 +02:00
|
|
|
|
2014-10-02 16:57:41 +02:00
|
|
|
OPTIONS_DEFINE= DOCS DVDWIZARD FREI0R LADSPA NLS SCREENCAST V4L XINE
|
2014-09-24 03:14:40 +02:00
|
|
|
OPTIONS_DEFAULT=DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE
|
|
|
|
OPTIONS_SUB= yes
|
2012-07-18 14:50:13 +02:00
|
|
|
|
2013-06-07 16:36:48 +02:00
|
|
|
DVDWIZARD_DESC= DVD authoring via DVDAuthor and cdrtools
|
|
|
|
SCREENCAST_DESC=Screen capture support via recordMyDesktop
|
2014-10-02 16:57:41 +02:00
|
|
|
V4L_DESC= Webcam support via Video4Linux
|
2013-06-07 16:36:48 +02:00
|
|
|
XINE_DESC= DVD preview support via xine
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2014-10-02 16:57:41 +02:00
|
|
|
DOCS_CMAKE_OFF= -DBUILD_doc:BOOL=FALSE
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
DVDWIZARD_RUN_DEPENDS= dvdauthor:multimedia/dvdauthor \
|
|
|
|
cdrecord:sysutils/cdrtools
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins
|
2009-06-15 12:23:04 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins
|
2009-05-08 23:43:21 +02:00
|
|
|
|
2014-09-24 03:14:40 +02:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
SCREENCAST_RUN_DEPENDS= recordmydesktop:multimedia/recordmydesktop
|
2012-06-01 08:49:29 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l
|
|
|
|
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
|
2014-09-24 03:14:40 +02:00
|
|
|
V4L_CMAKE_OFF= -DWITH_LibV4L2:BOOL=FALSE
|
2009-05-01 23:40:07 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
XINE_RUN_DEPENDS= xine:multimedia/xine
|
2011-11-02 03:40:35 +01:00
|
|
|
|
2009-01-29 20:04:07 +01:00
|
|
|
post-patch:
|
2013-06-07 16:36:48 +02:00
|
|
|
@${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/ d' \
|
2014-10-02 16:57:41 +02:00
|
|
|
-e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \
|
2009-07-07 09:50:54 +02:00
|
|
|
${PATCH_WRKSRC}/data/CMakeLists.txt
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2011-11-02 03:40:35 +01:00
|
|
|
.include <bsd.port.mk>
|