aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-03-27 19:55:25 +0800
committermakc <makc@FreeBSD.org>2013-03-27 19:55:25 +0800
commit4071ff71b938de957201b333e5ab5b90c718c7a6 (patch)
treebcb09269855487369fcfd28040255e86e37e1362 /multimedia
parente847a9821369a4907e8956149272623bd60baa79 (diff)
downloadfreebsd-ports-gnome-4071ff71b938de957201b333e5ab5b90c718c7a6.tar.gz
freebsd-ports-gnome-4071ff71b938de957201b333e5ab5b90c718c7a6.tar.zst
freebsd-ports-gnome-4071ff71b938de957201b333e5ab5b90c718c7a6.zip
KDE/FreeBSD team presents KDE SC 4.10.1 ports!
- kdegames4 port has been split. - kdeutils4-printer-applet and system-config-printer-kde have been replaced by print/kde4-print-manager. - Recover misc/kde4-l10n-mr from attic. - New USE_KDE4 components: kactivities, libkdegames, nepomuk-core, and nepomuk-widgets. - Provide sharedmime component with magic: ports don't need to run update-mime-database themselves now. - Switch some ports to out-of-source build. - Update port comments. - Adjust dependence on Qt4 components. - x11/kde4 installs modern kdepim4 now. - Remove redundant aspell and hspell from kdelibs4, both can be enabled in textproc/enchant if needed. - Remove stale bits from bsd.kde4.mk The area51 repository features commits by Schaich Alonso and myself. Contributors: - Tobias Berner
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dragon/Makefile9
-rw-r--r--multimedia/dragon/distinfo4
-rw-r--r--multimedia/kdemultimedia4-ffmpegthumbs/Makefile13
-rw-r--r--multimedia/kdemultimedia4-ffmpegthumbs/distinfo4
-rw-r--r--multimedia/kdemultimedia4-ffmpegthumbs/files/patch-CMakeLists.txt20
-rw-r--r--multimedia/kdemultimedia4-ffmpegthumbs/files/patch-cmake__FindFFmpeg.cmake45
-rw-r--r--multimedia/kdemultimedia4-mplayerthumbs/Makefile4
-rw-r--r--multimedia/kdemultimedia4-mplayerthumbs/distinfo4
-rw-r--r--multimedia/kdemultimedia4/Makefile2
9 files changed, 87 insertions, 18 deletions
diff --git a/multimedia/dragon/Makefile b/multimedia/dragon/Makefile
index d926df7544fc..d63a2b826b94 100644
--- a/multimedia/dragon/Makefile
+++ b/multimedia/dragon/Makefile
@@ -6,10 +6,10 @@ PORTVERSION= ${KDE4_VERSION}
CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
-DIST_SUBDIR= KDE
+DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
-COMMENT= A KDE multimedia player with a focus on simplicity instead of features
+COMMENT= KDE multimedia player with a focus on simplicity
LICENSE= GPLv2
@@ -17,12 +17,11 @@ LICENSE= GPLv2
LATEST_LINK= kdemultimedia-dragon
CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
-MAKE_JOBS_SAFE= yes
USES= cmake:outsource
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
-USE_QT4= dbus phonon \
- moc_build qmake_build rcc_build uic_build
+USE_QT4= phonon moc_build qmake_build rcc_build uic_build
USE_XZ= yes
+MAKE_JOBS_SAFE= yes
MAN1= dragon.1
diff --git a/multimedia/dragon/distinfo b/multimedia/dragon/distinfo
index ad63b9ecb716..04a9942357f9 100644
--- a/multimedia/dragon/distinfo
+++ b/multimedia/dragon/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/dragon-4.9.5.tar.xz) = a3a23c6b4ced8098240f91837247b1b799fdf3a2a70d157ef10d3b6521d1dadd
-SIZE (KDE/dragon-4.9.5.tar.xz) = 394388
+SHA256 (KDE/4.10.1/dragon-4.10.1.tar.xz) = 7157cea80036db3446e798922d3df46f74a06642451d6d642efa4e778f2bc9be
+SIZE (KDE/4.10.1/dragon-4.10.1.tar.xz) = 395400
diff --git a/multimedia/kdemultimedia4-ffmpegthumbs/Makefile b/multimedia/kdemultimedia4-ffmpegthumbs/Makefile
index e9e1d813d4e3..7d8aa5e5bee7 100644
--- a/multimedia/kdemultimedia4-ffmpegthumbs/Makefile
+++ b/multimedia/kdemultimedia4-ffmpegthumbs/Makefile
@@ -7,21 +7,26 @@ CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX= kdemultimedia-
-DIST_SUBDIR= KDE
+DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
-COMMENT= ffmpeg-based thumbnail creator for video files
+COMMENT= FFmpeg-based thumbnail generator for video files
LICENSE= GPLv2
-LIB_DEPENDS= swscale.1:${PORTSDIR}/multimedia/ffmpeg
+LIB_DEPENDS= swscale${FFMPEG_SUFFIX}:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
-MAKE_JOBS_SAFE= yes
USES= cmake:outsource
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_XZ= yes
+MAKE_JOBS_SAFE= yes
+
+# supported versions: ffmpeg1, ffmpeg-devel
+# corresponding FFMPEG_SUFFIX: '1', '-devel'
+FFMPEG_SUFFIX?= 1
+CMAKE_ARGS+= -DFFMPEG_SUFFIX=${FFMPEG_SUFFIX}
.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia4-ffmpegthumbs/distinfo b/multimedia/kdemultimedia4-ffmpegthumbs/distinfo
index d29981875168..aeb45f67a097 100644
--- a/multimedia/kdemultimedia4-ffmpegthumbs/distinfo
+++ b/multimedia/kdemultimedia4-ffmpegthumbs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/ffmpegthumbs-4.9.5.tar.xz) = 32efd9b83c569aafaae64cb9f5cc78943adf54fb4061a131749cb921a5ac0e46
-SIZE (KDE/ffmpegthumbs-4.9.5.tar.xz) = 20788
+SHA256 (KDE/4.10.1/ffmpegthumbs-4.10.1.tar.xz) = d1ee276056de2d197460cb664b20db6d56a6bf7e2ab8e477316a01d67afd6144
+SIZE (KDE/4.10.1/ffmpegthumbs-4.10.1.tar.xz) = 20824
diff --git a/multimedia/kdemultimedia4-ffmpegthumbs/files/patch-CMakeLists.txt b/multimedia/kdemultimedia4-ffmpegthumbs/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..09fbeb4129cc
--- /dev/null
+++ b/multimedia/kdemultimedia4-ffmpegthumbs/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/kdemultimedia4-ffmpegthumbs/files/patch-cmake__FindFFmpeg.cmake b/multimedia/kdemultimedia4-ffmpegthumbs/files/patch-cmake__FindFFmpeg.cmake
new file mode 100644
index 000000000000..2ab29a6ffb80
--- /dev/null
+++ b/multimedia/kdemultimedia4-ffmpegthumbs/files/patch-cmake__FindFFmpeg.cmake
@@ -0,0 +1,45 @@
+--- ./cmake/FindFFmpeg.cmake.orig 2013-03-01 07:07:31.562142000 +0000
++++ ./cmake/FindFFmpeg.cmake 2013-03-06 00:32:09.269367542 +0000
+@@ -71,13 +71,15 @@
+ ${PC_LIB${_component}_INCLUDEDIR}
+ ${PC_LIB${_component}_INCLUDE_DIRS}
+ PATH_SUFFIXES
+- ffmpeg
++ ffmpeg${FFMPEG_SUFFIX}
+ )
+
+ find_library(${_component}_LIBRARIES NAMES ${_library}
+- HINTS
++ HINTS
+ ${PC_LIB${_component}_LIBDIR}
+ ${PC_LIB${_component}_LIBRARY_DIRS}
++ PATH_SUFFIXES
++ ffmpeg${FFMPEG_SUFFIX}
+ )
+
+ set(${_component}_DEFINITIONS ${PC_${_component}_CFLAGS_OTHER} CACHE STRING "The ${_component} CFLAGS.")
+@@ -97,13 +99,18 @@
+ # Check for cached results. If there are skip the costly part.
+ if (NOT FFMPEG_LIBRARIES)
+
++ # Look for ffmpeg1 by default. Use empty suffix for ffmpeg-0.7
++ if (NOT DEFINED FFMPEG_SUFFIX)
++ set(FFMPEG_SUFFIX 1)
++ endif ()
++
+ # Check for all possible component.
+- find_component(AVCODEC libavcodec avcodec libavcodec/avcodec.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)
+- find_component(SWSCALE libswscale swscale libswscale/swscale.h)
+- find_component(POSTPROC libpostproc postproc libpostproc/postprocess.h)
++ find_component(AVCODEC libavcodec${FFMPEG_SUFFIX} avcodec${FFMPEG_SUFFIX} libavcodec/avcodec.h)
++ find_component(AVFORMAT libavformat${FFMPEG_SUFFIX} avformat${FFMPEG_SUFFIX} libavformat/avformat.h)
++ find_component(AVDEVICE libavdevice${FFMPEG_SUFFIX} avdevice${FFMPEG_SUFFIX} libavdevice/avdevice.h)
++ find_component(AVUTIL libavutil${FFMPEG_SUFFIX} avutil${FFMPEG_SUFFIX} libavutil/avutil.h)
++ find_component(SWSCALE libswscale${FFMPEG_SUFFIX} swscale${FFMPEG_SUFFIX} libswscale/swscale.h)
++ find_component(POSTPROC libpostproc${FFMPEG_SUFFIX} postproc${FFMPEG_SUFFIX} libpostproc/postprocess.h)
+
+ # Check if the required components were found and add their stuff to the FFMPEG_* vars.
+ foreach (_component ${FFmpeg_FIND_COMPONENTS})
diff --git a/multimedia/kdemultimedia4-mplayerthumbs/Makefile b/multimedia/kdemultimedia4-mplayerthumbs/Makefile
index d6467efc7b5d..e91a465ad3d4 100644
--- a/multimedia/kdemultimedia4-mplayerthumbs/Makefile
+++ b/multimedia/kdemultimedia4-mplayerthumbs/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= multimedia kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX= kdemultimedia-
-DIST_SUBDIR= KDE
+DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= MPlayer-based thumbnail generator for video files
@@ -18,10 +18,10 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
-MAKE_JOBS_SAFE= yes
USES= cmake:outsource
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
USE_QT4= phonon moc_build qmake_build rcc_build uic_build
USE_XZ= yes
+MAKE_JOBS_SAFE= yes
.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia4-mplayerthumbs/distinfo b/multimedia/kdemultimedia4-mplayerthumbs/distinfo
index 24c8c8871697..cc90f6ef4b07 100644
--- a/multimedia/kdemultimedia4-mplayerthumbs/distinfo
+++ b/multimedia/kdemultimedia4-mplayerthumbs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/mplayerthumbs-4.9.5.tar.xz) = fbb6dfd2c283ff37279564241397d2806b7ec3e42c570fc269d2d925a201b074
-SIZE (KDE/mplayerthumbs-4.9.5.tar.xz) = 28104
+SHA256 (KDE/4.10.1/mplayerthumbs-4.10.1.tar.xz) = 879501f3b8de2a84d5fda176cba538ad792b36c553c50ece220f027dbb2daa4e
+SIZE (KDE/4.10.1/mplayerthumbs-4.10.1.tar.xz) = 28124
diff --git a/multimedia/kdemultimedia4/Makefile b/multimedia/kdemultimedia4/Makefile
index 5bd2a054473f..a56a9eafe826 100644
--- a/multimedia/kdemultimedia4/Makefile
+++ b/multimedia/kdemultimedia4/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= kde@FreeBSD.org
-COMMENT= KDE Multimedia applications (meta-port)
+COMMENT= KDE Multimedia applications (meta port)
LATEST_LINK= ${PORTNAME}4