Rebuild with icu 77.1

This commit is contained in:
2025-09-13 21:45:55 +03:00
parent 2de2579a96
commit e8acf1ba18
3 changed files with 7 additions and 13 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
REPO="https://git.sr.ht/~exec64/imv"
# Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3)
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | grep -v '-' | tail -1 | cut -d'/' -f3)
# Trim 'v' character in TAG_NAME variable
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
+2 -1
View File
@@ -1,9 +1,10 @@
name: imv
description: X11 and Wayland image viewer intended for use with tiling window managers
version: 4.5.0
revision: 2
url: https://sr.ht/~exec64/imv/
license: MIT
architecture: any
depends: ["glu","libjxl","librsvg","libxkbcommon","pango"]
depends: ["glu","icu","libjxl","librsvg","libxkbcommon","pango"]
make_depends: ["asciidoc","cmake","cmocka","meson"]
type: source
+4 -11
View File
@@ -19,27 +19,20 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir build
cd build
meson setup --prefix=/usr
meson compile
meson setup --prefix=/usr build
meson compile -C build
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
cd build
meson test
meson test -C build
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
cd build
meson install --destdir="$BPM_OUTPUT"
meson install -C build --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/imv/LICENSE