aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-03 08:49:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-03 08:49:49 +0000
commita69d56d5bb782464772f45b61867b8f9a6bb24e9 (patch)
treec491ce3021e4d2e3a240a304a00ad9d0ab67a4cc /multimedia
parent935c2ad0046986ec4e251129bb4267a56276bc61 (diff)
downloadports-a69d56d5bb782464772f45b61867b8f9a6bb24e9.tar.gz
ports-a69d56d5bb782464772f45b61867b8f9a6bb24e9.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kdenlive/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile
index 16a8cfb53c92..8e940a3b2710 100644
--- a/multimedia/kdenlive/Makefile
+++ b/multimedia/kdenlive/Makefile
@@ -6,6 +6,7 @@
PORTNAME= kdenlive
PORTVERSION= 0.7.5
+PORTREVISION= 1
CATEGORIES= multimedia kde
MASTER_SITES= SF
@@ -51,11 +52,15 @@ RUN_DEPENDS+= recordmydesktop:${PORTSDIR}/multimedia/recordmydesktop
.endif
post-patch:
+ # do not install the icon and the menu entry
${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/d' \
${PATCH_WRKSRC}/data/CMakeLists.txt
# prevent updating mime during build
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
+ # avoid a crash when kdenlive_render is not in $PATH
+ ${REINPLACE_CMD} -e 's|QCoreApplication::applicationDirPath()|QStrin g("${PREFIX}/bin")|g' \
+ ${PATCH_WRKSRC}/src/renderwidget.cpp
post-install:
@-update-mime-database ${PREFIX}/share/mime