diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-05-01 16:10:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-05-01 16:10:11 +0200 |
commit | 4627271715ae3e062a3d1723deffdeff608418b3 (patch) | |
tree | 563fd5b7dec4adbcb9bc7c62ce749feae73cdb51 /arch/tde-extra/tde-amarok/bp000-fix-configure-tests.diff | |
parent | b98d331a5176674206b39afab63f4f0b6b6709c6 (diff) | |
download | tde-packaging-4627271715ae3e062a3d1723deffdeff608418b3.tar.gz tde-packaging-4627271715ae3e062a3d1723deffdeff608418b3.zip |
ArchLinux: Update for final R14.0.12.
Add pkgbuilds for several applications.
Add pkgbuild for polkit-tqt library.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-extra/tde-amarok/bp000-fix-configure-tests.diff')
-rw-r--r-- | arch/tde-extra/tde-amarok/bp000-fix-configure-tests.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/tde-extra/tde-amarok/bp000-fix-configure-tests.diff b/arch/tde-extra/tde-amarok/bp000-fix-configure-tests.diff new file mode 100644 index 000000000..5668cc562 --- /dev/null +++ b/arch/tde-extra/tde-amarok/bp000-fix-configure-tests.diff @@ -0,0 +1,28 @@ +diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake +index f1b7246b..bab3b80d 100644 +--- a/ConfigureChecks.cmake ++++ b/ConfigureChecks.cmake +@@ -197,7 +197,10 @@ find_package( OpenGL ) + + tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) + set( CMAKE_REQUIRED_INCLUDES ${TQT_INCLUDE_DIRS} ) +-set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} ${TQT_LIBRARIES} ) ++foreach( _dirs ${TQT_LIBRARY_DIRS} ) ++ list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" ) ++endforeach() ++list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQT_LIBRARIES} ) + + check_cxx_source_compiles(" + #include <cstdlib> +@@ -219,7 +222,10 @@ if( WITH_KONQSIDEBAR ) + set( CMAKE_REQUIRED_DEFINITIONS ${TQT_CFLAGS_OTHER} ) + set( CMAKE_REQUIRED_INCLUDES ${TDE_INCLUDE_DIR};${TQT_INCLUDE_DIRS};${CMAKE_INCLUDE_PATH} ) + set( CMAKE_REQUIRED_FLAGS "-include tqt.h" ) +- set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIRS} -L${QT_LIBRARY_DIRS} ${TQT_LIBRARIES} ) ++ foreach( _dirs ${TQT_LIBRARY_DIRS} ) ++ list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" ) ++ endforeach() ++ list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQT_LIBRARIES} ) + check_cxx_source_compiles(" + #include <konqsidebarplugin.h> + int main(int, char**) { return 0; } " |