2009-01-29 20:04:07 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= kdenlive
|
2018-04-28 11:43:59 +02:00
|
|
|
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
2020-12-17 13:08:34 +01:00
|
|
|
PORTREVISION= 1
|
2018-04-28 11:43:59 +02:00
|
|
|
CATEGORIES= multimedia kde kde-applications
|
2009-01-29 20:04:07 +01:00
|
|
|
|
2018-04-28 10:37:01 +02:00
|
|
|
MAINTAINER= kde@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
|
|
|
|
|
2019-11-02 21:11:52 +01:00
|
|
|
LIB_DEPENDS= libmlt.so:multimedia/mlt \
|
|
|
|
librttr_core.so:devel/rttr
|
2019-01-20 11:26:48 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
|
|
|
|
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
|
2016-12-28 06:12:46 +01:00
|
|
|
RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \
|
2018-04-28 11:43:59 +02:00
|
|
|
${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt5
|
|
|
|
|
2019-11-02 21:11:52 +01:00
|
|
|
USES= cmake compiler:c++11-lang desktop-file-utils gettext-tools \
|
|
|
|
gl pkgconfig qt:5 shared-mime-info kde:5 tar:xz xorg
|
2018-08-25 07:15:02 +02:00
|
|
|
USE_GL= gl glu
|
|
|
|
USE_KDE= archive attica auth bookmarks codecs completion config \
|
|
|
|
configwidgets coreaddons crash dbusaddons ecm filemetadata \
|
2019-11-02 21:11:52 +01:00
|
|
|
guiaddons i18n iconthemes kio itemviews jobwidgets \
|
|
|
|
kdeclarative newstuff notifications notifyconfig package \
|
|
|
|
service solid sonnet textwidgets widgetsaddons xmlgui \
|
2018-08-25 07:15:02 +02:00
|
|
|
init_run
|
2019-11-02 21:11:52 +01:00
|
|
|
USE_QT= concurrent core dbus declarative gui multimedia network xml \
|
2018-08-25 07:15:02 +02:00
|
|
|
buildtools_build qmake_build \
|
2018-11-04 20:00:53 +01:00
|
|
|
quickcontrols_run script svg webkit widgets
|
2011-11-02 03:40:35 +01:00
|
|
|
USE_XORG= x11
|
2018-04-28 11:43:59 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include # linux/input.h
|
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
|
|
|
|
2019-05-11 20:55:35 +02:00
|
|
|
OPTIONS_DEFINE= DVDWIZARD FILESHARE FREI0R LADSPA SCREENCAST V4L XINE DOCS
|
2020-12-17 13:08:34 +01:00
|
|
|
OPTIONS_DEFAULT=DVDWIZARD FILESHARE FREI0R LADSPA SCREENCAST V4L XINE
|
2014-09-24 03:14:40 +02:00
|
|
|
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
|
2019-05-11 20:55:35 +02:00
|
|
|
FILESHARE_DESC= Common KF5 filesharing support
|
2013-06-07 16:36:48 +02:00
|
|
|
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
|
|
|
|
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
|
|
|
|
2019-05-11 20:55:35 +02:00
|
|
|
FILESHARE_USE= KDE=purpose
|
|
|
|
FILESHARE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Purpose
|
|
|
|
|
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
|
|
|
|
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
|
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
|
2018-08-25 07:15:02 +02:00
|
|
|
|
2009-01-29 20:04:07 +01:00
|
|
|
post-patch:
|
2018-04-28 11:43:59 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \
|
|
|
|
-e '/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>
|