diff options
Diffstat (limited to 'multimedia/avidemux2/files/patch-CMakeLists.txt')
-rw-r--r-- | multimedia/avidemux2/files/patch-CMakeLists.txt | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/multimedia/avidemux2/files/patch-CMakeLists.txt b/multimedia/avidemux2/files/patch-CMakeLists.txt index 0ef654cda90a..ee4267186835 100644 --- a/multimedia/avidemux2/files/patch-CMakeLists.txt +++ b/multimedia/avidemux2/files/patch-CMakeLists.txt @@ -1,27 +1,26 @@ ---- ./CMakeLists.txt.orig 2007-10-14 13:27:59.000000000 +0200 -+++ ./CMakeLists.txt 2008-07-10 17:16:26.000000000 +0200 -@@ -101,11 +101,15 @@ - if(NOT WIN32) - MESSAGE(STATUS "<Checking for X11>") - MESSAGE(STATUS "<******************************>") -+ if(NO_X11) -+ message(status "<disabled per request>") -+ else(NO_X11) - include(FindX11) - if(NOT X11_FOUND) - MESSAGE(FATAL_ERROR "Could not find X11") - endif(NOT X11_FOUND) - MESSAGE(STATUS OK) -+ endif(NO_X11) - endif(NOT WIN32) - #************************************************** - # Search for GLIB through PKG-Config -@@ -135,7 +139,7 @@ - IF(NOT GTK_CFLAGS) - MESSAGE(STATUS "Could not find GTK - cannot compile avidemux2_gtk here") - ELSE(NOT GTK_CFLAGS) -- SET(GTK_FOUND TRUE) -+ SET(GTK_FOUND "YES") - MESSAGE(STATUS OK) - ENDIF(NOT GTK_CFLAGS) - endif(NO_GTK) +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -58,10 +58,10 @@ IF (ADM_CPU_ALTIVEC)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ADM_ALTIVEC_FLAGS}")
+ ENDIF (ADM_CPU_ALTIVEC)
+
+-IF (UNIX AND NOT APPLE)
+- # jog shuttle is only available on Linux due to its interface
+- SET(USE_JOG 1)
+-ENDIF (UNIX AND NOT APPLE)
++#IF (UNIX AND NOT APPLE)
++# # jog shuttle is only available on Linux due to its interface
++# SET(USE_JOG 1)
++#ENDIF (UNIX AND NOT APPLE)
+
+ IF (WIN32)
+ SET(BIN_DIR .)
+@@ -104,7 +104,7 @@ SET(VERSION 2.5.4)
+ # since it uses the minimum set of required libraries and CMake will
+ # fail if these aren't met.
+ SET(ADM_UI_GTK 1)
+-SET(ADM_UI_QT4 1)
++# SET(ADM_UI_QT4 1)
+
+ SET(ADM_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}")
+
|