git subrepo pull pulseaudio-modules-bt

subrepo:
  subdir:   "pulseaudio-modules-bt"
  merged:   "313a0a4"
upstream:
  origin:   "https://aur.archlinux.org/pulseaudio-modules-bt"
  branch:   "master"
  commit:   "313a0a4"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2021-01-29 18:16:18 +01:00
parent 9f2cfb9fb5
commit 1295ed42c1
4 changed files with 19 additions and 26 deletions

View File

@ -1,7 +1,7 @@
pkgbase = pulseaudio-modules-bt pkgbase = pulseaudio-modules-bt
pkgdesc = PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support pkgdesc = PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support
pkgver = 1.4_14.1 pkgver = 1.4_14.2
pkgrel = 3 pkgrel = 8
url = https://github.com/EHfive/pulseaudio-modules-bt url = https://github.com/EHfive/pulseaudio-modules-bt
arch = i686 arch = i686
arch = x86_64 arch = x86_64
@ -21,11 +21,10 @@ pkgbase = pulseaudio-modules-bt
depends = libfdk-aac.so depends = libfdk-aac.so
optdepends = libavcodec.so>=58: aptX Classic, aptX HD support optdepends = libavcodec.so>=58: aptX Classic, aptX HD support
optdepends = libldac: LDAC support optdepends = libldac: LDAC support
optdepends = pulseaudio=14.1: This package requires a specific PulseAudio version
provides = pulseaudio-bluetooth provides = pulseaudio-bluetooth
conflicts = pulseaudio-bluetooth conflicts = pulseaudio-bluetooth
source = pulseaudio-modules-bt-1.4.zip::https://github.com/EHfive/pulseaudio-modules-bt/archive/v1.4.zip source = pulseaudio-modules-bt-1.4.zip::https://github.com/EHfive/pulseaudio-modules-bt/archive/v1.4.zip
source = pulseaudio-14.1.zip::https://github.com/pulseaudio/pulseaudio/archive/v14.1.zip source = pulseaudio-14.2.zip::https://github.com/pulseaudio/pulseaudio/archive/v14.2.zip
md5sums = 711a7f930321e56706acdb441de0e432 md5sums = 711a7f930321e56706acdb441de0e432
md5sums = SKIP md5sums = SKIP
sha512sums = 5c3ed59dec46a1a9cc2f359ac1d28a82a50a5dea47a268a10601b95a8e17a68dd00ba7628c429271349bae290f461abeb1a4a3715b1833c71d7f82f9a902fe2d sha512sums = 5c3ed59dec46a1a9cc2f359ac1d28a82a50a5dea47a268a10601b95a8e17a68dd00ba7628c429271349bae290f461abeb1a4a3715b1833c71d7f82f9a902fe2d

View File

@ -2,3 +2,4 @@
*.pkg.tar.* *.pkg.tar.*
src/ src/
pkg/ pkg/
pulseaudio/

View File

@ -6,7 +6,7 @@
[subrepo] [subrepo]
remote = https://aur.archlinux.org/pulseaudio-modules-bt remote = https://aur.archlinux.org/pulseaudio-modules-bt
branch = master branch = master
commit = 904dc12671bb5eea007454e8f3561e41e315f24c commit = 313a0a433a0014c4aebccfc926a43907bee06ecd
parent = c2bceeb87d82bf3da9423c459062a4c3620e9e47 parent = 9f2cfb9fb528eeff8bc72ff8d0a828709f3455a8
method = merge method = merge
cmdver = 0.4.3 cmdver = 0.4.3

View File

@ -1,27 +1,13 @@
# Maintainer : Yamada Hayao <hayao@fascode.net> # Maintainer : Yamada Hayao <hayao@fascode.net>
# Contributor: EHfive <eh5@sokka.cn> # Contributor: EHfive <eh5@sokka.cn>
# Contributar: tleydxdy https://aur.archlinux.org/packages/pulseaudio-modules-bt/#comment-786420 # Contributar: tleydxdy https://aur.archlinux.org/packages/pulseaudio-modules-bt/#comment-786420
# Contributer: jonathon https://aur.archlinux.org/packages/pulseaudio-modules-bt/#comment-787490
#-- PulseAudio --#
pulseaudio_pkgname="pulseaudio"
if pacman -Qq "$(basename "${pulseaudio_pkgname}")" 2> "/dev/null" 1>&2; then
# If pulseaudio is installed, use the version of installed pulseaudio.
pulseaudio_ver="$(pacman -Q "$(basename "${pulseaudio_pkgname}")" | cut -d ' ' -f 2 | cut -d '-' -f 1)"
else
# If pulseaudio is not installed, use the version from offcial repository.
pulseaudio_ver="$(pacman -Sp --print-format '%v' "${pulseaudio_pkgname}" | cut -d '-' -f 1)"
fi
# if it is failed to get the version of pulseaudio, use the hard coded one.
if [[ -z "${pulseaudio_ver}" ]]; then
pulseaudio_ver="14.1"
fi
pkgname="pulseaudio-modules-bt" pkgname="pulseaudio-modules-bt"
pulseaudio_ver="14.2"
module_ver="1.4" module_ver="1.4"
pkgrel="8"
pkgver="${module_ver}_${pulseaudio_ver}" pkgver="${module_ver}_${pulseaudio_ver}"
pkgrel="3"
pkgdesc="PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support" pkgdesc="PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support"
arch=("i686" "x86_64" "arm" "armv6h" "armv7h" "aarch64") arch=("i686" "x86_64" "arm" "armv6h" "armv7h" "aarch64")
url="https://github.com/EHfive/pulseaudio-modules-bt" url="https://github.com/EHfive/pulseaudio-modules-bt"
@ -31,7 +17,7 @@ makedepends=("libpulse" "cmake>=3.0" "libavcodec.so>=58" "libldac")
optdepends=( optdepends=(
"libavcodec.so>=58: aptX Classic, aptX HD support" "libavcodec.so>=58: aptX Classic, aptX HD support"
"libldac: LDAC support" "libldac: LDAC support"
"pulseaudio=${pulseaudio_ver}: This package requires a specific PulseAudio version" # "pulseaudio=${pulseaudio_ver}: This package requires a specific PulseAudio version"
) )
provides=("pulseaudio-bluetooth") provides=("pulseaudio-bluetooth")
conflicts=("pulseaudio-bluetooth") conflicts=("pulseaudio-bluetooth")
@ -41,6 +27,7 @@ source=(
"pulseaudio-${pulseaudio_ver}.zip::https://github.com/pulseaudio/pulseaudio/archive/v${pulseaudio_ver}.zip" "pulseaudio-${pulseaudio_ver}.zip::https://github.com/pulseaudio/pulseaudio/archive/v${pulseaudio_ver}.zip"
) )
md5sums=( md5sums=(
'711a7f930321e56706acdb441de0e432' '711a7f930321e56706acdb441de0e432'
'SKIP' 'SKIP'
@ -51,6 +38,7 @@ sha512sums=(
"SKIP" "SKIP"
) )
prepare() { prepare() {
cd "${srcdir}/pulseaudio-modules-bt-${module_ver}" cd "${srcdir}/pulseaudio-modules-bt-${module_ver}"
rm -rf pa rm -rf pa
@ -59,13 +47,18 @@ prepare() {
build() { build() {
cd "${srcdir}/pulseaudio-modules-bt-${module_ver}" cd "${srcdir}/pulseaudio-modules-bt-${module_ver}"
rm -rf build
mkdir build
cd build
cmake \ cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
. -S .. \
-B . \
make make
} }
package() { package() {
cd "$srcdir/pulseaudio-modules-bt-${module_ver}" cd "${srcdir}/pulseaudio-modules-bt-${module_ver}/build"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
} }