mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 07:21:40 +01:00
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
# This APKBUILD is looking for a new maintainer
|
|
pkgname=pulseaudio-modules-bt
|
|
pkgver=1.4
|
|
pkgrel=1
|
|
# TODO: Package libldacBT, so that this also provides LDAC support
|
|
pkgdesc="Pulseaudio bluetooth with support for APTX, APTX-HD, AAC"
|
|
url="https://github.com/EHfive/pulseaudio-modules-bt"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
_pulseaudio_ver=14.2
|
|
makedepends="
|
|
bluez-dev
|
|
cmake
|
|
dbus-dev
|
|
ffmpeg-dev
|
|
libtool
|
|
pulseaudio-dev
|
|
sbc-dev
|
|
fdk-aac-dev
|
|
"
|
|
source="
|
|
$pkgname.tar.gz::https://github.com/EHfive/pulseaudio-modules-bt/archive/v$pkgver.tar.gz
|
|
https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$_pulseaudio_ver.tar.xz
|
|
"
|
|
provides="pulseaudio-bluez=$_pulseaudio_ver"
|
|
options="!check" # no unit tests provided
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
# As this provides a pulseaudio module, the internal pulseaudio API is used.
|
|
# This API is not provided by pulseaudio-dev, so we make the headers
|
|
# available directly from source.
|
|
rm -rf pa
|
|
ln -sf ../pulseaudio-$_pulseaudio_ver pa
|
|
}
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
sha512sums="390b6ad0931b464a546c6624bec38cc5b6da7084e4defe2045f4164b0c910a9dd6d4327466eb0e53fcfbc78c995cf2e3634a75b67ee2a14f38ed18e31b5d2bce pulseaudio-modules-bt.tar.gz
|
|
196338cbb26c542301b6d0579070dfbcc42e76dc17405f3e216af70519bec2003089b80c573a32d5f96bdab078631ca09ce89998ab7a0a8ffa26955a9bcb3c4a pulseaudio-14.2.tar.xz"
|