# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: librewolf-r3.eclass # @MAINTAINER: # yamabiiko # @AUTHOR: # yamabiiko # @BLURB: # @DESCRIPTION: librewolf customisation/configuration if [[ ! ${_LIBREWOLF_R3} ]]; then inherit git-r3 librewolf-r3_src_configure() { local _PN="LibreWolf" [[ "${PN}" == "librewolf-nightly" ]] && _PN="${_PN}-Nightly" # stolen from the AUR PKGBUILD with irrelevant options removed (here irrelvant means the feature is controlled via a useflag so there's no need to unconditionally enable/disable it here. Only the common options we want to always apply are listed here) cat >> "${S}/.mozconfig" <> "$vendorjs" <