commit:     855afab85e46ec5cd835e4fe2807ce11e09dac77
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  1 14:53:33 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 14:58:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855afab8

www-client/firefox: add optfeatures for example for lightweight WMs

Closes: https://bugs.gentoo.org/821355
Closes: https://bugs.gentoo.org/887035
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/firefox-102.8.0.ebuild | 6 +++++-
 www-client/firefox/firefox-110.0.1.ebuild | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/www-client/firefox/firefox-102.8.0.ebuild 
b/www-client/firefox/firefox-102.8.0.ebuild
index 61c8a1fa1f78..52cb88971193 100644
--- a/www-client/firefox/firefox-102.8.0.ebuild
+++ b/www-client/firefox/firefox-102.8.0.ebuild
@@ -38,7 +38,7 @@ MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
 MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
 
 inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
-       llvm multiprocessing pax-utils python-any-r1 toolchain-funcs \
+       llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs 
\
        virtualx xdg
 
 MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}";
@@ -1267,4 +1267,8 @@ pkg_postinst() {
        elog "Or install an addon to change your useragent."
        elog "See: 
https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100";
        elog
+
+       optfeature_header "Optional programs for extra features:"
+       optfeature "desktop notifications" x11-libs/libnotify
+       optfeature "fallback mouse cursor theme e.g. on WMs" 
gnome-base/gsettings-desktop-schemas
 }

diff --git a/www-client/firefox/firefox-110.0.1.ebuild 
b/www-client/firefox/firefox-110.0.1.ebuild
index 7f87eb3892ad..9d76745a09fd 100644
--- a/www-client/firefox/firefox-110.0.1.ebuild
+++ b/www-client/firefox/firefox-110.0.1.ebuild
@@ -38,7 +38,7 @@ MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
 MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
 
 inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \
-       llvm multiprocessing pax-utils python-any-r1 toolchain-funcs \
+       llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs 
\
        virtualx xdg
 
 MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}";
@@ -1363,4 +1363,8 @@ pkg_postinst() {
        elog "Or install an addon to change your useragent."
        elog "See: 
https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100";
        elog
+
+       optfeature_header "Optional programs for extra features:"
+       optfeature "desktop notifications" x11-libs/libnotify
+       optfeature "fallback mouse cursor theme e.g. on WMs" 
gnome-base/gsettings-desktop-schemas
 }

Reply via email to