Commit 6e4ca756 authored by Laurent Montel's avatar Laurent Montel 😁

Move in correct directory

parent 80586676
......@@ -5,5 +5,5 @@ add_subdirectory(storageservices)
add_subdirectory(messageviewer)
if (QTWEBENGINE_SUPPORT_OPTION)
add_subdirectory(messageviewerwebengineurlinterceptor)
add_subdirectory(webengineurlinterceptor)
endif()
#! /bin/sh
$EXTRACTRC `find . -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name '*.cpp' -o -name '*.h' | grep -v '/tests/' | grep -v '/autotests/'` -o $podir/messageviewerwebengineurlinterceptor.pot
$XGETTEXT `find . -name '*.cpp' -o -name '*.h' | grep -v '/tests/' | grep -v '/autotests/'` -o $podir/webengineurlinterceptor.pot
rm -f rc.cpp
set(messageviewer_webengineurlinterceptor_adblock_SRCS
set(webengineviewer_webengineurlinterceptor_adblock_SRCS
adblockinterceptorinterface.cpp
adblockpluginurlinterceptor.cpp
)
ecm_qt_declare_logging_category(messageviewer_webengineurlinterceptor_adblock_SRCS HEADER adblockinterceptor_debug.h IDENTIFIER ADBLOCKINTERCEPTOR_LOG CATEGORY_NAME log_adblockinterceptor)
ecm_qt_declare_logging_category(webengineviewer_webengineurlinterceptor_adblock_SRCS HEADER adblockinterceptor_debug.h IDENTIFIER ADBLOCKINTERCEPTOR_LOG CATEGORY_NAME log_adblockinterceptor)
add_library(messageviewer_adblockplugin MODULE ${messageviewer_webengineurlinterceptor_adblock_SRCS})
add_library(webengineviewer_adblockplugin MODULE ${webengineviewer_webengineurlinterceptor_adblock_SRCS})
target_link_libraries(messageviewer_adblockplugin
target_link_libraries(webengineviewer_adblockplugin
KF5::MessageViewer
Qt5::WebEngine
Qt5::WebEngineWidgets
......@@ -20,7 +20,7 @@ target_link_libraries(messageviewer_adblockplugin
KF5::WebEngineViewer
)
install(TARGETS messageviewer_adblockplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
install(TARGETS webengineviewer_adblockplugin DESTINATION ${PLUGIN_INSTALL_DIR}/webengineviewer)
if(BUILD_TESTING)
add_subdirectory(tests)
......
......@@ -12,8 +12,8 @@
"Name[uk]": "Блокування реклами",
"Name[x-test]": "xxAdblockxx",
"ServiceTypes": [
"MessageViewer/UrlInterceptor"
"WebEngineViewer/UrlInterceptor"
],
"Version": "1.0"
}
}
\ No newline at end of file
}
set(messageviewer_webengineurlinterceptor_donottrack_SRCS
set(webengineviewer_webengineurlinterceptor_donottrack_SRCS
donottrackinterceptorinterface.cpp
donottrackpluginurlinterceptor.cpp
)
ecm_qt_declare_logging_category(messageviewer_webengineurlinterceptor_donottrack_SRCS HEADER donottrackinterceptor_debug.h IDENTIFIER DONOTTRACKINTERCEPTOR_LOG CATEGORY_NAME log_donottrackinterceptor)
ecm_qt_declare_logging_category(webengineviewer_webengineurlinterceptor_donottrack_SRCS HEADER donottrackinterceptor_debug.h IDENTIFIER DONOTTRACKINTERCEPTOR_LOG CATEGORY_NAME log_donottrackinterceptor)
kconfig_add_kcfg_files(messageviewer_webengineurlinterceptor_donottrack_SRCS
kconfig_add_kcfg_files(webengineviewer_webengineurlinterceptor_donottrack_SRCS
settings/donottrack.kcfgc
)
add_library(messageviewer_donottrackplugin MODULE ${messageviewer_webengineurlinterceptor_donottrack_SRCS})
add_library(webengineviewer_donottrackplugin MODULE ${webengineviewer_webengineurlinterceptor_donottrack_SRCS})
target_link_libraries(messageviewer_donottrackplugin
target_link_libraries(webengineviewer_donottrackplugin
Qt5::WebEngine
Qt5::WebEngineWidgets
KF5::WebEngineViewer
......@@ -20,6 +20,6 @@ target_link_libraries(messageviewer_donottrackplugin
KF5::CoreAddons
)
install(TARGETS messageviewer_donottrackplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
install(TARGETS webengineviewer_donottrackplugin DESTINATION ${PLUGIN_INSTALL_DIR}/webengineviewer)
add_subdirectory(autotests)
......@@ -19,8 +19,8 @@
"Name[uk]": "Вимикання стеження",
"Name[x-test]": "xxDo Not Trackxx",
"ServiceTypes": [
"MessageViewer/UrlInterceptor"
"WebEngineViewer/UrlInterceptor"
],
"Version": "1.0"
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment