From 63045b8ad79ce80c159993362144d022fc6bebf8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Apr 2016 14:13:54 +0100 Subject: fix patch names --- .../libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch | 16 ---------------- ...libdbusmenu-qt4-0.9.3_pre20140619-optionaltests.patch | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch create mode 100644 dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt4-0.9.3_pre20140619-optionaltests.patch (limited to 'dev-libs/libdbusmenu-qt4') diff --git a/dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch b/dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch deleted file mode 100644 index 7f6d82eb..00000000 --- a/dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- CMakeLists.txt.old 2014-10-10 21:14:47.139654992 +0200 -+++ CMakeLists.txt 2014-10-10 21:16:17.114656451 +0200 -@@ -90,8 +90,12 @@ - ) - - add_subdirectory(src) -+ -+option(BUILD_TESTS "Build tests for qt4" ON) - if (NOT USE_QT5) # TODO port tests to Qt5 --add_subdirectory(tests) -+ if(BUILD_TESTS) -+ add_subdirectory(tests) -+ endif(BUILD_TESTS) - endif() - add_subdirectory(tools) - diff --git a/dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt4-0.9.3_pre20140619-optionaltests.patch b/dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt4-0.9.3_pre20140619-optionaltests.patch new file mode 100644 index 00000000..7f6d82eb --- /dev/null +++ b/dev-libs/libdbusmenu-qt4/files/libdbusmenu-qt4-0.9.3_pre20140619-optionaltests.patch @@ -0,0 +1,16 @@ +--- CMakeLists.txt.old 2014-10-10 21:14:47.139654992 +0200 ++++ CMakeLists.txt 2014-10-10 21:16:17.114656451 +0200 +@@ -90,8 +90,12 @@ + ) + + add_subdirectory(src) ++ ++option(BUILD_TESTS "Build tests for qt4" ON) + if (NOT USE_QT5) # TODO port tests to Qt5 +-add_subdirectory(tests) ++ if(BUILD_TESTS) ++ add_subdirectory(tests) ++ endif(BUILD_TESTS) + endif() + add_subdirectory(tools) + -- cgit v1.2.3