pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/cliqz www/cliqz: Adds support for wayland.
details: https://anonhg.NetBSD.org/pkgsrc/rev/71b8a012474d
branches: trunk
changeset: 410605:71b8a012474d
user: fox <fox%pkgsrc.org@localhost>
date: Sat Jan 25 17:12:17 2020 +0000
description:
www/cliqz: Adds support for wayland.
Should fix packaging issues due to missing wayland library.
Thanks to nia@
diffstat:
www/cliqz/PLIST | 3 ++-
www/cliqz/options.mk | 15 +++++++++++++--
2 files changed, 15 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r 114fee50e6b9 -r 71b8a012474d www/cliqz/PLIST
--- a/www/cliqz/PLIST Sat Jan 25 16:54:23 2020 +0000
+++ b/www/cliqz/PLIST Sat Jan 25 17:12:17 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2020/01/22 10:36:24 fox Exp $
+@comment $NetBSD: PLIST,v 1.8 2020/01/25 17:12:17 fox Exp $
bin/cliqz
lib/cliqz/actors/AudioPlaybackChild.jsm
lib/cliqz/actors/AudioPlaybackParent.jsm
@@ -4683,6 +4683,7 @@
lib/cliqz/libmozavutil.so
lib/cliqz/libmozgtk.so
lib/cliqz/libmozsqlite3.so
+${PLIST.wayland}lib/cliqz/libmozwayland.so
lib/cliqz/libxul.so
lib/cliqz/localization/en-US/crashreporter/aboutcrashes.ftl
lib/cliqz/localization/en-US/security/certificates/certManager.ftl
diff -r 114fee50e6b9 -r 71b8a012474d www/cliqz/options.mk
--- a/www/cliqz/options.mk Sat Jan 25 16:54:23 2020 +0000
+++ b/www/cliqz/options.mk Sat Jan 25 17:12:17 2020 +0000
@@ -1,11 +1,16 @@
-# $NetBSD: options.mk,v 1.1 2019/04/19 14:02:03 fox Exp $
+# $NetBSD: options.mk,v 1.2 2020/01/25 17:12:17 fox Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cliqz
-PKG_SUPPORTED_OPTIONS= alsa pulseaudio dbus
+PKG_SUPPORTED_OPTIONS= alsa pulseaudio dbus wayland
PKG_SUGGESTED_OPTIONS+= pulseaudio dbus
+.include "../../devel/wayland/platform.mk"
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+= wayland
+.endif
+
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
@@ -28,3 +33,9 @@
.else
MOZ_CONFIGURE_ARGS+= "ac_add_options --disable-dbus"
.endif
+
+PLIST_VARS+= wayland
+.if !empty(PKG_OPTIONS:Mwayland)
+# \todo Instead of using an option, determine if gtk3 was built with wayland.
+PLIST.wayland= yes
+.endif
Home |
Main Index |
Thread Index |
Old Index