# Maintainer: Francois Menning # Contributor: Jan Alexander Steffens (heftig) # Contributor: Andrew Crerar # Contributor: Ionut Biru # Contributor: Jakub Schmidtke # Contributor: Thaodan # Contributor: Weng Xuetian _pkgname=firefox-developer-edition _patchurl=https://raw.githubusercontent.com/openSUSE/firefox-maintenance/master pkgname=firefox-developer-edition-kde pkgver=100.0b9 pkgrel=1 pkgdesc="Standalone web browser from mozilla.org" arch=(x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/firefox/" depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse kmozillahelper) makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust clang llvm jack nodejs cbindgen nasm python-setuptools python-psutil python-zstandard lld dump_syms wasi-compiler-rt wasi-libc wasi-libc++ wasi-libc++abi) optdepends=('networkmanager: Location detection via available WiFi networks' 'libnotify: Notification integration' 'pulseaudio: Audio support' 'speech-dispatcher: Text-to-Speech' 'hunspell-en_US: Spell checking, American English' 'xdg-desktop-portal: Screensharing with Wayland') options=(!emptydirs !makeflags !strip !lto !debug) conflicts=('firefox-developer-edition') provides=('firefox-developer-edition') source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc} $_pkgname.desktop identity-icons-brand.svg # https://github.com/archlinux/svntogit-community/tree/packages/firefox-developer-edition firefox-install-dir.patch psutil.patch # https://github.com/openSUSE/firefox-maintenance mozilla-kde.patch::$_patchurl/mozilla-kde.patch firefox-kde.patch::$_patchurl/firefox/firefox-kde.patch) sha256sums=('9a4d667e1cdadaf46312b260b0e9d4cc29bc4182dfa07502e54dd642d6d60f47' 'SKIP' '9b6c3cbc5a441acf1b66dc97f5787968ef78a056066c79fec598aaf35e5117f2' 'a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9' '99dccc8a955bee85ce69c02a32888f7d79ba7dd0fe5aa6aaf6f52102286d544c' 'f811e6408fa8900bed80055403dec889e0249681bba2b85911f96571595f78ce' 'bc5397bbccf158e12e058646ab88a636040ba810e5f8270a2efa914e3b8b52d0' 'da420deac6bfdcbf0bba31011ec23be31cdc5ab10f95a6fef5a2d6d6defc739d') validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) # Note: These are for Arch Linux use ONLY. For your own distribution, please # get your own set of keys. Feel free to contact foutrelis@archlinux.org for # more information. _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM # Mozilla API keys (see https://location.services.mozilla.com/api) # Note: These are for Arch Linux use ONLY. For your own distribution, please # get your own set of keys. Feel free to contact heftig@archlinux.org for # more information. _mozilla_api_key=e05d56db0a694edc8b5aaebda3f2db6a prepare() { mkdir mozbuild cd firefox-${pkgver%b*} # https://github.com/archlinux/svntogit-community/tree/packages/firefox-developer-edition/trunk patch -Np1 -i ../firefox-install-dir.patch patch -Np1 -i ../psutil.patch # https://github.com/openSUSE/firefox-maintenance/blob/master/firefox/MozillaFirefox.spec # Gecko/Toolkit patch -Np1 -i ../mozilla-kde.patch # Firefox/browser patch -Np1 -i ../firefox-kde.patch echo -n "$_google_api_key" >google-api-key echo -n "$_mozilla_api_key" >mozilla-api-key cat >../mozconfig <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <