Fri 28 Oct 2022 10:00:08 PM CEST
This commit is contained in:
parent
97f4669180
commit
ea5f0e7c18
2 changed files with 8 additions and 7 deletions
|
|
@ -6,6 +6,7 @@ source_release:=$(shell cat source_release)
|
|||
full_version:=$(version)-$(source_release)$(shell [ $(release) -gt 1 ] && echo "-$(release)")
|
||||
|
||||
mozbuild=~/.mozbuild
|
||||
assets=assets/linux-base
|
||||
ifeq ($(target_type),)
|
||||
target_type:=flatpak
|
||||
endif
|
||||
|
|
@ -77,8 +78,8 @@ veryclean : clean
|
|||
|
||||
# this is the place to apply patches and create a custom mozconfig
|
||||
pre-build :
|
||||
cp -v assets/mozconfig.$(arch) librewolf-$(full_version)/mozconfig
|
||||
./assets/pre_build_patches_mozconfig.sh
|
||||
cp -v $(assets)/mozconfig.$(arch) librewolf-$(full_version)/mozconfig
|
||||
./$(assets)/pre_build_patches_mozconfig.sh
|
||||
|
||||
build : dir
|
||||
(cd librewolf-$(full_version) && ./mach build)
|
||||
|
|
@ -91,7 +92,7 @@ package : dir
|
|||
|
||||
post-package :
|
||||
cp -v librewolf-$(full_version)/obj-$(arch)-pc-linux-gnu/dist/librewolf-$(full_version).en-US.linux-$(arch).tar.bz2 .
|
||||
./assets/post_package_distini_etc.sh
|
||||
./$(assets)/post_package_distini_etc.sh
|
||||
|
||||
artifacts :
|
||||
${MAKE} -f assets/$(target_type)/artifacts.mk artifacts
|
||||
|
|
|
|||
|
|
@ -31,12 +31,12 @@ fi
|
|||
cd librewolf-$full_version
|
||||
|
||||
# hopefully the magic sauce that makes things build on 18.04 and later on work "everywhere"
|
||||
patch -Np1 -i ../assets/deb_patches/armhf-reduce-linker-memory-use.patch
|
||||
patch -Np1 -i ../assets/deb_patches/reduce-rust-debuginfo.patch
|
||||
patch -Np1 -i ../assets/deb_patches/use-system-icupkg.patch
|
||||
patch -Np1 -i ../assets/linux-base//deb_patches/armhf-reduce-linker-memory-use.patch
|
||||
patch -Np1 -i ../assets/linux-base//deb_patches/reduce-rust-debuginfo.patch
|
||||
patch -Np1 -i ../assets/linux-base//deb_patches/use-system-icupkg.patch
|
||||
|
||||
# might make the build just a tiny bit cleaner, not really required though
|
||||
patch -Np1 -i ../assets/deb_patches/fix-wayland-build.patch
|
||||
patch -Np1 -i ../assets/linux-base//deb_patches/fix-wayland-build.patch
|
||||
|
||||
cd ..
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue