commit: 400ea9b8b0813bfdeea8109fecc0038952ae1b44 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Wed Mar 1 14:57:59 2023 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Mar 1 14:58:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400ea9b8
www-client/firefox-bin: 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-bin/firefox-bin-102.8.0.ebuild | 6 +++++- www-client/firefox-bin/firefox-bin-110.0.1.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/www-client/firefox-bin/firefox-bin-102.8.0.ebuild b/www-client/firefox-bin/firefox-bin-102.8.0.ebuild index 4cf4605c69ff..f81d5b9db36a 100644 --- a/www-client/firefox-bin/firefox-bin-102.8.0.ebuild +++ b/www-client/firefox-bin/firefox-bin-102.8.0.ebuild @@ -26,7 +26,7 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}" MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" -inherit desktop linux-info pax-utils xdg +inherit desktop linux-info optfeature pax-utils xdg MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" @@ -370,4 +370,8 @@ pkg_postinst() { elog "If you still want to be able to select between running Mozilla Firefox" elog "on X11 or Wayland, you have to re-create these shortcuts on your own." fi + + 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-bin/firefox-bin-110.0.1.ebuild b/www-client/firefox-bin/firefox-bin-110.0.1.ebuild index abdd46820f3c..d134ec543678 100644 --- a/www-client/firefox-bin/firefox-bin-110.0.1.ebuild +++ b/www-client/firefox-bin/firefox-bin-110.0.1.ebuild @@ -26,7 +26,7 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}" MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" -inherit desktop linux-info pax-utils xdg +inherit desktop linux-info optfeature pax-utils xdg MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" @@ -374,4 +374,8 @@ pkg_postinst() { elog "If you still want to be able to select between running Mozilla Firefox" elog "on X11 or Wayland, you have to re-create these shortcuts on your own." fi + + 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 }
