This commit is contained in:
Joan Figueras 2022-06-29 20:56:25 +02:00
parent 4e66cd2dc6
commit b3144dc173
2 changed files with 15 additions and 8 deletions

View file

@ -1,6 +1,6 @@
pkgbase = icecat
pkgdesc = GNU version of the Firefox browser.
pkgver = 91.10.0
pkgver = 91.11.0
pkgrel = 1
url = http://www.gnu.org/software/gnuzilla/
arch = x86_64
@ -51,13 +51,15 @@ pkgbase = icecat
options = !emptydirs
options = !makeflags
options = !strip
source = https://git.savannah.gnu.org/cgit/gnuzilla.git/snapshot/gnuzilla-4c39c619daf344f36962d958d809f6d42d3fce4e.tar.gz
source = https://git.savannah.gnu.org/cgit/gnuzilla.git/snapshot/gnuzilla-65a61287a5142a9403ec00d973cb5e5d658a3c71.tar.gz
source = icecat.desktop
source = icecat-safe.desktop
source = 0001-Use-remoting-name-for-GDK-application-names.patch::https://raw.githubusercontent.com/archlinux/svntogit-packages/0adcedc05ce67d53268575f8801c8de872206901/firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch
sha256sums = 557a9df4f019e497feab61e000ed90c11913f04862140d868b39061343f88d51
source = https://raw.githubusercontent.com/canonical/firefox-snap/5622734942524846fb0eb7108918c8cd8557fde3/patches/fix-ftbfs-newer-cbindgen.patch
sha256sums = 463cc1038ae7c2b6e62941d6bc42d47efccc247cbd28409516bb47fc8b396312
sha256sums = e00dbf01803cdd36fd9e1c0c018c19bb6f97e43016ea87062e6134bdc172bc7d
sha256sums = 33dd309eeb99ec730c97ba844bf6ce6c7840f7d27da19c82389cdefee8c20208
sha256sums = bb9769a8fe720abea2bba5b895c70c4fba0d44bb553399d83350268edf85cdeb
sha256sums = d3ea2503dff0a602bb058153533ebccd8232e8aac1dc82437a55d724b8d22bc2
pkgname = icecat

View file

@ -5,9 +5,9 @@
# Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com>
pkgname=icecat
pkgver=91.10.0
pkgver=91.11.0
pkgrel=1
_commit=4c39c619daf344f36962d958d809f6d42d3fce4e
_commit=65a61287a5142a9403ec00d973cb5e5d658a3c71
pkgdesc="GNU version of the Firefox browser."
arch=(x86_64)
url="http://www.gnu.org/software/gnuzilla/"
@ -26,12 +26,14 @@ options=(!emptydirs !makeflags !strip)
source=(https://git.savannah.gnu.org/cgit/gnuzilla.git/snapshot/gnuzilla-${_commit}.tar.gz
icecat.desktop icecat-safe.desktop
"0001-Use-remoting-name-for-GDK-application-names.patch::https://raw.githubusercontent.com/archlinux/svntogit-packages/0adcedc05ce67d53268575f8801c8de872206901/firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch")
"0001-Use-remoting-name-for-GDK-application-names.patch::https://raw.githubusercontent.com/archlinux/svntogit-packages/0adcedc05ce67d53268575f8801c8de872206901/firefox/trunk/0001-Use-remoting-name-for-GDK-application-names.patch"
'https://raw.githubusercontent.com/canonical/firefox-snap/5622734942524846fb0eb7108918c8cd8557fde3/patches/fix-ftbfs-newer-cbindgen.patch')
sha256sums=('557a9df4f019e497feab61e000ed90c11913f04862140d868b39061343f88d51'
sha256sums=('463cc1038ae7c2b6e62941d6bc42d47efccc247cbd28409516bb47fc8b396312'
'e00dbf01803cdd36fd9e1c0c018c19bb6f97e43016ea87062e6134bdc172bc7d'
'33dd309eeb99ec730c97ba844bf6ce6c7840f7d27da19c82389cdefee8c20208'
'bb9769a8fe720abea2bba5b895c70c4fba0d44bb553399d83350268edf85cdeb')
'bb9769a8fe720abea2bba5b895c70c4fba0d44bb553399d83350268edf85cdeb'
'd3ea2503dff0a602bb058153533ebccd8232e8aac1dc82437a55d724b8d22bc2')
prepare() {
cd gnuzilla-${_commit}
@ -127,6 +129,9 @@ EOF
# https://bugzilla.mozilla.org/show_bug.cgi?id=1530052
patch -Np1 -i ../../../0001-Use-remoting-name-for-GDK-application-names.patch
# cbindgen
patch -Np1 -i ../../../fix-ftbfs-newer-cbindgen.patch
# Patch to move files directly to /usr/lib/icecat. No more symlinks.
sed -e 's;$(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION);$(libdir)/$(MOZ_APP_NAME);g' -i config/baseconfig.mk
sed -e 's;$(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION);$(libdir)/$(MOZ_APP_NAME)-devel;g' -i config/baseconfig.mk