Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox-bin/
Date: Wed, 01 Mar 2023 14:58:49
Message-Id: 1677682721.400ea9b8b0813bfdeea8109fecc0038952ae1b44.juippis@gentoo
1 commit: 400ea9b8b0813bfdeea8109fecc0038952ae1b44
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 1 14:57:59 2023 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 1 14:58:41 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400ea9b8
7
8 www-client/firefox-bin: add optfeatures for example for lightweight WMs
9
10 Closes: https://bugs.gentoo.org/821355
11 Closes: https://bugs.gentoo.org/887035
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 www-client/firefox-bin/firefox-bin-102.8.0.ebuild | 6 +++++-
15 www-client/firefox-bin/firefox-bin-110.0.1.ebuild | 6 +++++-
16 2 files changed, 10 insertions(+), 2 deletions(-)
17
18 diff --git a/www-client/firefox-bin/firefox-bin-102.8.0.ebuild b/www-client/firefox-bin/firefox-bin-102.8.0.ebuild
19 index 4cf4605c69ff..f81d5b9db36a 100644
20 --- a/www-client/firefox-bin/firefox-bin-102.8.0.ebuild
21 +++ b/www-client/firefox-bin/firefox-bin-102.8.0.ebuild
22 @@ -26,7 +26,7 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}"
23 MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
24 MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
25
26 -inherit desktop linux-info pax-utils xdg
27 +inherit desktop linux-info optfeature pax-utils xdg
28
29 MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
30
31 @@ -370,4 +370,8 @@ pkg_postinst() {
32 elog "If you still want to be able to select between running Mozilla Firefox"
33 elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
34 fi
35 +
36 + optfeature_header "Optional programs for extra features:"
37 + optfeature "desktop notifications" x11-libs/libnotify
38 + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
39 }
40
41 diff --git a/www-client/firefox-bin/firefox-bin-110.0.1.ebuild b/www-client/firefox-bin/firefox-bin-110.0.1.ebuild
42 index abdd46820f3c..d134ec543678 100644
43 --- a/www-client/firefox-bin/firefox-bin-110.0.1.ebuild
44 +++ b/www-client/firefox-bin/firefox-bin-110.0.1.ebuild
45 @@ -26,7 +26,7 @@ MOZ_P="${MOZ_PN}-${MOZ_PV}"
46 MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
47 MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
48
49 -inherit desktop linux-info pax-utils xdg
50 +inherit desktop linux-info optfeature pax-utils xdg
51
52 MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
53
54 @@ -374,4 +374,8 @@ pkg_postinst() {
55 elog "If you still want to be able to select between running Mozilla Firefox"
56 elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
57 fi
58 +
59 + optfeature_header "Optional programs for extra features:"
60 + optfeature "desktop notifications" x11-libs/libnotify
61 + optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
62 }