Source: @browser@
Section: web
Priority: optional
Maintainer: Maintainers of Mozilla-related packages <team+pkg-mozilla@tracker.debian.org>
Uploaders: Mike Hommey <glandium@debian.org>
Build-Depends: debhelper-compat (= 12),
               libx11-dev,
               libx11-xcb-dev,
               libxt-dev,
               libgtk-3-dev,
               libglib2.0-dev,
               libdrm-dev,
               libstartup-notification0-dev,
               libjpeg-dev,
%if USE_SYSTEM_ZLIB
               zlib1g-dev,
%endif
               libreadline-dev,
               python3 (>= 3.8),
%if USE_SYSTEM_NSPR
%define NSPR_VERSION 4.32
               libnspr4-dev (>= 2:@NSPR_VERSION@~),
%endif
%if USE_SYSTEM_NSS
%define NSS_VERSION 3.121
               libnss3-dev (>= 2:@NSS_VERSION@~),
%endif
%if USE_SYSTEM_VPX
               libvpx-dev (>= 1.10.0),
%endif
               libdbus-1-dev,
%if USE_SYSTEM_FFI
               libffi-dev,
%endif
%if USE_SYSTEM_LIBEVENT
               libevent-dev,
%endif
               libpulse-dev,
               libasound2-dev,
               nasm (>= 2.14) [amd64 i386],
%if DIST == bookworm
               g++-11,
%endif
%define RUST_VERSION 1.87
%if DIST == trixie || DIST == bookworm || DIST == bullseye
               rustc-web (>= @RUST_VERSION@),
               cargo-web (>= @RUST_VERSION@),
%else
               rustc (>= @RUST_VERSION@),
               cargo (>= @RUST_VERSION@),
%endif
               llvm-dev,
               libclang-dev,
               clang,
%if DIST != bullseye
               libc++-dev-wasm32,
               libclang-rt-dev-wasm32,
               lld,
%endif
%define CBINDGEN_VERSION 0.29.1
%if DIST == trixie || DIST == bookworm || DIST == bullseye
               cbindgen-web (>= @CBINDGEN_VERSION@),
%else
               cbindgen (>= @CBINDGEN_VERSION@),
%endif
               nodejs (>= 12.22.1),
               zip,
               unzip,
               locales,
               xvfb,
               xfonts-base,
               xauth,
               ttf-bitstream-vera,
               fonts-freefont-ttf,
               fonts-dejima-mincho,
               iso-codes
Build-Conflicts: graphicsmagick-imagemagick-compat,
                 liboss4-salsa-dev,
                 libhildonmime-dev,
                 libosso-dev
Standards-Version: 3.9.8.0
Vcs-Git: https://salsa.debian.org/mozilla-team/firefox.git -b @SHORT_SOURCE_CHANNEL@/master
Vcs-Browser: https://salsa.debian.org/mozilla-team/firefox/commits/@SHORT_SOURCE_CHANNEL@/master

Package: @browser@
Architecture: any
Depends: ${shlibs:Depends},
         ${misc:Depends},
         fontconfig,
         procps,
         debianutils (>= 1.16),
%if USE_SYSTEM_NSPR
         libnspr4 (>= 2:@NSPR_VERSION@~),
%endif
%if USE_SYSTEM_NSS
         libnss3 (>= 2:@NSS_VERSION@~)
%endif
Recommends: @LIBAVCODEC@
Suggests: fonts-stix | otf-stix,
          fonts-lmodern,
          libgssapi-krb5-2 | libkrb53,
          libcanberra0,
          pulseaudio
Provides: www-browser,
          gnome-www-browser
%define RAW_DESCRIPTION Mozilla Firefox web browser
%define LONGDESC1 @Browser@ is a powerful, extensible web browser with support for modern
%define LONGDESC2 web application technologies.
%define firefox_esr firefox-esr
%if browser == firefox_esr
%define DESCRIPTION @RAW_DESCRIPTION@ - Extended Support Release (ESR)
%else
%define DESCRIPTION @RAW_DESCRIPTION@
%endif
Description: @DESCRIPTION@
 @LONGDESC1@
 @LONGDESC2@

Package: @browser@-l10n-all
Architecture: all
Section: metapackages
Depends: ${misc:Depends}, @L10N_PACKAGES_DEPS@
Description: All language packages for @Browser@ (meta)
 @LONGDESC1@
 @LONGDESC2@
 .
 This is a metapackage depending on all available localizations of @Browser@.
%include l10n/browser-l10n.control
