diff options
author | hayao | 2021-01-21 18:56:56 +0900 |
---|---|---|
committer | hayao | 2021-01-21 18:56:56 +0900 |
commit | 2827581bc84d140981c98a22ca91fb92bc450d38 (patch) | |
tree | fb25fd0aa7305e50931dcb4f35b54750f64be97b /PKGBUILD | |
parent | 7ebe35fc44aef74b8bbac982ee2254d64cb39b1d (diff) | |
download | aur-2827581bc84d140981c98a22ca91fb92bc450d38.tar.gz |
[fix] : Use pulseaudio command
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,7 +3,9 @@ # Contributar: tleydxdy https://aur.archlinux.org/packages/pulseaudio-modules-bt/#comment-786420 get_pulseaudio_version() { - printf "$(pkg-config libpulse --modversion|sed 's/[^0-9.]*\([0-9.]*\).*/\1/')" + #printf "$(pkg-config libpulse --modversion|sed 's/[^0-9.]*\([0-9.]*\).*/\1/')" + #printf "$(pacman -Q "$(basename "${pulseaudio_pkgname}")" | cut -d ' ' -f 2 | cut -d '-' -f 1)" + printf "$(pulseaudio --version | cut -d " " -f 2)" } #-- PulseAudio --# @@ -13,7 +15,7 @@ pulseaudio_ver="$(get_pulseaudio_version)" pkgname="pulseaudio-modules-bt" module_ver="1.4" pkgver="${module_ver}_${pulseaudio_ver}" -pkgrel="1" +pkgrel="5" pkgdesc="PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support" arch=("i686" "x86_64" "arm" "armv6h" "armv7h" "aarch64") url="https://github.com/EHfive/pulseaudio-modules-bt" |