Rebuild with icu 77.1
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
REPO="https://git.sr.ht/~exec64/imv"
|
REPO="https://git.sr.ht/~exec64/imv"
|
||||||
|
|
||||||
# Get tag name using 'git ls-remote'
|
# 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
|
# Trim 'v' character in TAG_NAME variable
|
||||||
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
name: imv
|
name: imv
|
||||||
description: X11 and Wayland image viewer intended for use with tiling window managers
|
description: X11 and Wayland image viewer intended for use with tiling window managers
|
||||||
version: 4.5.0
|
version: 4.5.0
|
||||||
|
revision: 2
|
||||||
url: https://sr.ht/~exec64/imv/
|
url: https://sr.ht/~exec64/imv/
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glu","libjxl","librsvg","libxkbcommon","pango"]
|
depends: ["glu","icu","libjxl","librsvg","libxkbcommon","pango"]
|
||||||
make_depends: ["asciidoc","cmake","cmocka","meson"]
|
make_depends: ["asciidoc","cmake","cmocka","meson"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -19,27 +19,20 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
mkdir build
|
meson setup --prefix=/usr build
|
||||||
cd build
|
meson compile -C build
|
||||||
|
|
||||||
meson setup --prefix=/usr
|
|
||||||
meson compile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
# The check function is executed in the source directory
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
cd build
|
meson test -C build
|
||||||
|
|
||||||
meson test
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
cd build
|
meson install -C build --destdir="$BPM_OUTPUT"
|
||||||
|
|
||||||
meson install --destdir="$BPM_OUTPUT"
|
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/imv/LICENSE
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/imv/LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user