diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2009-08-23 10:36:55 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2009-08-23 10:36:55 +0000 |
commit | d26100ac852a5f21e8206885ea272f74a83ae2c9 (patch) | |
tree | a4051da6a6316614a65f28bb5f6198b61199d1f0 /multimedia/avidemux2 | |
parent | 94b770ad20864d72ce4ee985c152c04a09eb6dcc (diff) | |
download | ports-d26100ac852a5f21e8206885ea272f74a83ae2c9.tar.gz ports-d26100ac852a5f21e8206885ea272f74a83ae2c9.zip |
Unbreak [1]
Fix plist when building with QT4 support
PR: ports/137621 [1]
Submitted by: Ulrich Spoerlein <uspoerlein at gmail.com>
Approved by: Anish Mistry (maintainer)
Notes
Notes:
svn path=/head/; revision=240171
Diffstat (limited to 'multimedia/avidemux2')
-rw-r--r-- | multimedia/avidemux2/Makefile | 5 | ||||
-rw-r--r-- | multimedia/avidemux2/files/patch-avidemux__CMakeLists.txt | 35 | ||||
-rw-r--r-- | multimedia/avidemux2/files/patch-cmake__Ts.cmake | 6 | ||||
-rw-r--r-- | multimedia/avidemux2/pkg-plist | 1 |
4 files changed, 40 insertions, 7 deletions
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile index 125fee9817bf..6ff9d5a7355b 100644 --- a/multimedia/avidemux2/Makefile +++ b/multimedia/avidemux2/Makefile @@ -10,8 +10,7 @@ PORTVERSION= 2.4.4 PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_BERLIOS} \ - SF/avidemux/avidemux/${PORTVERSION} - + SF/avidemux/avidemux/${PORTVERSION} DISTNAME= avidemux_${PORTVERSION} MAINTAINER= amistry@am-productions.biz @@ -28,8 +27,6 @@ CONFLICTS= avidemux2-2.[0-35-9].* CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -BROKEN= need a update for Qt 4.5 - USE_GNOME= libxml2 USE_QT_VER= 4 QT_COMPONENTS= diff --git a/multimedia/avidemux2/files/patch-avidemux__CMakeLists.txt b/multimedia/avidemux2/files/patch-avidemux__CMakeLists.txt new file mode 100644 index 000000000000..91f211cad228 --- /dev/null +++ b/multimedia/avidemux2/files/patch-avidemux__CMakeLists.txt @@ -0,0 +1,35 @@ +--- ./avidemux/CMakeLists.txt.orig 2008-10-03 15:05:09.000000000 +0400 ++++ ./avidemux/CMakeLists.txt 2009-08-10 23:07:18.000000000 +0400 +@@ -84,7 +84,6 @@ + ADM_audio
+ ADM_script
+ ADM_videoFilter
+-ADM_filter
+ ADM_video
+ ADM_audiodevice
+ ADM_ocr
+@@ -93,6 +92,24 @@ +
+ FOREACH(_current ${ADM_SUBDIR})
+ ADD_SUBDIRECTORY(${_current})
++ENDFOREACH(_current ${ADM_SUBDIR})
++
++SET(ADM_SUBDIR
++ADM_filter
++ADM_audiofilter
++ADM_editor
++ADM_audiocodec
++ADM_audio
++ADM_script
++ADM_videoFilter
++ADM_filter
++ADM_video
++ADM_audiodevice
++ADM_ocr
++ADM_colorspace
++)
++
++FOREACH(_current ${ADM_SUBDIR})
+ add_libs_all_targets(${_current})
+ ENDFOREACH(_current ${ADM_SUBDIR})
+
diff --git a/multimedia/avidemux2/files/patch-cmake__Ts.cmake b/multimedia/avidemux2/files/patch-cmake__Ts.cmake index 5fb446e759cf..8e54bdfc5b07 100644 --- a/multimedia/avidemux2/files/patch-cmake__Ts.cmake +++ b/multimedia/avidemux2/files/patch-cmake__Ts.cmake @@ -5,7 +5,7 @@ MACRO(FIND_LRELEASE)
IF(NOT LRELEASE_EXECUTABLE AND NOT LRELEASE_NOT_FOUND)
- FIND_PROGRAM(LRELEASE_EXECUTABLE lrelease PATHS
-+ FIND_PROGRAM(LRELEASE_EXECUTABLE lrelease lrelease-qt4 PATHS
++ FIND_PROGRAM(LRELEASE_EXECUTABLE lrelease-qt4 PATHS
"[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/bin"
"[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/bin"
$ENV{QTDIR}/bin)
@@ -14,7 +14,7 @@ SET(qm_files ${qm_files} ${_outXml} ${_out})
- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n")
-+ INSTALL(FILES ${_out} DESTINATION "/var/tmp/avidemux2/share/avidemux2")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux2")
ENDFOREACH(ts_input ${ts_files})
SET(${_sources} ${${_sources}} ${qm_files})
@@ -23,7 +23,7 @@ SET(qm_files ${qm_files} ${_out})
- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n")
-+ INSTALL(FILES ${_out} DESTINATION "/var/tmp/avidemux2/share/avidemux2")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux2")
ENDFOREACH(ts_input ${ts_files})
SET(${_sources} ${${_sources}} ${qm_files})
diff --git a/multimedia/avidemux2/pkg-plist b/multimedia/avidemux2/pkg-plist index 2b3c7c0bc23d..d85f44562552 100644 --- a/multimedia/avidemux2/pkg-plist +++ b/multimedia/avidemux2/pkg-plist @@ -29,5 +29,6 @@ bin/avidemux2_cli %%QT_NLS%%share/avidemux2/avidemux_sr.qm %%QT_NLS%%share/avidemux2/avidemux_sr@latin.qm %%QT_NLS%%share/avidemux2/avidemux_tr.qm +%%QT_NLS%%share/avidemux2/qt_cs.qm %%QT_NLS%%share/avidemux2/qt_fr.qm %%QT_NLS%%share/avidemux2/qt_it.qm |