Swap pulseaudio dependency with libpulse

This commit is contained in:
2025-07-17 13:36:17 +03:00
parent 0700d6587b
commit 7a7f0e38bc
2 changed files with 17 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Github repository
REPO="ErikReider/SwayNotificationCenter"
# 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"/releases/latest | jq -r '.tag_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"
+2 -1
View File
@@ -1,9 +1,10 @@
name: swaync
description: A simple GTK based notification daemon for any Wayland compositor
version: 0.10.1
revision: 2
url: https://github.com/ErikReider/SwayNotificationCenter
license: GPL3-only
architecture: any
depends: ["glib","granite","gtk-layer-shell","gtk3","json-glib","libgee","libhandy","pulseaudio"]
depends: ["glib","granite","gtk-layer-shell","gtk3","json-glib","libgee","libhandy","libpulse"]
make_depends: ["gobject-introspection","meson","sassc","scdoc","vala"]
type: source