pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
quassel: add webkit option
Module Name: pkgsrc-wip
Committed By: nia <nia%NetBSD.org@localhost>
Pushed By: nee
Date: Sat Feb 16 15:21:31 2019 +0000
Changeset: 3e36177b5574a6a4a44c83625192485e30c7bda9
Modified Files:
quassel/Makefile
Added Files:
quassel/options.mk
Log Message:
quassel: add webkit option
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3e36177b5574a6a4a44c83625192485e30c7bda9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
quassel/Makefile | 1 +
quassel/options.mk | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diffs:
diff --git a/quassel/Makefile b/quassel/Makefile
index ba830ea929..ceff757b75 100644
--- a/quassel/Makefile
+++ b/quassel/Makefile
@@ -21,6 +21,7 @@ REPLACE_BASH+= scripts/tx-sync.sh
REPLACE_PERL+= data/scripts/inxi
REPLACE_PERL+= data/scripts/mpris
+.include "options.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../databases/openldap-client/buildlink3.mk"
diff --git a/quassel/options.mk b/quassel/options.mk
new file mode 100644
index 0000000000..705b2af309
--- /dev/null
+++ b/quassel/options.mk
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.quassel
+PKG_SUPPORTED_OPTIONS= webkit
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${OPSYS} != "SunOS"
+PKG_SUGGESTED_OPTIONS= webkit
+.else
+PKG_SUGGESTED_OPTIONS=
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+# This allows for URL previews in chat.
+.if !empty(PKG_OPTIONS:Mwebkit)
+CMAKE_ARGS+= -DWITH_WEBKIT=ON
+.include "../../x11/qt5-qtwebkit/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DWITH_WEBKIT=OFF
+.endif
Home |
Main Index |
Thread Index |
Old Index