aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2018-02-10 18:29:51 +0800
committertcberner <tcberner@FreeBSD.org>2018-02-10 18:29:51 +0800
commit1b974cbd610468940658695a7da297f6b28f66ec (patch)
tree0b032f3e2684e6f49384c70cbee1ccfb5359893d /multimedia
parentdae0d173e25257f39371b5bd29205dee6ef56d0c (diff)
downloadfreebsd-ports-gnome-1b974cbd610468940658695a7da297f6b28f66ec.tar.gz
freebsd-ports-gnome-1b974cbd610468940658695a7da297f6b28f66ec.tar.zst
freebsd-ports-gnome-1b974cbd610468940658695a7da297f6b28f66ec.zip
Rename KDE4 meta ports
This is done for * consistency, * and to simplify the import of the newer KDE Plasma5 desktop and KDE applications Bumps the dependencies. Reviewed by: adridg Differential Revision: https://reviews.freebsd.org/D12979
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile6
-rw-r--r--multimedia/dragon/Makefile2
-rw-r--r--multimedia/k9copy-kde4/Makefile2
-rw-r--r--multimedia/kaffeine/Makefile2
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile23
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs-kde4/distinfo2
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-CMakeLists.txt20
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-kde_rb-126992253
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-descr3
-rw-r--r--multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-plist2
-rw-r--r--multimedia/kdemultimedia-kde4/Makefile39
-rw-r--r--multimedia/kdemultimedia-kde4/pkg-descr3
-rw-r--r--multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile22
-rw-r--r--multimedia/kdemultimedia-mplayerthumbs-kde4/distinfo2
-rw-r--r--multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-descr3
-rw-r--r--multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-plist7
-rw-r--r--multimedia/kdenlive/Makefile2
-rw-r--r--multimedia/kmplayer-kde4/Makefile2
-rw-r--r--multimedia/kplayer-kde4/Makefile2
-rw-r--r--multimedia/subtitlecomposer-kde4/Makefile2
20 files changed, 389 insertions, 10 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 753e81ee21ca..122d7be1ce65 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -163,9 +163,9 @@
SUBDIR += jmref
SUBDIR += k9copy-kde4
SUBDIR += kaffeine
- SUBDIR += kdemultimedia4
- SUBDIR += kdemultimedia4-ffmpegthumbs
- SUBDIR += kdemultimedia4-mplayerthumbs
+ SUBDIR += kdemultimedia-kde4
+ SUBDIR += kdemultimedia-ffmpegthumbs-kde4
+ SUBDIR += kdemultimedia-mplayerthumbs-kde4
SUBDIR += kdenlive
SUBDIR += kf5-kmediaplayer
SUBDIR += kissdx
diff --git a/multimedia/dragon/Makefile b/multimedia/dragon/Makefile
index 1f75ac199f14..3bfcd9545a68 100644
--- a/multimedia/dragon/Makefile
+++ b/multimedia/dragon/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dragon
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia kde kde-kde4
# Avoid clash with devel/dragon
PKGNAMESUFFIX= -player
diff --git a/multimedia/k9copy-kde4/Makefile b/multimedia/k9copy-kde4/Makefile
index 8c6b2fd47291..7c9c5eec1460 100644
--- a/multimedia/k9copy-kde4/Makefile
+++ b/multimedia/k9copy-kde4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= k9copy
PORTVERSION= 2.3.4
-PORTREVISION= 17
+PORTREVISION= 18
CATEGORIES= multimedia kde
MASTER_SITES= LOCAL/rakuco
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
diff --git a/multimedia/kaffeine/Makefile b/multimedia/kaffeine/Makefile
index 630254dd14b9..a4b946c32951 100644
--- a/multimedia/kaffeine/Makefile
+++ b/multimedia/kaffeine/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kaffeine
PORTVERSION= 1.3.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= multimedia kde
MASTER_SITES= SF/kaffeine/current
diff --git a/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile b/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile
new file mode 100644
index 000000000000..9ec58cad846a
--- /dev/null
+++ b/multimedia/kdemultimedia-ffmpegthumbs-kde4/Makefile
@@ -0,0 +1,23 @@
+# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ffmpegthumbs
+PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 5
+CATEGORIES= multimedia kde kde-kde4
+PKGNAMEPREFIX= kdemultimedia-
+PKGNAMESUFFIX= -kde4
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= FFmpeg-based thumbnail generator for video files
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libswscale.so:multimedia/ffmpeg
+
+USES= cmake:outsource kde:4 pkgconfig tar:xz
+USE_KDE= automoc4 kdelibs
+USE_QT4= moc_build qmake_build rcc_build uic_build \
+ corelib dbus gui network svg xml
+
+.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia-ffmpegthumbs-kde4/distinfo b/multimedia/kdemultimedia-ffmpegthumbs-kde4/distinfo
new file mode 100644
index 000000000000..a623e3966879
--- /dev/null
+++ b/multimedia/kdemultimedia-ffmpegthumbs-kde4/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/4.14.3/ffmpegthumbs-4.14.3.tar.xz) = 79f0856b370787ec598a161174e659d7c59bfc53e10601209a181168b50052f1
+SIZE (KDE/4.14.3/ffmpegthumbs-4.14.3.tar.xz) = 20228
diff --git a/multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-CMakeLists.txt b/multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..09fbeb4129cc
--- /dev/null
+++ b/multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
+# Reorder include directories to allow build with multiple ffmpeg installed.
+# This patch must NOT be used, if FFMPEG_INCLUDE_DIRS == ${LOCALBASE}/include
+#
+--- ./CMakeLists.txt.orig 2013-03-01 07:07:31.562142000 +0000
++++ ./CMakeLists.txt 2013-03-06 00:33:28.482362201 +0000
+@@ -7,11 +7,11 @@
+ find_package(FFmpeg COMPONENTS AVCODEC AVFORMAT SWSCALE)
+
+ include_directories(
+- ${KDE4_INCLUDES}
+- ${CMAKE_CURRENT_BINARY_DIR}
++ ${FFMPEG_INCLUDE_DIR}
+ ${PC_AVCODEC_INCLUDEDIR}
+ ${PC_AVFORMAT_INCLUDEDIR}
+- ${FFMPEG_INCLUDE_DIR}
++ ${KDE4_INCLUDES}
++ ${CMAKE_CURRENT_BINARY_DIR}
+ )
+
+ # Certain versions of FFMPEG need this to be defined
diff --git a/multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-kde_rb-126992 b/multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-kde_rb-126992
new file mode 100644
index 000000000000..6364d46c6cff
--- /dev/null
+++ b/multimedia/kdemultimedia-ffmpegthumbs-kde4/files/patch-kde_rb-126992
@@ -0,0 +1,253 @@
+Fix build with ffmpeg>=2.9
+
+Obtained from: https://git.reviewboard.kde.org/r/126992
+
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 48eed64d76f0542327c8dbce9644e5cc898c8cbc..3c761fa584497e6aba9065e195533b1bf8498648 100644
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -27,7 +27,7 @@ set( ffmpegthumbs_PART_SRCS
+
+ kde4_add_plugin(ffmpegthumbs ${ffmpegthumbs_PART_SRCS})
+
+-target_link_libraries(ffmpegthumbs ${KDE4_KIO_LIBS} ${AVUTIL_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVCODEC_LIBRARIES} ${SWSCALE_LIBRARIES} )
++target_link_libraries(ffmpegthumbs ${KDE4_KIO_LIBS} ${AVUTIL_LIBRARIES} ${AVFILTER_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVCODEC_LIBRARIES} ${SWSCALE_LIBRARIES} )
+
+ install(TARGETS ffmpegthumbs DESTINATION ${PLUGIN_INSTALL_DIR})
+
+diff --git a/cmake/FindFFmpeg.cmake b/cmake/FindFFmpeg.cmake
+index 27c6b16de7cfd7514a9a2c273dcd242670248613..915ab5f9f9618c460560342b564963e701a5efd8 100644
+--- cmake/FindFFmpeg.cmake
++++ cmake/FindFFmpeg.cmake
+@@ -99,6 +99,7 @@ if (NOT FFMPEG_LIBRARIES)
+
+ # Check for all possible component.
+ find_component(AVCODEC libavcodec avcodec libavcodec/avcodec.h)
++ find_component(AVFILTER libavfilter avfilter libavfilter/avfilter.h)
+ find_component(AVFORMAT libavformat avformat libavformat/avformat.h)
+ find_component(AVDEVICE libavdevice avdevice libavdevice/avdevice.h)
+ find_component(AVUTIL libavutil avutil libavutil/avutil.h)
+diff --git a/ffmpegthumbnailer/moviedecoder.h b/ffmpegthumbnailer/moviedecoder.h
+index 288892685b6ae6946f158deacab1eeded5745cb6..b4a76b81724dd5956eb2be61ab7470b2ed351a4c 100644
+--- ffmpegthumbnailer/moviedecoder.h
++++ ffmpegthumbnailer/moviedecoder.h
+@@ -23,6 +23,9 @@
+ extern "C" {
+ #include <libavcodec/avcodec.h>
+ #include <libavformat/avformat.h>
++#include <libavfilter/avfilter.h>
++#include <libavfilter/buffersrc.h>
++#include <libavfilter/buffersink.h>
+ }
+
+ namespace ffmpegthumbnailer
+@@ -52,10 +55,14 @@ private:
+
+ bool decodeVideoPacket();
+ bool getVideoPacket();
+- void convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight);
+- void createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, PixelFormat format);
++ void convertAndScaleFrame(AVPixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight);
++ void createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, AVPixelFormat format);
+ void calculateDimensions(int squareSize, bool maintainAspectRatio, int& destWidth, int& destHeight);
+
++ void delete_filter_graph();
++ int init_filter_graph(enum AVPixelFormat pixfmt, int width, int height);
++ int process_filter_graph(AVPicture *dst, const AVPicture *src, enum AVPixelFormat pixfmt, int width, int height);
++
+ private:
+ int m_VideoStream;
+ AVFormatContext* m_pFormatContext;
+@@ -68,6 +75,13 @@ private:
+ bool m_FormatContextWasGiven;
+ bool m_AllowSeek;
+ bool m_initialized;
++ AVFilterContext* m_buffersink_ctx;
++ AVFilterContext* m_buffersrc_ctx;
++ AVFilterGraph* m_filter_graph;
++ AVFrame* m_filter_frame;
++ int m_last_width;
++ int m_last_height;
++ enum AVPixelFormat m_last_pixfmt;
+ };
+
+ }
+diff --git a/ffmpegthumbnailer/moviedecoder.cpp b/ffmpegthumbnailer/moviedecoder.cpp
+index c8ae6d1acd2876cabb5c0594b52f676486be707e..59ae79480575f2394d1f1b7d6dceb5daa7d6e4b7 100644
+--- ffmpegthumbnailer/moviedecoder.cpp
++++ ffmpegthumbnailer/moviedecoder.cpp
+@@ -51,6 +51,9 @@ MovieDecoder::~MovieDecoder()
+
+ void MovieDecoder::initialize(const QString& filename)
+ {
++ m_last_width = -1;
++ m_last_height = -1;
++ m_last_pixfmt = AV_PIX_FMT_NONE;
+ av_register_all();
+ avcodec_register_all();
+
+@@ -67,7 +70,7 @@ void MovieDecoder::initialize(const QString& filename)
+ }
+
+ initializeVideo();
+- m_pFrame = avcodec_alloc_frame();
++ m_pFrame = av_frame_alloc();
+
+ if (m_pFrame) {
+ m_initialized=true;
+@@ -82,6 +85,7 @@ bool MovieDecoder::getInitialized()
+
+ void MovieDecoder::destroy()
+ {
++ delete_filter_graph();
+ if (m_pVideoCodecContext) {
+ avcodec_close(m_pVideoCodecContext);
+ m_pVideoCodecContext = NULL;
+@@ -99,7 +103,7 @@ void MovieDecoder::destroy()
+ }
+
+ if (m_pFrame) {
+- av_free(m_pFrame);
++ av_frame_free(&m_pFrame);
+ m_pFrame = NULL;
+ }
+
+@@ -239,7 +243,7 @@ bool MovieDecoder::decodeVideoPacket()
+ return false;
+ }
+
+- avcodec_get_frame_defaults(m_pFrame);
++ av_frame_unref(m_pFrame);
+
+ int frameFinished = 0;
+
+@@ -283,15 +287,83 @@ bool MovieDecoder::getVideoPacket()
+ return frameDecoded;
+ }
+
++void MovieDecoder::delete_filter_graph() {
++ if (m_filter_graph) {
++ av_frame_free(&m_filter_frame);
++ avfilter_graph_free(&m_filter_graph);
++ }
++}
++
++int MovieDecoder::init_filter_graph(enum AVPixelFormat pixfmt, int width, int height) {
++ AVFilterInOut *inputs = NULL, *outputs = NULL;
++ char args[512];
++ int res;
++
++ delete_filter_graph();
++ m_filter_graph = avfilter_graph_alloc();
++ snprintf(args, sizeof(args),
++ "buffer=video_size=%dx%d:pix_fmt=%d:time_base=1/1:pixel_aspect=0/1[in];"
++ "[in]yadif[out];"
++ "[out]buffersink",
++ width, height, pixfmt);
++ res = avfilter_graph_parse2(m_filter_graph, args, &inputs, &outputs);
++ if (res < 0)
++ return res;
++ if(inputs || outputs)
++ return -1;
++ res = avfilter_graph_config(m_filter_graph, NULL);
++ if (res < 0)
++ return res;
++
++ m_buffersrc_ctx = avfilter_graph_get_filter(m_filter_graph, "Parsed_buffer_0");
++ m_buffersink_ctx = avfilter_graph_get_filter(m_filter_graph, "Parsed_buffersink_2");
++ if (!m_buffersrc_ctx || !m_buffersink_ctx)
++ return -1;
++ m_filter_frame = av_frame_alloc();
++ m_last_width = width;
++ m_last_height = height;
++ m_last_pixfmt = pixfmt;
++
++ return 0;
++}
++
++int MovieDecoder::process_filter_graph(AVPicture *dst, const AVPicture *src,
++ enum AVPixelFormat pixfmt, int width, int height) {
++ int res;
++
++ if (!m_filter_graph || width != m_last_width ||
++ height != m_last_height || pixfmt != m_last_pixfmt) {
++ res = init_filter_graph(pixfmt, width, height);
++ if (res < 0)
++ return res;
++ }
++
++ memcpy(m_filter_frame->data, src->data, sizeof(src->data));
++ memcpy(m_filter_frame->linesize, src->linesize, sizeof(src->linesize));
++ m_filter_frame->width = width;
++ m_filter_frame->height = height;
++ m_filter_frame->format = pixfmt;
++ res = av_buffersrc_add_frame(m_buffersrc_ctx, m_filter_frame);
++ if (res < 0)
++ return res;
++ res = av_buffersink_get_frame(m_buffersink_ctx, m_filter_frame);
++ if (res < 0)
++ return res;
++ av_picture_copy(dst, (const AVPicture *) m_filter_frame, pixfmt, width, height);
++ av_frame_unref(m_filter_frame);
++
++ return 0;
++}
++
+ void MovieDecoder::getScaledVideoFrame(int scaledSize, bool maintainAspectRatio, VideoFrame& videoFrame)
+ {
+ if (m_pFrame->interlaced_frame) {
+- avpicture_deinterlace((AVPicture*) m_pFrame, (AVPicture*) m_pFrame, m_pVideoCodecContext->pix_fmt,
++ process_filter_graph((AVPicture*) m_pFrame, (AVPicture*) m_pFrame, m_pVideoCodecContext->pix_fmt,
+ m_pVideoCodecContext->width, m_pVideoCodecContext->height);
+ }
+
+ int scaledWidth, scaledHeight;
+- convertAndScaleFrame(PIX_FMT_RGB24, scaledSize, maintainAspectRatio, scaledWidth, scaledHeight);
++ convertAndScaleFrame(AV_PIX_FMT_RGB24, scaledSize, maintainAspectRatio, scaledWidth, scaledHeight);
+
+ videoFrame.width = scaledWidth;
+ videoFrame.height = scaledHeight;
+@@ -302,7 +374,7 @@ void MovieDecoder::getScaledVideoFrame(int scaledSize, bool maintainAspectRatio,
+ memcpy((&(videoFrame.frameData.front())), m_pFrame->data[0], videoFrame.lineSize * videoFrame.height);
+ }
+
+-void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
++void MovieDecoder::convertAndScaleFrame(AVPixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
+ {
+ calculateDimensions(scaledSize, maintainAspectRatio, scaledWidth, scaledHeight);
+ SwsContext* scaleContext = sws_getContext(m_pVideoCodecContext->width, m_pVideoCodecContext->height,
+@@ -323,7 +395,7 @@ void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool
+ convertedFrame->data, convertedFrame->linesize);
+ sws_freeContext(scaleContext);
+
+- av_free(m_pFrame);
++ av_frame_free(&m_pFrame);
+ av_free(m_pFrameBuffer);
+
+ m_pFrame = convertedFrame;
+@@ -355,9 +427,9 @@ void MovieDecoder::calculateDimensions(int squareSize, bool maintainAspectRatio,
+ }
+ }
+
+-void MovieDecoder::createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, PixelFormat format)
++void MovieDecoder::createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, AVPixelFormat format)
+ {
+- *avFrame = avcodec_alloc_frame();
++ *avFrame = av_frame_alloc();
+
+ int numBytes = avpicture_get_size(format, width, height);
+ *frameBuffer = reinterpret_cast<quint8*>(av_malloc(numBytes));
+diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
+index 1728fcdd14b699b8f4d7e9a9ffcd8ddc11f495c6..b46169a6274af3e75bd303434a6ce82c928875a0 100644
+--- tests/CMakeLists.txt
++++ tests/CMakeLists.txt
+@@ -19,7 +19,7 @@ set(ffmpegthumbtest_SRCS ffmpegthumbtest.cpp
+
+ kde4_add_executable(ffmpegthumbtest ${ffmpegthumbtest_SRCS} )
+
+-target_link_libraries(ffmpegthumbtest ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} ${AVUTIL_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVCODEC_LIBRARIES} ${SWSCALE_LIBRARIES})
++target_link_libraries(ffmpegthumbtest ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} ${AVUTIL_LIBRARIES} ${AVFILTER_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVCODEC_LIBRARIES} ${SWSCALE_LIBRARIES})
+
+
+
diff --git a/multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-descr b/multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-descr
new file mode 100644
index 000000000000..dea3186af989
--- /dev/null
+++ b/multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-descr
@@ -0,0 +1,3 @@
+ffmpeg-based thumbnail creator for video files.
+
+WWW: http://www.kde.org/
diff --git a/multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-plist b/multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-plist
new file mode 100644
index 000000000000..812a259d967c
--- /dev/null
+++ b/multimedia/kdemultimedia-ffmpegthumbs-kde4/pkg-plist
@@ -0,0 +1,2 @@
+lib/kde4/ffmpegthumbs.so
+share/kde4/services/ffmpegthumbs.desktop
diff --git a/multimedia/kdemultimedia-kde4/Makefile b/multimedia/kdemultimedia-kde4/Makefile
new file mode 100644
index 000000000000..bbe17c307b75
--- /dev/null
+++ b/multimedia/kdemultimedia-kde4/Makefile
@@ -0,0 +1,39 @@
+# Created by: Martin Wilke <miwi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= kdemultimedia
+PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 2
+CATEGORIES= multimedia kde
+PKGNAMESUFFIX= -kde4
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE Multimedia applications (meta port)
+
+USES= kde:4 metaport
+
+OPTIONS_DEFINE= DRAGON FFMPEG JUK KIO_AUDIOCD KMIX KSCD MPLAYER
+OPTIONS_DEFAULT= DRAGON FFMPEG JUK KIO_AUDIOCD KMIX KSCD
+
+DRAGON_DESC= Simple video player
+DRAGON_RUN_DEPENDS= ${KDE_PREFIX}/bin/dragon:multimedia/dragon
+
+FFMPEG_DESC= FFMPEG-based video thumbnailer
+FFMPEG_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/ffmpegthumbs.so:multimedia/kdemultimedia-ffmpegthumbs-kde4
+
+JUK_DESC= Audio player
+JUK_RUN_DEPENDS= ${KDE_PREFIX}/bin/juk:audio/juk
+
+KIO_AUDIOCD_DESC= Audio CD IOSlave
+KIO_AUDIOCD_RUN_DEPENDS= ${KDE_PREFIX}/lib/libaudiocdplugins.so:audio/kio-audiocd
+
+KMIX_DESC= Audio mixer
+KMIX_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmix:audio/kmix
+
+KSCD_DESC= CD Player
+KSCD_RUN_DEPENDS= ${KDE_PREFIX}/bin/kscd:audio/kscd
+
+MPLAYER_DESC= MPlayer-based video thumbnailer
+MPLAYER_RUN_DEPENDS= ${KDE_PREFIX}/bin/mplayerthumbsconfig:multimedia/kdemultimedia-mplayerthumbs-kde4
+
+.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia-kde4/pkg-descr b/multimedia/kdemultimedia-kde4/pkg-descr
new file mode 100644
index 000000000000..af1709e61978
--- /dev/null
+++ b/multimedia/kdemultimedia-kde4/pkg-descr
@@ -0,0 +1,3 @@
+Multimedia tools for KDE4.
+
+WWW: http://multimedia.kde.org
diff --git a/multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile b/multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile
new file mode 100644
index 000000000000..57485d1baa35
--- /dev/null
+++ b/multimedia/kdemultimedia-mplayerthumbs-kde4/Makefile
@@ -0,0 +1,22 @@
+# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mplayerthumbs
+PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 2
+CATEGORIES= multimedia kde kde-kde4
+PKGNAMEPREFIX= kdemultimedia-
+PKGNAMESUFIFX= -kde4
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= MPlayer-based thumbnail generator for video files
+
+LICENSE= LGPL21
+
+RUN_DEPENDS= mplayer:multimedia/mplayer
+
+USES= cmake:outsource kde:4 tar:xz
+USE_KDE= automoc4 kdelibs
+USE_QT4= phonon moc_build qmake_build rcc_build uic_build
+
+.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia-mplayerthumbs-kde4/distinfo b/multimedia/kdemultimedia-mplayerthumbs-kde4/distinfo
new file mode 100644
index 000000000000..77f868903219
--- /dev/null
+++ b/multimedia/kdemultimedia-mplayerthumbs-kde4/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/4.14.3/mplayerthumbs-4.14.3.tar.xz) = bb8874352fe8ca987f6c108b98c63e1a5f81f9720ec3b18b3b951fa82a08367e
+SIZE (KDE/4.14.3/mplayerthumbs-4.14.3.tar.xz) = 27188
diff --git a/multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-descr b/multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-descr
new file mode 100644
index 000000000000..c2072370c86f
--- /dev/null
+++ b/multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-descr
@@ -0,0 +1,3 @@
+MPlayer-based thumbnail generator for video files.
+
+WWW: http://www.kde.org/
diff --git a/multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-plist b/multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-plist
new file mode 100644
index 000000000000..e7ef014077d1
--- /dev/null
+++ b/multimedia/kdemultimedia-mplayerthumbs-kde4/pkg-plist
@@ -0,0 +1,7 @@
+bin/mplayerthumbsconfig
+lib/kde4/videopreview.so
+share/apps/videothumbnail/sprocket-large.png
+share/apps/videothumbnail/sprocket-medium.png
+share/apps/videothumbnail/sprocket-small.png
+share/config.kcfg/mplayerthumbs.kcfg
+share/kde4/services/videopreview.desktop
diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile
index 7a7b509e71c7..fb4cdd8f0fca 100644
--- a/multimedia/kdenlive/Makefile
+++ b/multimedia/kdenlive/Makefile
@@ -2,7 +2,7 @@
PORTNAME= kdenlive
PORTVERSION= 0.9.10
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src/
diff --git a/multimedia/kmplayer-kde4/Makefile b/multimedia/kmplayer-kde4/Makefile
index cb69c9e9cc59..6c4eb555d79e 100644
--- a/multimedia/kmplayer-kde4/Makefile
+++ b/multimedia/kmplayer-kde4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kmplayer
PORTVERSION= 0.11.5b
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 3
CATEGORIES= multimedia audio kde
PKGNAMESUFFIX= -kde4
diff --git a/multimedia/kplayer-kde4/Makefile b/multimedia/kplayer-kde4/Makefile
index 2982b13dd8e5..bef63a915cfe 100644
--- a/multimedia/kplayer-kde4/Makefile
+++ b/multimedia/kplayer-kde4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kplayer
PORTVERSION= 0.7
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= multimedia kde
MASTER_SITES= SF
diff --git a/multimedia/subtitlecomposer-kde4/Makefile b/multimedia/subtitlecomposer-kde4/Makefile
index 17bf46f8e70f..8f7be3b3f573 100644
--- a/multimedia/subtitlecomposer-kde4/Makefile
+++ b/multimedia/subtitlecomposer-kde4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= subtitlecomposer
PORTVERSION= 0.5.7
DISTVERSIONPREFIX= v
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= multimedia kde
MAINTAINER= ports@FreeBSD.org