thunderbird: handle wayland support like in the firefox packages
Sort PLIST while here.
This commit is contained in:
parent
0d07e46692
commit
4a49d07d26
2 changed files with 16 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.74 2019/12/29 00:51:06 ryoon Exp $
|
||||
@comment $NetBSD: PLIST,v 1.75 2020/01/07 15:41:22 wiz Exp $
|
||||
bin/thunderbird
|
||||
lib/thunderbird/actors/AudioPlaybackChild.jsm
|
||||
lib/thunderbird/actors/AutoplayChild.jsm
|
||||
|
@ -2942,7 +2942,6 @@ lib/thunderbird/chrome/messenger/content/messenger/SearchDialog.js
|
|||
lib/thunderbird/chrome/messenger/content/messenger/SearchDialog.xul
|
||||
lib/thunderbird/chrome/messenger/content/messenger/SmtpServerEdit.js
|
||||
lib/thunderbird/chrome/messenger/content/messenger/SmtpServerEdit.xul
|
||||
lib/thunderbird/chrome/messenger/content/messenger/schemas/messageDisplayAction.json
|
||||
lib/thunderbird/chrome/messenger/content/messenger/about-support/aboutSupport.js
|
||||
lib/thunderbird/chrome/messenger/content/messenger/about-support/aboutSupport.xhtml
|
||||
lib/thunderbird/chrome/messenger/content/messenger/about-support/accounts.js
|
||||
|
@ -3286,6 +3285,7 @@ lib/thunderbird/chrome/messenger/content/messenger/schemas/mailTabs.json
|
|||
lib/thunderbird/chrome/messenger/content/messenger/schemas/menus.json
|
||||
lib/thunderbird/chrome/messenger/content/messenger/schemas/menus_child.json
|
||||
lib/thunderbird/chrome/messenger/content/messenger/schemas/messageDisplay.json
|
||||
lib/thunderbird/chrome/messenger/content/messenger/schemas/messageDisplayAction.json
|
||||
lib/thunderbird/chrome/messenger/content/messenger/schemas/messages.json
|
||||
lib/thunderbird/chrome/messenger/content/messenger/schemas/pkcs11.json
|
||||
lib/thunderbird/chrome/messenger/content/messenger/schemas/tabs.json
|
||||
|
@ -4497,6 +4497,7 @@ lib/thunderbird/libldif60.so
|
|||
lib/thunderbird/liblgpllibs.so
|
||||
lib/thunderbird/libmozgtk.so
|
||||
lib/thunderbird/libmozsqlite3.so
|
||||
${PLIST.wayland}lib/thunderbird/libmozwayland.so
|
||||
lib/thunderbird/libprldap60.so
|
||||
lib/thunderbird/libxul.so
|
||||
lib/thunderbird/localization/en-US/branding/brand.ftl
|
||||
|
|
|
@ -1,14 +1,19 @@
|
|||
# $NetBSD: options.mk,v 1.20 2018/12/16 08:12:15 ryoon Exp $
|
||||
# $NetBSD: options.mk,v 1.21 2020/01/07 15:41:22 wiz Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird
|
||||
|
||||
PKG_SUPPORTED_OPTIONS= alsa dbus debug mozilla-jemalloc gnome \
|
||||
official-mozilla-branding oss pulseaudio \
|
||||
mozilla-lightning
|
||||
mozilla-lightning wayland
|
||||
PKG_SUGGESTED_OPTIONS+= mozilla-lightning
|
||||
|
||||
PLIST_VARS+= branding nobranding debug gnome jemalloc
|
||||
|
||||
.include "../../devel/wayland/platform.mk"
|
||||
.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
|
||||
PKG_SUGGESTED_OPTIONS+= wayland
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == "Linux"
|
||||
PKG_SUGGESTED_OPTIONS+= pulseaudio mozilla-jemalloc dbus
|
||||
.else
|
||||
|
@ -80,3 +85,9 @@ NO_BIN_ON_FTP= ${RESTRICTED}
|
|||
CONFIGURE_ARGS+= --disable-official-branding
|
||||
PLIST.nobranding= yes
|
||||
.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
|
||||
|
|
Loading…
Reference in a new issue