Compare commits
19
Commits
cc231c5694
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be3b153294
|
||
|
|
852f8390eb
|
||
|
|
5206526141
|
||
|
|
e4ffd369cb
|
||
|
|
bcaaa68f0c
|
||
|
|
fcb752c56c
|
||
|
|
7547ed2eb2
|
||
|
|
edcab6a159
|
||
|
|
3e143f54bd
|
||
|
|
41bb7d0149
|
||
|
|
6799c6c603
|
||
|
|
7d404429cf
|
||
|
|
a54bb76e6d
|
||
|
|
696c2e395f
|
||
|
|
c2c25af506
|
||
|
|
d3ef337dee
|
||
|
|
467f42a361
|
||
|
|
1dcf07b316
|
||
|
|
76f67b3bbc
|
@@ -0,0 +1,3 @@
|
|||||||
|
# Ignore BPM archives and signatures
|
||||||
|
*.bpm
|
||||||
|
*.bpm.sig
|
||||||
+5
-5
@@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Codeberg repository
|
# Gitea repository
|
||||||
REPO="librewolf/source"
|
REPO="librewolf/source"
|
||||||
|
|
||||||
# Get version from tag name using Codeberg Rest API
|
# Get version from tag name using Gitea Rest API
|
||||||
TAG_NAME=$(curl -s -L https://codeberg.org/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
|
TAG_NAME=$(curl -s -L https://librewolf.dev/api/v1/repos/$REPO/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
# Get version number from tag name
|
# Replace '-' with 'p'
|
||||||
VERSION=$(echo "$TAG_NAME" | tr '-' 'p')
|
VERSION=${TAG_NAME//-/p}
|
||||||
|
|
||||||
echo "$VERSION"
|
echo "$VERSION"
|
||||||
|
|||||||
+5
-3
@@ -1,9 +1,11 @@
|
|||||||
name: librewolf
|
name: librewolf
|
||||||
description: A custom version of Firefox, focused on privacy, security and freedom
|
description: A custom version of Firefox, focused on privacy, security and freedom
|
||||||
version: 147.0.1p1
|
version: 154.0.1p3
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://librewolf.net/
|
url: https://librewolf.net/
|
||||||
license: MPL2
|
license: MPL2
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
@@ -50,7 +52,7 @@ make_depends:
|
|||||||
- rustc
|
- rustc
|
||||||
- unzip
|
- unzip
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://codeberg.org/api/packages/librewolf/generic/librewolf-source/${BPM_PKG_VERSION//p/-}/librewolf-${BPM_PKG_VERSION//p/-}.source.tar.gz
|
- url: https://librewolf.dev/api/packages/librewolf/generic/librewolf-source/${BPM_PKG_VERSION//p/-}/librewolf-${BPM_PKG_VERSION//p/-}.source.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 02933cf3f216a52af8d6513c10dc8d848a7a11a9f9458d8d9b69a2f2db5489c2
|
checksum: fee6caac30f9aff6dfd8fe868ce843602b03c3072609c86ff7fc6c17c397a6cc
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
# This function is used for putting downloaded files to the correct location or applying patches
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
|
|
||||||
# Generate mozconfig
|
# Generate mozconfig
|
||||||
cat > mozconfig <<-EOF
|
cat > mozconfig <<-EOF
|
||||||
ac_add_options --enable-application=browser
|
ac_add_options --enable-application=browser
|
||||||
@@ -48,6 +49,9 @@ build() {
|
|||||||
export MOZBUILD_STATE_PATH="$BPM_SOURCE"/mozbuild
|
export MOZBUILD_STATE_PATH="$BPM_SOURCE"/mozbuild
|
||||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
|
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
|
||||||
|
|
||||||
|
# Reduce chance of builds failung during linking due to running out of memory
|
||||||
|
export LDFLAGS+=" -Wl,--no-keep-memory"
|
||||||
|
|
||||||
./mach build
|
./mach build
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user