Update package version to 2.58.0
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ REPO="GNOME/at-spi2-core"
|
|||||||
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
|
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
|
||||||
|
|
||||||
# Get tag name using Gitlab Rest API
|
# 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')
|
TAG_NAME=$(curl -s -L https://gitlab.gnome.org/api/v4/projects/"$REPO"/releases/ | jq -r '.[].tag_name' | sort -V | tail -n1)
|
||||||
|
|
||||||
# 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,6 +1,6 @@
|
|||||||
name: at-spi2-core
|
name: at-spi2-core
|
||||||
description: Base DBus XML interfaces for accessibility, the accessibility registry daemon, and atspi library
|
description: Base DBus XML interfaces for accessibility, the accessibility registry daemon, and atspi library
|
||||||
version: 2.57.2
|
version: 2.58.0
|
||||||
url: https://gitlab.gnome.org/GNOME/at-spi2-core
|
url: https://gitlab.gnome.org/GNOME/at-spi2-core
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -15,19 +15,14 @@ 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 --libdir=/usr/lib --buildtype=release -Duse_systemd=false build
|
||||||
cd build
|
meson compile -C build
|
||||||
|
|
||||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Duse_systemd=false ..
|
|
||||||
meson compile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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"/COPYING "$BPM_OUTPUT"/usr/share/licenses/at-spi2-core/COPYING
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/at-spi2-core/COPYING
|
||||||
|
|||||||
Reference in New Issue
Block a user