Update package version to 0.14
This commit is contained in:
+7
-4
@@ -1,10 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Github repository
|
||||
REPO="heftig/rtkit"
|
||||
# Gitlab repository
|
||||
REPO="pipewire/rtkit"
|
||||
|
||||
# Get tag name using Github Rest API
|
||||
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||
# 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 'v' character in TAG_NAME variable
|
||||
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||
|
||||
@@ -1,13 +1,17 @@
|
||||
name: rtkit
|
||||
description: Realtime Policy and Watchdog Daemon
|
||||
version: "0.13"
|
||||
revision: 2
|
||||
version: "0.14"
|
||||
revision: 1
|
||||
url: https://github.com/heftig/rtkit
|
||||
license: GPL3-or-later,MIT
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- dbus
|
||||
- glibc
|
||||
- libcap
|
||||
- elogind
|
||||
- polkit
|
||||
- sysusers
|
||||
@@ -15,7 +19,7 @@ make_depends:
|
||||
- meson
|
||||
- vim
|
||||
downloads:
|
||||
- url: https://github.com/heftig/rtkit/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||
- url: https://gitlab.freedesktop.org/pipewire/rtkit/-/archive/v${BPM_PKG_VERSION}/rtkit-v${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 0f9508530868109f0348e044cc1b20893672875467ace6d847ba6364274de003
|
||||
checksum: 55dd379b11f52b81655e2dc676de9d602d050cb0beb18ef01f0f65569f0a5e59
|
||||
|
||||
Reference in New Issue
Block a user