Changeset View
Changeset View
Standalone View
Standalone View
multimedia/kdenlive/Makefile
| # $FreeBSD$ | # $FreeBSD$ | ||||
| PORTNAME= kdenlive | PORTNAME= kdenlive | ||||
| PORTVERSION= 0.9.10 | PORTVERSION= 17.04.2 | ||||
tcberner: Instead of
```
PORTVERSION= 17.04.2
CATEGORIES= multimedia kde
MASTER_SITES=… | |||||
tcbernerAuthorUnsubmitted Not Done Inline ActionsOf course you neeed PORTVERSION=${KDE_APPLICATIONS_VERSION} too tcberner: Of course you neeed `PORTVERSION=${KDE_APPLICATIONS_VERSION}` too | |||||
| PORTREVISION= 3 | |||||
| CATEGORIES= multimedia kde | CATEGORIES= multimedia kde | ||||
| MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src/ | MASTER_SITES= KDE/stable/applications/${PORTVERSION}/src/ | ||||
| MAINTAINER= avilla@FreeBSD.org | MAINTAINER= avilla@FreeBSD.org | ||||
| COMMENT= KDE professional quality non-linear video editing suite | COMMENT= KDE professional quality non-linear video editing suite | ||||
| LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
| LIB_DEPENDS= libmlt.so:multimedia/mlt \ | LIB_DEPENDS= libmlt.so:multimedia/mlt \ | ||||
| libqjson.so:devel/qjson | libqjson.so:devel/qjson | ||||
| RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \ | RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \ | ||||
| ${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt4 | ${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt5 | ||||
| USES= cmake kde:4 pkgconfig shared-mime-info tar:bzip2 | USES= cmake kde:5 pkgconfig shared-mime-info tar:xz | ||||
| USE_KDE= automoc4 kdelibs nepomuk-core | USE_KDE= archive bookmarks codecs coreaddons config configwidgets \ | ||||
| USE_QT4= corelib dbus gui opengl script svg xml \ | crash dbusaddons doctools filemetadata5 guiaddons i18n \ | ||||
tcbernerAuthorUnsubmitted Not Done Inline ActionsCan you get rid of i18n and only add it via NLS_USE=KDE=i18n ? tcberner: Can you get rid of `i18n` and only add it via `NLS_USE=KDE=i18n` ? | |||||
| moc_build qmake_build rcc_build uic_build | iconthemes kio newstuff notifications notifyconfig \ | ||||
| textwidgets widgetsaddons | |||||
| USE_QT5= core dbus gui buildtools_build network opengl script svg \ | |||||
| widgets xml qmake_build | |||||
| USE_XORG= x11 | USE_XORG= x11 | ||||
| CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}" | CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}" | ||||
| # Keep in sync with multimedia/mlt, possibly. | # Keep in sync with multimedia/mlt, possibly. | ||||
| FFMPEG_SUFX= # Currently empty. | FFMPEG_SUFX= # Currently empty. | ||||
| OPTIONS_DEFINE= DOCS DVDWIZARD FREI0R LADSPA NLS SCREENCAST V4L XINE | OPTIONS_DEFINE= DOCS DVDWIZARD FREI0R LADSPA NLS SCREENCAST V4L XINE | ||||
| OPTIONS_DEFAULT=DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE | OPTIONS_DEFAULT=DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE | ||||
| Show All 19 Lines | |||||
| SCREENCAST_RUN_DEPENDS= recordmydesktop:multimedia/recordmydesktop | SCREENCAST_RUN_DEPENDS= recordmydesktop:multimedia/recordmydesktop | ||||
| V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l | V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l | ||||
| V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat | V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat | ||||
| V4L_CMAKE_OFF= -DWITH_LibV4L2:BOOL=FALSE | V4L_CMAKE_OFF= -DWITH_LibV4L2:BOOL=FALSE | ||||
| XINE_RUN_DEPENDS= xine:multimedia/xine | XINE_RUN_DEPENDS= xine:multimedia/xine | ||||
| post-patch: | post-patch: | ||||
tcbernerAuthorUnsubmitted Not Done Inline ActionsI think @rakuco mentioned to me recently that this should no longer be needed -- as these targets are only ran when the env-var DESTDIR is not set. tcberner: I think @rakuco mentioned to me recently that this should no longer be needed -- as these… | |||||
rakucoUnsubmitted Not Done Inline Actionsrakuco: Yep: https://cgit.kde.org/extra-cmake-modules.git/tree/find-modules/FindSharedMimeInfo.cmake#n99 | |||||
| @${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/ d' \ | @${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/ d' \ | ||||
| -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ | -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ | ||||
| ${PATCH_WRKSRC}/data/CMakeLists.txt | ${PATCH_WRKSRC}/data/CMakeLists.txt | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||
Instead of
PORTVERSION= 17.04.2 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/applications/${PORTVERSION}/src/you could use