Update package version to 4.19.1

This commit is contained in:
2025-09-16 20:03:28 +03:00
parent 8d27e292db
commit 41edae6375
3 changed files with 17 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Gitlab repository
REPO="GNOME/gtkmm"
# 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 | jq -r '.[].tag_name' | grep '^4.' | head -n1)
echo "$TAG_NAME"
+1 -2
View File
@@ -1,7 +1,6 @@
name: gtkmm4
description: The official C++ interface for the popular GUI library GTK (version 4)
version: 4.16.0
revision: 2
version: 4.19.1
url: https://www.gtkmm.org/
license: LGPL2.1-or-later
architecture: any
+4 -7
View File
@@ -15,19 +15,16 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir gtkmm3-build
cd gtkmm3-build
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dmaintainer-mode=false ..
ninja
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dmaintainer-mode=false build
meson compile -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 gtkmm3-build
DESTDIR="$BPM_OUTPUT" ninja install
meson install -C build --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING.tools "$BPM_OUTPUT"/usr/share/licenses/gtkmm3/COPYING.tools
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gtkmm3/COPYING
}