# Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor (Arch): Ionut Biru # Contributor (Arch): Jakub Schmidtke # Contributor: Figue # Contributor: fauno # Contributor: evr # Contributor: Muhammad 'MJ' Jassim # Contributor: vando # Contributor: André Silva # Contributor: Henry Jensen # Contributor: Luke Shumaker # Contributor: Márcio Silva # Maintainer: Andreas Grapentin # NOTE: this is a not a release # it is a WIP, based on an untested, pre-release source-ball # which is published only for the sake of those who want to help pkgname=icecat _upstream_ver=78.4.0-gnu1 pkgver=${_upstream_ver//-/_} pkgrel=3 pkgdesc="GNU IceCat - a libre standalone web browser based on Mozilla Firefox ESR" arch=(x86_64 i686 armv7h) license=(MPL GPL LGPL) url=http://www.gnu.org/software/gnuzilla/ depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse) makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2 nodejs cbindgen nasm python-setuptools python-psutil lld) 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') options=(!emptydirs !makeflags !debug) # source=(http://ftp.gnu.org/gnu/gnuzilla/${_upstream_ver%-*}/${pkgname}-${_upstream_ver}.tar.bz2{,.sig} source=(https://repo.parabola.nu/other/wip/${pkgname}-${_upstream_ver}-pre.tar.bz2{,.sig} $pkgname.desktop gnu_headshadow.png # libre-searchengines.patch libre.patch mozilla-1463035.patch) # deny_missing_docs.patch # fix-double-definition-of-gettid.patch) sha256sums=('6873d55b13e2d95ede3bf5bb59769179e91b1c4e05d8538d1576f18c9a6bb827' 'SKIP' '2f9d117c1524312fb45f3e953cb0de02c525fd385a9b2b6d47308c8aaab0aedd' '93e3001ce152e1d142619e215a9ef07dd429943b99d21726c25da9ceb31e31cd' '99c279d04315c332a973a29b6ee540962364cd6d53cdaafc4055b3e1973e20da' '65a560566db10e11bb1114805a653feaa40f4ff3775ac7e5f84d956deee2ed0a' '6c3781e13d3e8343aa2435bdb78d2e2666891154c7abd847388e5331e0424edb' 'cb1116c783995b8187574f84acb8365681aedaa2c76222cf060d31fedcb063c4' '3ea006eafe4cee790955024faca3b3d7ac6cd6968b50635b9da3c254a07f4791') validpgpkeys=('318C679D94F17700CC847DE646A70073E4E50D4E' # Ruben Rodriguez '3954A7AB837D0EA9CFA9798925DB7D9B5A8D4B40') # bill-auger prepare() { cd "$srcdir/$pkgname-${pkgver%_*}" # echo "applying deny_missing_docs.patch" # patch -Np1 -i ../deny_missing_docs.patch # echo "applying fix-double-definition-of-gettid.patch" # patch -Np1 -i ../fix-double-definition-of-gettid.patch # needed for 60.7-esr export CXXFLAGS="$CXXFLAGS -fpermissive" # Move files directly to /usr/lib/icecat (no more symlinks) local sed_rx='s;$(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION);$(libdir)/$(MOZ_APP_NAME);g' sed -e "${sed_rx}" -i config/baseconfig.mk sed_rx='s;$(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION);$(libdir)/$(MOZ_APP_NAME)-devel;g' sed -e "${sed_rx}" -i config/baseconfig.mk cat >.mozconfig <> .mozconfig <=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))") cd "$srcdir/$pkgname-${pkgver%_*}" DESTDIR="$pkgdir" ./mach install _vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js" install -Dm644 /dev/stdin "$_vendorjs" <