Created
April 20, 2019 22:55
-
-
Save jsm222/87113192b18582deec82722c4d9f824e to your computer and use it in GitHub Desktop.
albert-plugins WIP patch for FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/calculator/CMakeLists.txt b/calculator/CMakeLists.txt | |
index ff57f11..cac7476 100644 | |
--- a/calculator/CMakeLists.txt | |
+++ b/calculator/CMakeLists.txt | |
@@ -14,7 +14,7 @@ target_link_libraries(${PROJECT_NAME} | |
PRIVATE | |
Qt5::Widgets | |
albert::lib | |
- muparser | |
+ -L/usr/local/lib -lmuparser | |
xdg | |
) | |
diff --git a/qmlboxmodel/CMakeLists.txt b/qmlboxmodel/CMakeLists.txt | |
index 818e63e..d6c2014 100644 | |
--- a/qmlboxmodel/CMakeLists.txt | |
+++ b/qmlboxmodel/CMakeLists.txt | |
@@ -16,7 +16,7 @@ target_link_libraries(${PROJECT_NAME} | |
Qt5::Quick | |
Qt5::Widgets | |
albert::lib | |
- Xext | |
+ -L/usr/local/lib -lXext | |
) | |
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/albert/plugins) | |
diff --git a/widgetboxmodel/CMakeLists.txt b/widgetboxmodel/CMakeLists.txt | |
index 687923a..3e8ab1b 100644 | |
--- a/widgetboxmodel/CMakeLists.txt | |
+++ b/widgetboxmodel/CMakeLists.txt | |
@@ -15,7 +15,7 @@ target_link_libraries(${PROJECT_NAME} | |
Qt5::Svg | |
Qt5::Widgets | |
albert::lib | |
- Xext | |
+ /usr/local/lib/libXext.so | |
) | |
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/albert/plugins) | |
diff --git a/widgetboxmodel/src/frontendwidget.cpp b/widgetboxmodel/src/frontendwidget.cpp | |
index 3172d3e..5e3d519 100644 | |
--- a/widgetboxmodel/src/frontendwidget.cpp | |
+++ b/widgetboxmodel/src/frontendwidget.cpp | |
@@ -656,7 +656,7 @@ bool WidgetBoxModel::FrontendWidget::eventFilter(QObject *, QEvent *event) { | |
} | |
-#ifdef Q_OS_LINUX | |
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) | |
/** **************************************************************************** | |
* @brief MainWidget::nativeEvent | |
* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment