Update package version to 0.19.0
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Gitlab repository
|
||||||
|
REPO="wlroots/wlroots"
|
||||||
|
|
||||||
|
# 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.freedesktop.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name')
|
||||||
|
|
||||||
|
# Trim '-gitlab' suffix
|
||||||
|
TAG_NAME=$(echo "$TAG_NAME" | sed 's/-gitlab//g')
|
||||||
|
|
||||||
|
# Get version number from tag name
|
||||||
|
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
||||||
|
|
||||||
|
# Trim 'v' character in VERSION variable
|
||||||
|
VERSION=$(echo "$VERSION" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
name: wlroots
|
name: wlroots
|
||||||
description: A modular Wayland compositor library
|
description: A modular Wayland compositor library
|
||||||
version: 0.18.2
|
version: 0.19.0
|
||||||
url: https://gitlab.freedesktop.org/wlroots/wlroots
|
url: https://gitlab.freedesktop.org/wlroots/wlroots
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["libdisplay-info","libglvnd","libinput","libxcb","libxkbcommon","mesa","seatd","udev","vulkan-loader","wayland","xcb-util-errors","xcb-util-renderutil","xcb-util-wm","xcb-util-wm"]
|
depends: ["libdisplay-info","libglvnd","libinput","libxcb","libxkbcommon","lcms2","mesa","seatd","udev","vulkan-loader","wayland","xcb-util-errors","xcb-util-renderutil","xcb-util-wm"]
|
||||||
optional_depends: ["xorg-xwayland"]
|
optional_depends: ["xorg-xwayland"]
|
||||||
make_depends: ["glslang","meson","ninja","vulkan-headers","wayland-protocols","xorg-xwayland"]
|
make_depends: ["glslang","meson","ninja","vulkan-headers","wayland-protocols","xorg-xwayland"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
Reference in New Issue
Block a user