summaryrefslogtreecommitdiff
path: root/x11/albert/files/patch-plugins_qmlboxmodel_CMakeLists.txt
diff options
context:
space:
mode:
authorJesper Schmitz Mouridsen <jsm@FreeBSD.org>2020-01-29 14:22:22 +0000
committerJesper Schmitz Mouridsen <jsm@FreeBSD.org>2020-01-29 14:22:22 +0000
commit586b77bee16757a842f39c1caa19b4c9d4961688 (patch)
treed44d1cc2f12356081d3cb59e63048e381f97a02c /x11/albert/files/patch-plugins_qmlboxmodel_CMakeLists.txt
parentUpdate to 2.10.56 (diff)
New port x11/albert
Albert is a fast and flexible keyboard launcher Approved by: lwhsu Differential Revision: https://reviews.freebsd.org/D23367
Diffstat (limited to 'x11/albert/files/patch-plugins_qmlboxmodel_CMakeLists.txt')
-rw-r--r--x11/albert/files/patch-plugins_qmlboxmodel_CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/albert/files/patch-plugins_qmlboxmodel_CMakeLists.txt b/x11/albert/files/patch-plugins_qmlboxmodel_CMakeLists.txt
new file mode 100644
index 000000000000..eb1cde486413
--- /dev/null
+++ b/x11/albert/files/patch-plugins_qmlboxmodel_CMakeLists.txt
@@ -0,0 +1,19 @@
+--- plugins/qmlboxmodel/CMakeLists.txt.orig 2018-12-31 15:24:22 UTC
++++ plugins/qmlboxmodel/CMakeLists.txt
+@@ -5,6 +5,7 @@ project(qmlboxmodel)
+ file(GLOB_RECURSE SRC src/*)
+
+ find_package(Qt5 5.5.0 REQUIRED COMPONENTS Widgets Qml Quick)
++find_package(X11)
+
+ add_library(${PROJECT_NAME} SHARED ${SRC} metadata.json)
+
+@@ -16,7 +17,7 @@ target_link_libraries(${PROJECT_NAME}
+ Qt5::Quick
+ Qt5::Widgets
+ albert::lib
+- Xext
++ ${X11_Xext_LIB}
+ )
+
+ install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/albert/plugins)