diff options
author | Hanketsu <hanketsu@egregore.fun> | 2024-10-28 09:51:06 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-06-13 00:04:39 +0200 |
commit | 4517482f473c959fb3eea7e458d3e5f2774db867 (patch) | |
tree | bfe5624a2fcdae2fb7275a790d37aa34ed7e2bb1 | |
parent | 759125f1d89f253886ef359e4e7abffcf521a3d4 (diff) |
battering: palemoon: Enable NPAPI and WebRTC in the GTK3 build.
* battering/packages/palemoon.scm (make-uxp-browser)
[arguments]: Enable npapi and webrtc.
[native-inputs]: Ad gtk+2
-rw-r--r-- | battering/packages/palemoon.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/battering/packages/palemoon.scm b/battering/packages/palemoon.scm index 78bcc40..9c0dd41 100644 --- a/battering/packages/palemoon.scm +++ b/battering/packages/palemoon.scm @@ -44,6 +44,7 @@ (build-system mozilla-build-system) (native-inputs (list autoconf + gtk+-2 ;; Needed for NPAPI and WebRTC in the GTK3 build. libxcrypt m4 perl @@ -107,10 +108,12 @@ "--enable-jxl" "--enable-more-deterministic" "--enable-necko-wifi" + "--enable-npapi" "--enable-official-branding" ;; Official branding. #$(string-append "--with-branding=" branding-dir) "--enable-optimize=\"-O2 -w\"" "--enable-strip" + "--enable-webrtc" "--enable-system-ffi" "--enable-system-cairo" "--enable-system-pixman" @@ -123,7 +126,6 @@ "--disable-gold" "--disable-tests" "--disable-updater" - "--disable-webrtc" "--with-pthreads" "--with-system-bz2" "--with-system-jpeg" @@ -142,9 +144,6 @@ ;; UNBUNDLE-ME! "--with-system-png" ;; UNBUNDLE-ME! "--with-system-theora" ;; UNBUNDLE-ME! "--with-system-vorbis" - #$(if with-gtk3? ;; NPAPI requires gtk2. It's for Adobe Flash and Silverlight. - "--disable-npapi" - "--enable-npapi") #$(if with-gtk3? ;; TODO: find a way to link atk_bridge_adaptor_init "--disable-accessibility" "--enable-accessibility")) |