Rebuild with icu 77.1
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user