git subrepo clone (merge) https://aur.archlinux.org/pulseaudio-modules-bt
subrepo: subdir: "pulseaudio-modules-bt" merged: "d42b844" upstream: origin: "https://aur.archlinux.org/pulseaudio-modules-bt" branch: "master" commit: "d42b844" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
This commit is contained in:
		
							parent
							
								
									1fe11e3ac8
								
							
						
					
					
						commit
						15e75ab1fb
					
				
							
								
								
									
										38
									
								
								pulseaudio-modules-bt/.SRCINFO
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										38
									
								
								pulseaudio-modules-bt/.SRCINFO
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,38 @@
 | 
			
		||||
pkgbase = pulseaudio-modules-bt
 | 
			
		||||
	pkgdesc = PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support
 | 
			
		||||
	pkgver = 1.4_14.0
 | 
			
		||||
	pkgrel = 2
 | 
			
		||||
	url = https://github.com/EHfive/pulseaudio-modules-bt
 | 
			
		||||
	arch = i686
 | 
			
		||||
	arch = x86_64
 | 
			
		||||
	arch = arm
 | 
			
		||||
	arch = armv6h
 | 
			
		||||
	arch = armv7h
 | 
			
		||||
	arch = aarch64
 | 
			
		||||
	license = GPL3
 | 
			
		||||
	makedepends = libpulse
 | 
			
		||||
	makedepends = cmake>=3.0
 | 
			
		||||
	makedepends = libavcodec.so>=58
 | 
			
		||||
	makedepends = libldac
 | 
			
		||||
	makedepends = git
 | 
			
		||||
	depends = pulseaudio>=12.0
 | 
			
		||||
	depends = bluez
 | 
			
		||||
	depends = bluez-libs
 | 
			
		||||
	depends = sbc
 | 
			
		||||
	depends = libfdk-aac.so
 | 
			
		||||
	optdepends = libavcodec.so>=58: aptX Classic, aptX HD support
 | 
			
		||||
	optdepends = libldac: LDAC support
 | 
			
		||||
	optdepends = pulseaudio=14.0: This package requires a specific PulseAudio version
 | 
			
		||||
	provides = pulseaudio-bluetooth
 | 
			
		||||
	provides = pulseaudio-modules-bt-git
 | 
			
		||||
	conflicts = pulseaudio-bluetooth
 | 
			
		||||
	conflicts = pulseaudio-modules-bt-git
 | 
			
		||||
	source = pulseaudio-modules-bt.zip::https://github.com/EHfive/pulseaudio-modules-bt/archive/v1.4.zip
 | 
			
		||||
	source = pulseaudio.zip::https://github.com/pulseaudio/pulseaudio/archive/v14.0.zip
 | 
			
		||||
	md5sums = 711a7f930321e56706acdb441de0e432
 | 
			
		||||
	md5sums = SKIP
 | 
			
		||||
	sha512sums = 5c3ed59dec46a1a9cc2f359ac1d28a82a50a5dea47a268a10601b95a8e17a68dd00ba7628c429271349bae290f461abeb1a4a3715b1833c71d7f82f9a902fe2d
 | 
			
		||||
	sha512sums = SKIP
 | 
			
		||||
 | 
			
		||||
pkgname = pulseaudio-modules-bt
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								pulseaudio-modules-bt/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										4
									
								
								pulseaudio-modules-bt/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
*.zip
 | 
			
		||||
*.pkg.tar.*
 | 
			
		||||
src/
 | 
			
		||||
pkg/
 | 
			
		||||
							
								
								
									
										12
									
								
								pulseaudio-modules-bt/.gitrepo
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										12
									
								
								pulseaudio-modules-bt/.gitrepo
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
			
		||||
; DO NOT EDIT (unless you know what you are doing)
 | 
			
		||||
;
 | 
			
		||||
; This subdirectory is a git "subrepo", and this file is maintained by the
 | 
			
		||||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
 | 
			
		||||
;
 | 
			
		||||
[subrepo]
 | 
			
		||||
	remote = https://aur.archlinux.org/pulseaudio-modules-bt
 | 
			
		||||
	branch = master
 | 
			
		||||
	commit = d42b8444819a69ea79f8d1cb2e326343d9074df6
 | 
			
		||||
	parent = 1fe11e3ac886b80289d1829370f30c8615d57340
 | 
			
		||||
	method = merge
 | 
			
		||||
	cmdver = 0.4.1
 | 
			
		||||
							
								
								
									
										70
									
								
								pulseaudio-modules-bt/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										70
									
								
								pulseaudio-modules-bt/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,70 @@
 | 
			
		||||
# Maintainer : Yamada Hayao <hayao@fascode.net>
 | 
			
		||||
# Contributor: EHfive <eh5@sokka.cn>
 | 
			
		||||
 | 
			
		||||
#-- PulseAudio --#
 | 
			
		||||
pulseaudio_pkgname="extra/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 [[ -v pulseaudio_ver ]]; then
 | 
			
		||||
    pulseaudio_ver="14.0"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
pkgname="pulseaudio-modules-bt"
 | 
			
		||||
module_ver="1.4"
 | 
			
		||||
pkgver="${module_ver}_${pulseaudio_ver}"
 | 
			
		||||
pkgrel="2"
 | 
			
		||||
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"
 | 
			
		||||
license=('GPL3')
 | 
			
		||||
depends=("pulseaudio>=12.0" "bluez" "bluez-libs" "sbc" "libfdk-aac.so")
 | 
			
		||||
makedepends=("libpulse" "cmake>=3.0" "libavcodec.so>=58" "libldac" "git")
 | 
			
		||||
optdepends=(
 | 
			
		||||
    "libavcodec.so>=58: aptX Classic, aptX HD support"
 | 
			
		||||
    "libldac: LDAC support"
 | 
			
		||||
    "pulseaudio=${pulseaudio_ver}: This package requires a specific PulseAudio version"
 | 
			
		||||
)
 | 
			
		||||
provides=("pulseaudio-bluetooth" "pulseaudio-modules-bt-git")
 | 
			
		||||
conflicts=("pulseaudio-bluetooth" "pulseaudio-modules-bt-git")
 | 
			
		||||
 | 
			
		||||
source=(
 | 
			
		||||
    "pulseaudio-modules-bt.zip::https://github.com/EHfive/pulseaudio-modules-bt/archive/v${module_ver}.zip"
 | 
			
		||||
    "pulseaudio.zip::https://github.com/pulseaudio/pulseaudio/archive/v${pulseaudio_ver}.zip"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
md5sums=(
 | 
			
		||||
    '711a7f930321e56706acdb441de0e432'
 | 
			
		||||
    'SKIP'
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
sha512sums=(
 | 
			
		||||
    "5c3ed59dec46a1a9cc2f359ac1d28a82a50a5dea47a268a10601b95a8e17a68dd00ba7628c429271349bae290f461abeb1a4a3715b1833c71d7f82f9a902fe2d"
 | 
			
		||||
    "SKIP"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
prepare() {
 | 
			
		||||
    cd "${srcdir}/pulseaudio-modules-bt-${module_ver}"
 | 
			
		||||
    rm -rf pa
 | 
			
		||||
    ln -sf -T "../pulseaudio-${pulseaudio_ver}" "pa"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
build() {
 | 
			
		||||
    cd "${srcdir}/pulseaudio-modules-bt-${module_ver}"
 | 
			
		||||
    cmake \
 | 
			
		||||
        -DCMAKE_BUILD_TYPE=Release \
 | 
			
		||||
        .
 | 
			
		||||
    make
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
package() {
 | 
			
		||||
    cd "$srcdir/pulseaudio-modules-bt-${module_ver}"
 | 
			
		||||
    make DESTDIR="${pkgdir}" install
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user