Update package version to 1.2.12
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="alsa-project/alsa-plugins"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/tags | jq -r '.[0].name')
|
||||||
|
|
||||||
|
# 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: alsa-plugins
|
name: alsa-plugins
|
||||||
description: Additional ALSA plugins
|
description: Additional ALSA plugins
|
||||||
version: 1.2.7.1
|
version: 1.2.12
|
||||||
url: https://www.alsa-project.org/
|
url: https://www.alsa-project.org/
|
||||||
license: GPL2-or-later,LGPL2.1-or-later
|
license: GPL2-or-later,LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["alsa-lib","glibc"]
|
depends: ["alsa-lib","glibc"]
|
||||||
optional_depends: ["dbus","ffmpeg","pipewire","pulseaudio","libsamplerate","speexdsp"]
|
optional_depends: ["dbus","ffmpeg","pipewire","libpulse","libsamplerate","speexdsp"]
|
||||||
make_depends: ["dbus","ffmpeg","pipewire","pulseaudio","libsamplerate","speexdsp"]
|
make_depends: ["dbus","ffmpeg","pipewire","libpulse","libsamplerate","speexdsp"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
Reference in New Issue
Block a user