Update package version to 0.14.6

This commit is contained in:
2025-09-16 11:52:00 +03:00
parent 755efdcc17
commit 5419ae0c20
3 changed files with 20 additions and 13 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Gitlab repository
REPO="GNOME/gexiv2"
# Replace slash with URL encoded representation
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
# Get tag name using Gitlab Rest API
TAG_NAME=$(curl -s -L https://gitlab.gnome.org/api/v4/projects/"$REPO"/releases/permalink/latest | jq -r '.tag_name')
# Trim 'v' character in TAG_NAME variable
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
echo "$VERSION"
+1 -2
View File
@@ -1,7 +1,6 @@
name: gexiv2
description: GObject wrapper around the Exiv2 photo metadata library
version: 0.14.3
revision: 2
version: 0.14.6
url: https://gitlab.gnome.org/GNOME/gexiv2
license: GPL2-or-later
architecture: any
+4 -11
View File
@@ -15,27 +15,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 --buildtype=release -Dtests=true ..
meson compile
meson setup --prefix=/usr --buildtype=release -Dtests=true 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 --print-errorlogs
}
# 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 -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gexiv2/COPYING
}