1 |
commit: 855afab85e46ec5cd835e4fe2807ce11e09dac77 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 14:53:33 2023 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 14:58:40 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855afab8 |
7 |
|
8 |
www-client/firefox: 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/firefox-102.8.0.ebuild | 6 +++++- |
15 |
www-client/firefox/firefox-110.0.1.ebuild | 6 +++++- |
16 |
2 files changed, 10 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/www-client/firefox/firefox-102.8.0.ebuild b/www-client/firefox/firefox-102.8.0.ebuild |
19 |
index 61c8a1fa1f78..52cb88971193 100644 |
20 |
--- a/www-client/firefox/firefox-102.8.0.ebuild |
21 |
+++ b/www-client/firefox/firefox-102.8.0.ebuild |
22 |
@@ -38,7 +38,7 @@ MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" |
23 |
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" |
24 |
|
25 |
inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \ |
26 |
- llvm multiprocessing pax-utils python-any-r1 toolchain-funcs \ |
27 |
+ llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \ |
28 |
virtualx xdg |
29 |
|
30 |
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" |
31 |
@@ -1267,4 +1267,8 @@ pkg_postinst() { |
32 |
elog "Or install an addon to change your useragent." |
33 |
elog "See: https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100" |
34 |
elog |
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/firefox-110.0.1.ebuild b/www-client/firefox/firefox-110.0.1.ebuild |
42 |
index 7f87eb3892ad..9d76745a09fd 100644 |
43 |
--- a/www-client/firefox/firefox-110.0.1.ebuild |
44 |
+++ b/www-client/firefox/firefox-110.0.1.ebuild |
45 |
@@ -38,7 +38,7 @@ MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}" |
46 |
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}" |
47 |
|
48 |
inherit autotools check-reqs desktop flag-o-matic gnome2-utils linux-info \ |
49 |
- llvm multiprocessing pax-utils python-any-r1 toolchain-funcs \ |
50 |
+ llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \ |
51 |
virtualx xdg |
52 |
|
53 |
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}" |
54 |
@@ -1363,4 +1363,8 @@ pkg_postinst() { |
55 |
elog "Or install an addon to change your useragent." |
56 |
elog "See: https://support.mozilla.org/en-US/kb/difficulties-opening-or-using-website-firefox-100" |
57 |
elog |
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 |
} |