mirror of
				https://aur.archlinux.org/firedragon.git
				synced 2025-11-04 07:56:59 +00:00 
			
		
		
		
	Still need lld to build successfully
This commit is contained in:
		
							
								
								
									
										3
									
								
								.SRCINFO
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								.SRCINFO
									
									
									
									
									
								
							@@ -1,7 +1,7 @@
 | 
				
			|||||||
pkgbase = firedragon
 | 
					pkgbase = firedragon
 | 
				
			||||||
	pkgdesc = Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE
 | 
						pkgdesc = Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE
 | 
				
			||||||
	pkgver = 106.0
 | 
						pkgver = 106.0
 | 
				
			||||||
	pkgrel = 1
 | 
						pkgrel = 2
 | 
				
			||||||
	url = https://gitlab.com/dr460nf1r3/settings/
 | 
						url = https://gitlab.com/dr460nf1r3/settings/
 | 
				
			||||||
	install = firedragon.install
 | 
						install = firedragon.install
 | 
				
			||||||
	arch = x86_64
 | 
						arch = x86_64
 | 
				
			||||||
@@ -32,6 +32,7 @@ pkgbase = firedragon
 | 
				
			|||||||
	makedepends = git
 | 
						makedepends = git
 | 
				
			||||||
	makedepends = binutils
 | 
						makedepends = binutils
 | 
				
			||||||
	makedepends = dump_syms
 | 
						makedepends = dump_syms
 | 
				
			||||||
 | 
						makedepends = lld
 | 
				
			||||||
	makedepends = wasi-compiler-rt>13
 | 
						makedepends = wasi-compiler-rt>13
 | 
				
			||||||
	makedepends = wasi-libc>=1:0+258+30094b6
 | 
						makedepends = wasi-libc>=1:0+258+30094b6
 | 
				
			||||||
	makedepends = wasi-libc++>13
 | 
						makedepends = wasi-libc++>13
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										97
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										97
									
								
								PKGBUILD
									
									
									
									
									
								
							@@ -1,5 +1,5 @@
 | 
				
			|||||||
# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
 | 
					# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
 | 
				
			||||||
# Contibutor: Peter Jung <admin@ptr1337.dev>
 | 
					# Contributor: Peter Jung <admin@ptr1337.dev>
 | 
				
			||||||
# Contributor: vnepogodin
 | 
					# Contributor: vnepogodin
 | 
				
			||||||
# Contributor: torvic9 AT mailbox DOT org
 | 
					# Contributor: torvic9 AT mailbox DOT org
 | 
				
			||||||
# Contributor: lsf
 | 
					# Contributor: lsf
 | 
				
			||||||
@@ -7,48 +7,48 @@
 | 
				
			|||||||
pkgname=firedragon
 | 
					pkgname=firedragon
 | 
				
			||||||
_pkgname=FireDragon
 | 
					_pkgname=FireDragon
 | 
				
			||||||
pkgver=106.0
 | 
					pkgver=106.0
 | 
				
			||||||
pkgrel=1
 | 
					pkgrel=2
 | 
				
			||||||
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
 | 
					pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
 | 
				
			||||||
arch=(x86_64 x86_64_v3 aarch64)
 | 
					arch=(x86_64 x86_64_v3 aarch64)
 | 
				
			||||||
backup=('usr/lib/firedragon/firedragon.cfg'
 | 
					backup=('usr/lib/firedragon/firedragon.cfg'
 | 
				
			||||||
        'usr/lib/firedragon/distribution/policies.json')
 | 
					  'usr/lib/firedragon/distribution/policies.json')
 | 
				
			||||||
license=(MPL GPL LGPL)
 | 
					license=(MPL GPL LGPL)
 | 
				
			||||||
url=https://gitlab.com/dr460nf1r3/settings/
 | 
					url=https://gitlab.com/dr460nf1r3/settings/
 | 
				
			||||||
depends=(gtk3 libxt mime-types dbus-glib nss ttf-font libpulse ffmpeg)
 | 
					depends=(gtk3 libxt mime-types dbus-glib nss ttf-font libpulse ffmpeg)
 | 
				
			||||||
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
 | 
					makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
 | 
				
			||||||
             autoconf2.13 rust clang llvm jack nodejs cbindgen nasm mold
 | 
					  autoconf2.13 rust clang llvm jack nodejs cbindgen nasm mold
 | 
				
			||||||
             python-setuptools python-zstandard git binutils dump_syms
 | 
					  python-setuptools python-zstandard git binutils dump_syms lld
 | 
				
			||||||
             'wasi-compiler-rt>13' 'wasi-libc>=1:0+258+30094b6' 'wasi-libc++>13' 'wasi-libc++abi>13' pciutils) # pciutils: only to avoid some PGO warning
 | 
					  'wasi-compiler-rt>13' 'wasi-libc>=1:0+258+30094b6' 'wasi-libc++>13' 'wasi-libc++abi>13' pciutils) # pciutils: only to avoid some PGO warning
 | 
				
			||||||
optdepends=('firejail-git: Sandboxing the browser using the included profiles'
 | 
					optdepends=('firejail-git: Sandboxing the browser using the included profiles'
 | 
				
			||||||
            'profile-sync-daemon: Load the browser profile into RAM'
 | 
					  'profile-sync-daemon: Load the browser profile into RAM'
 | 
				
			||||||
            'whoogle: Searching the web using a locally running Whoogle instance'
 | 
					  'whoogle: Searching the web using a locally running Whoogle instance'
 | 
				
			||||||
            'searx: Searching the web using a locally running searX instance'
 | 
					  'searx: Searching the web using a locally running searX instance'
 | 
				
			||||||
            'networkmanager: Location detection via available WiFi networks'
 | 
					  'networkmanager: Location detection via available WiFi networks'
 | 
				
			||||||
            'libnotify: Notification integration'
 | 
					  'libnotify: Notification integration'
 | 
				
			||||||
            'pulseaudio: Audio support'
 | 
					  'pulseaudio: Audio support'
 | 
				
			||||||
            'speech-dispatcher: Text-to-Speech'
 | 
					  'speech-dispatcher: Text-to-Speech'
 | 
				
			||||||
            'hunspell-en_US: Spell checking, American English'
 | 
					  'hunspell-en_US: Spell checking, American English'
 | 
				
			||||||
            'libappindicator-gtk3: Global menu support for GTK apps'
 | 
					  'libappindicator-gtk3: Global menu support for GTK apps'
 | 
				
			||||||
            'appmenu-gtk-module-git: Appmenu for GTK only'
 | 
					  'appmenu-gtk-module-git: Appmenu for GTK only'
 | 
				
			||||||
            'plasma5-applets-window-appmenu: Appmenu for Plasma only')
 | 
					  'plasma5-applets-window-appmenu: Appmenu for Plasma only')
 | 
				
			||||||
options=(!emptydirs !makeflags !strip !lto !debug)
 | 
					options=(!emptydirs !makeflags !strip !lto !debug)
 | 
				
			||||||
install=$pkgname.install
 | 
					install=$pkgname.install
 | 
				
			||||||
source=(https://archive.mozilla.org/pub/firefox/releases/"$pkgver"/source/firefox-"$pkgver".source.tar.xz{,.asc}
 | 
					source=(https://archive.mozilla.org/pub/firefox/releases/"$pkgver"/source/firefox-"$pkgver".source.tar.xz{,.asc}
 | 
				
			||||||
        "$pkgname.desktop"
 | 
					  "$pkgname.desktop"
 | 
				
			||||||
        "git+https://gitlab.com/dr460nf1r3/common.git"
 | 
					  "git+https://gitlab.com/dr460nf1r3/common.git"
 | 
				
			||||||
        "git+https://gitlab.com/dr460nf1r3/settings.git"
 | 
					  "git+https://gitlab.com/dr460nf1r3/settings.git"
 | 
				
			||||||
        "librewolf-source::git+https://gitlab.com/librewolf-community/browser/source.git"
 | 
					  "librewolf-source::git+https://gitlab.com/librewolf-community/browser/source.git"
 | 
				
			||||||
        "librewolf-settings::git+https://gitlab.com/librewolf-community/settings.git"
 | 
					  "librewolf-settings::git+https://gitlab.com/librewolf-community/settings.git"
 | 
				
			||||||
        "cachyos-source::git+https://github.com/CachyOS/CachyOS-Browser-Common.git")
 | 
					  "cachyos-source::git+https://github.com/CachyOS/CachyOS-Browser-Common.git")
 | 
				
			||||||
# source_aarch64=()
 | 
					# source_aarch64=()
 | 
				
			||||||
sha256sums=('1546ebfd9d5a814f17479ed626519ed69aa3c89c22c7fb1fe5c84e4d7e5d7e18'
 | 
					sha256sums=('1546ebfd9d5a814f17479ed626519ed69aa3c89c22c7fb1fe5c84e4d7e5d7e18'
 | 
				
			||||||
            'SKIP'
 | 
					  'SKIP'
 | 
				
			||||||
            '53d3e743f3750522318a786befa196237892c93f20571443fdf82a480e7f0560'
 | 
					  '53d3e743f3750522318a786befa196237892c93f20571443fdf82a480e7f0560'
 | 
				
			||||||
            'SKIP'
 | 
					  'SKIP'
 | 
				
			||||||
            'SKIP'
 | 
					  'SKIP'
 | 
				
			||||||
            'SKIP'
 | 
					  'SKIP'
 | 
				
			||||||
            'SKIP'
 | 
					  'SKIP'
 | 
				
			||||||
            'SKIP')
 | 
					  'SKIP')
 | 
				
			||||||
# sha256sums_aarch64=()
 | 
					# sha256sums_aarch64=()
 | 
				
			||||||
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com>
 | 
					validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -133,26 +133,26 @@ ac_add_options --disable-updater
 | 
				
			|||||||
ac_add_options --with-wasi-sysroot=/usr/share/wasi-sysroot
 | 
					ac_add_options --with-wasi-sysroot=/usr/share/wasi-sysroot
 | 
				
			||||||
END
 | 
					END
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [[ $CARCH == 'aarch64' ]]; then
 | 
					  if [[ $CARCH == 'aarch64' ]]; then
 | 
				
			||||||
  cat >>../mozconfig <<END
 | 
					    cat >>../mozconfig <<END
 | 
				
			||||||
# taken from manjaro build:
 | 
					# taken from manjaro build:
 | 
				
			||||||
ac_add_options --enable-optimize="-g0 -O2"
 | 
					ac_add_options --enable-optimize="-g0 -O2"
 | 
				
			||||||
END
 | 
					END
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  export MOZ_DEBUG_FLAGS=" "
 | 
					    export MOZ_DEBUG_FLAGS=" "
 | 
				
			||||||
  export CFLAGS+=" -g0"
 | 
					    export CFLAGS+=" -g0"
 | 
				
			||||||
  export CXXFLAGS+=" -g0"
 | 
					    export CXXFLAGS+=" -g0"
 | 
				
			||||||
  export RUSTFLAGS="-Cdebuginfo=0"
 | 
					    export RUSTFLAGS="-Cdebuginfo=0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # we should have more than enough RAM on the CI spot instances.
 | 
					    # we should have more than enough RAM on the CI spot instances.
 | 
				
			||||||
  # ...or maybe not?
 | 
					    # ...or maybe not?
 | 
				
			||||||
  export LDFLAGS+=" -Wl,--no-keep-memory"
 | 
					    export LDFLAGS+=" -Wl,--no-keep-memory"
 | 
				
			||||||
  # patch -Np1 -i "${_librewolf_patches_dir}"/arm.patch # not required anymore?
 | 
					    # patch -Np1 -i "${_librewolf_patches_dir}"/arm.patch # not required anymore?
 | 
				
			||||||
  # patch -Np1 -i ../${pkgver}-${pkgrel}_build-arm-libopus.patch
 | 
					    # patch -Np1 -i ../${pkgver}-${pkgrel}_build-arm-libopus.patch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
else
 | 
					  else
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  cat >>../mozconfig <<END
 | 
					    cat >>../mozconfig <<END
 | 
				
			||||||
# probably not needed, enabled by default?
 | 
					# probably not needed, enabled by default?
 | 
				
			||||||
ac_add_options --enable-optimize
 | 
					ac_add_options --enable-optimize
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -162,7 +162,7 @@ ac_add_options --disable-elf-hack
 | 
				
			|||||||
# might help with failing x86_64 builds?
 | 
					# might help with failing x86_64 builds?
 | 
				
			||||||
export LDFLAGS+=" -Wl,--no-keep-memory"
 | 
					export LDFLAGS+=" -Wl,--no-keep-memory"
 | 
				
			||||||
END
 | 
					END
 | 
				
			||||||
fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Upstream patches from gentoo
 | 
					  # Upstream patches from gentoo
 | 
				
			||||||
  # PGO improvements
 | 
					  # PGO improvements
 | 
				
			||||||
@@ -248,7 +248,6 @@ fi
 | 
				
			|||||||
  cp -r "${srcdir}"/common/source_files/* ./
 | 
					  cp -r "${srcdir}"/common/source_files/* ./
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
build() {
 | 
					build() {
 | 
				
			||||||
  cd firefox-"$pkgver"
 | 
					  cd firefox-"$pkgver"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -270,7 +269,7 @@ build() {
 | 
				
			|||||||
ac_add_options --enable-profile-generate
 | 
					ac_add_options --enable-profile-generate
 | 
				
			||||||
END
 | 
					END
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    else
 | 
					  else
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    cat >.mozconfig ../mozconfig - <<END
 | 
					    cat >.mozconfig ../mozconfig - <<END
 | 
				
			||||||
ac_add_options --enable-profile-generate=cross
 | 
					ac_add_options --enable-profile-generate=cross
 | 
				
			||||||
@@ -321,9 +320,9 @@ END
 | 
				
			|||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # cat >>.mozconfig <<END
 | 
					  # cat >>.mozconfig <<END
 | 
				
			||||||
# ac_add_options --enable-linker=lld
 | 
					  # ac_add_options --enable-linker=lld
 | 
				
			||||||
# ac_add_options --disable-bootstrap
 | 
					  # ac_add_options --disable-bootstrap
 | 
				
			||||||
# END
 | 
					  # END
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ./mach build
 | 
					  ./mach build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user