pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
deskflow: fix build on macOS
Module Name: pkgsrc-wip
Committed By: Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By: tnn
Date: Mon Mar 10 12:42:04 2025 +0100
Changeset: 5468eded64b466a6463878069048df8e1837614c
Modified Files:
deskflow/Makefile
Added Files:
deskflow/PLIST.App
Log Message:
deskflow: fix build on macOS
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5468eded64b466a6463878069048df8e1837614c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
deskflow/Makefile | 13 ++++++++-----
deskflow/PLIST.App | 8 ++++++++
2 files changed, 16 insertions(+), 5 deletions(-)
diffs:
diff --git a/deskflow/Makefile b/deskflow/Makefile
index 32e368b883..6a32003338 100644
--- a/deskflow/Makefile
+++ b/deskflow/Makefile
@@ -38,16 +38,20 @@ post-extract:
${MKDIR} -p ${WRKSRC}/${CMAKE_BUILD_DIR}/include/toml++
${MV} ${WRKDIR}/toml-${TOMLPP_VERSION}.hpp ${WRKSRC}/${CMAKE_BUILD_DIR}/include/toml++/toml.h
-
-
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+CMAKE_INSTALL_PREFIX= ${PREFIX}/Applications
+PLIST_SRC= PLIST.App
+.endif
+
.include "../../devel/cmake/build.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/googletest/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.if ${OPSYS} != "Darwin"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/pugixml/buildlink3.mk"
.include "../../wip/libei/buildlink3.mk"
@@ -59,7 +63,6 @@ post-extract:
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libxkbfile/buildlink3.mk"
.include "../../x11/libxkbcommon/buildlink3.mk"
-.if ${OPSYS} != "Darwin"
-.include "../../x11/qt6-qtbase/buildlink3.mk"
.endif
+.include "../../x11/qt6-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/deskflow/PLIST.App b/deskflow/PLIST.App
new file mode 100644
index 0000000000..e749c8988f
--- /dev/null
+++ b/deskflow/PLIST.App
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+Applications/Deskflow.app/Contents/Info.plist
+Applications/Deskflow.app/Contents/MacOS/Deskflow
+Applications/Deskflow.app/Contents/MacOS/deskflow-client
+Applications/Deskflow.app/Contents/MacOS/deskflow-server
+Applications/Deskflow.app/Contents/Resources/Deskflow.icns
+Applications/Deskflow.app/Contents/Resources/LICENSE
+Applications/Deskflow.app/Contents/Resources/LICENSE_EXCEPTION
Home |
Main Index |
Thread Index |
Old Index