Update package version to 1.4.6
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Gitlab repository
|
||||||
|
REPO="pipewire/pipewire"
|
||||||
|
|
||||||
|
# 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,9 +1,10 @@
|
|||||||
name: pipewire
|
name: pipewire
|
||||||
description: Low-latency audio/video router and processor
|
description: Low-latency audio/video router and processor
|
||||||
url: https://pipewire.org/
|
url: https://pipewire.org/
|
||||||
version: 1.0.3
|
version: 1.4.6
|
||||||
license: LGPL2.1-or-later,MIT
|
license: LGPL2.1-or-later,MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc","glibc","dbus","glib","ncurses","readline"]
|
depends: ["gcc","glibc","dbus","glib","libpulse","ncurses","readline"]
|
||||||
make_depends: ["alsa-lib","pulseaudio","libsndfile","libx11","libxfixes","meson","opus","valgrind","desktop-file-utils"]
|
make_depends: ["alsa-lib","libsndfile","libx11","libxfixes","meson","opus","valgrind","desktop-file-utils"]
|
||||||
|
conflicts: ["pulseaudio"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# copy or symlink this file to /etc/pipewire/pipewire.conf.d (system configuration)
|
||||||
|
# or ${XDG_CONFIG_HOME}/pipewire/pipewire.conf.d (per-user configuration)
|
||||||
|
# to configure pipewire to launch pipewire-pulse directly
|
||||||
|
|
||||||
|
context.exec = [ { path = "/usr/bin/pipewire" args = "-c pipewire-pulse.conf" } ]
|
||||||
@@ -33,7 +33,12 @@ check() {
|
|||||||
# 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
|
cd build
|
||||||
|
|
||||||
DESTDIR="$BPM_OUTPUT" ninja install
|
DESTDIR="$BPM_OUTPUT" ninja install
|
||||||
|
|
||||||
|
# Install pipewire-pulse launcher config file from Void Linux
|
||||||
|
install -Dm644 "$BPM_WORKDIR"/20-pipewire-pulse.conf "$BPM_OUTPUT"/usr/share/examples/pipewire/20-pipewire-pulse.conf
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/pipewire/COPYING
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/pipewire/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user