[51829] trunk/dports/multimedia/avidemux
jmr at macports.org
jmr at macports.org
Thu Jun 4 11:14:30 PDT 2009
Revision: 51829
http://trac.macports.org/changeset/51829
Author: jmr at macports.org
Date: 2009-06-04 11:14:30 -0700 (Thu, 04 Jun 2009)
Log Message:
-----------
avidemux: patch to build with current cmake (#19859)
Modified Paths:
--------------
trunk/dports/multimedia/avidemux/Portfile
Added Paths:
-----------
trunk/dports/multimedia/avidemux/files/
trunk/dports/multimedia/avidemux/files/avidemux-2.4.4-cmake.patch
Modified: trunk/dports/multimedia/avidemux/Portfile
===================================================================
--- trunk/dports/multimedia/avidemux/Portfile 2009-06-04 17:36:10 UTC (rev 51828)
+++ trunk/dports/multimedia/avidemux/Portfile 2009-06-04 18:14:30 UTC (rev 51829)
@@ -26,6 +26,9 @@
depends_build port:cmake
+patch.pre_args -p1
+patchfiles avidemux-2.4.4-cmake.patch
+
configure.cmd cmake
configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} \
-DCMAKE_C_FLAGS=\"${configure.cflags}\" \
Added: trunk/dports/multimedia/avidemux/files/avidemux-2.4.4-cmake.patch
===================================================================
--- trunk/dports/multimedia/avidemux/files/avidemux-2.4.4-cmake.patch (rev 0)
+++ trunk/dports/multimedia/avidemux/files/avidemux-2.4.4-cmake.patch 2009-06-04 18:14:30 UTC (rev 51829)
@@ -0,0 +1,36 @@
+diff -uNr avidemux_2.4.4.orig/avidemux/CMakeLists.txt avidemux_2.4.4/avidemux/CMakeLists.txt
+--- avidemux_2.4.4.orig/avidemux/CMakeLists.txt 2009-05-06 13:00:10.000000000 +0200
++++ avidemux_2.4.4/avidemux/CMakeLists.txt 2009-05-06 13:00:49.000000000 +0200
+@@ -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})
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090604/6ea7bc54/attachment.html>
More information about the macports-changes
mailing list