blob: bd22a3af0b86a7221bf493651c41b3422f56af76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# $FreeBSD$
PORTNAME= kdenlive
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= multimedia kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE professional quality non-linear video editing suite
LICENSE= GPLv2
LIB_DEPENDS= libmlt.so:multimedia/mlt
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \
${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt5
USES= cmake desktop-file-utils gettext-tools pkgconfig \
qt:5 shared-mime-info kde:5 tar:xz
USE_GL= gl glu
USE_KDE= archive attica auth bookmarks codecs completion config \
configwidgets coreaddons crash dbusaddons ecm filemetadata \
guiaddons i18n iconthemes kio itemviews jobwidgets newstuff \
notifications notifyconfig service solid sonnet textwidgets \
widgetsaddons xmlgui \
init_run
USE_QT= concurrent core dbus declarative gui network xml \
buildtools_build qmake_build \
quickcontrols_run script svg webkit widgets
USE_XORG= x11
CFLAGS+= -I${LOCALBASE}/include # linux/input.h
CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}"
# Keep in sync with multimedia/mlt, possibly.
FFMPEG_SUFX= # Currently empty.
OPTIONS_DEFINE= DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE DOCS
OPTIONS_DEFAULT=DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE
OPTIONS_SUB= yes
DVDWIZARD_DESC= DVD authoring via DVDAuthor and cdrtools
SCREENCAST_DESC=Screen capture support via recordMyDesktop
V4L_DESC= Webcam support via Video4Linux
XINE_DESC= DVD preview support via xine
DVDWIZARD_RUN_DEPENDS= dvdauthor:multimedia/dvdauthor \
cdrecord:sysutils/cdrtools
FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins
LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins
SCREENCAST_RUN_DEPENDS= recordmydesktop:multimedia/recordmydesktop
V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l
V4L_CMAKE_OFF= -DWITH_LibV4L2:BOOL=FALSE
XINE_RUN_DEPENDS= xine:multimedia/xine
# kdenlive 19.04 has some issues that still need to be sorted out.
KDE_APPLICATIONS_VERSION= 18.12.3
post-patch:
@${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \
-e '/SharedMimeInfo/ d' \
${PATCH_WRKSRC}/data/CMakeLists.txt
.include <bsd.port.mk>
|