Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/tor-browser security/tor-browser: Make dbus a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77f87b134080
branches:  trunk
changeset: 437128:77f87b134080
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Mon Aug 17 06:58:02 2020 +0000

description:
security/tor-browser: Make dbus an option.

diffstat:

 security/tor-browser/Makefile   |   3 +--
 security/tor-browser/options.mk |  13 ++++++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r ffdec560d1f7 -r 77f87b134080 security/tor-browser/Makefile
--- a/security/tor-browser/Makefile     Mon Aug 17 06:20:46 2020 +0000
+++ b/security/tor-browser/Makefile     Mon Aug 17 06:58:02 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2020/07/29 07:46:37 wiz Exp $
+# $NetBSD: Makefile,v 1.71 2020/08/17 06:58:02 riastradh Exp $
 
 DISTNAME=      src-firefox-tor-browser-68.11.0esr-9.5-1-build1
 PKGNAME=       tor-browser-9.5.3
@@ -128,5 +128,4 @@
                ${DESTDIR}${PREFIX}/lib/tor-browser/browser/fonts
 
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../sysutils/dbus-glib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ffdec560d1f7 -r 77f87b134080 security/tor-browser/options.mk
--- a/security/tor-browser/options.mk   Mon Aug 17 06:20:46 2020 +0000
+++ b/security/tor-browser/options.mk   Mon Aug 17 06:58:02 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.6 2020/06/07 13:06:00 wiz Exp $
+# $NetBSD: options.mk,v 1.7 2020/08/17 06:58:02 riastradh Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.tor-browser
-PKG_SUPPORTED_OPTIONS+=        alsa debug debug-info mozilla-jemalloc pulseaudio
+PKG_SUPPORTED_OPTIONS+=        alsa dbus debug debug-info mozilla-jemalloc pulseaudio
 
-PKG_SUGGESTED_OPTIONS.Linux+=  alsa mozilla-jemalloc
+PKG_SUGGESTED_OPTIONS.Linux+=  alsa dbus mozilla-jemalloc
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -20,6 +20,13 @@
 CONFIGURE_ARGS+=       --disable-alsa
 .endif
 
+.if !empty(PKG_OPTIONS:Mdbus)
+CONFIGURE_ARGS+=       --enable-dbus
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-dbus
+.endif
+
 .if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
 CONFIGURE_ARGS+=       --enable-jemalloc
 .else



Home | Main Index | Thread Index | Old Index