Update package version to 2.50.0
This commit is contained in:
@@ -2,20 +2,16 @@
|
||||
# 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
|
||||
|
||||
DOWNLOAD="https://webkitgtk.org/releases/webkitgtk-${BPM_PKG_VERSION}.tar.xz"
|
||||
FILENAME="${DOWNLOAD##*/}"
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for downloading files and putting them into the correct location
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
wget "$DOWNLOAD"
|
||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||
cd "$BPM_SOURCE"
|
||||
patch -Np1 -i "$BPM_WORKDIR"/gstreamer-1.27.2.patch
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
|
||||
local options=(
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
@@ -35,6 +31,10 @@ build() {
|
||||
-DUSE_SYSPROF_CAPTURE=NO
|
||||
-Wno-dev
|
||||
)
|
||||
|
||||
# Use Clang as recommended by upstream
|
||||
export CC=clang CXX=clang++
|
||||
LDFLAGS+=" =fise-ld=lld"
|
||||
|
||||
cmake -B build-gtk4 "${options[@]}" -DUSE_GTK4=ON
|
||||
cmake -B build-gtk3 "${options[@]}" -DUSE_GTK4=OFF
|
||||
|
||||
Reference in New Issue
Block a user