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 name: gtkmm4
description: The official C++ interface for the popular GUI library GTK (version 4) description: The official C++ interface for the popular GUI library GTK (version 4)
version: 4.16.0 version: 4.19.1
revision: 2
url: https://www.gtkmm.org/ url: https://www.gtkmm.org/
license: LGPL2.1-or-later license: LGPL2.1-or-later
architecture: any architecture: any
+4 -7
View File
@@ -15,19 +15,16 @@ 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 gtkmm3-build meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dmaintainer-mode=false build
cd gtkmm3-build meson compile -C build
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dmaintainer-mode=false ..
ninja
} }
# 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 gtkmm3-build meson install -C build --destdir="$BPM_OUTPUT"
DESTDIR="$BPM_OUTPUT" ninja install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING.tools "$BPM_OUTPUT"/usr/share/licenses/gtkmm3/COPYING.tools 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 install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gtkmm3/COPYING
} }