Rebuild with inih and libheif and automatic stripping

This commit is contained in:
2025-10-28 14:50:03 +02:00
parent e8acf1ba18
commit de9b009225
2 changed files with 21 additions and 10 deletions
+1 -7
View File
@@ -2,15 +2,9 @@
# 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://git.sr.ht/~exec64/imv/archive/v${BPM_PKG_VERSION}.tar.gz"
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"
# Apply icu 76.1 patch
cd "$BPM_SOURCE"
patch -Np1 -i ../imv-4.5.0-Link-to-the-common-ICU-library.patch