Updated to v2.38.0

This commit is contained in:
pingplug 2020-08-03 00:06:13 +08:00
parent 379f7cdcf4
commit faae9de44b
2 changed files with 28 additions and 6 deletions

View File

@ -1,6 +1,6 @@
pkgbase = librealsense
pkgdesc = Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)
pkgver = v2.35.2
pkgver = v2.38.0
pkgrel = 1
url = https://github.com/IntelRealSense/librealsense
arch = x86_64
@ -10,8 +10,16 @@ pkgbase = librealsense
depends = glfw-x11
depends = gtk3
depends = libusb
source = git+https://github.com/IntelRealSense/librealsense#commit=8594d09f092347a8b3d832d14e4fb631140620c5
source = git+https://github.com/IntelRealSense/librealsense#commit=ce6a3a81f8ac5dd488b2f03358aab29fdc6c9512
source = https://realsense-hw-public.s3.amazonaws.com/Releases/RS4xx/FW/D4XX_FW_Image-5.12.7.100.bin
source = https://realsense-hw-public.s3.amazonaws.com/Releases/SR300/FW/SR3XX_FW_Image-3.26.1.0.bin
source = https://realsense-hw-public.s3.amazonaws.com/Releases/TM2/FW/target/0.2.0.951/target-0.2.0.951.mvcmd
source = https://realsense-hw-public.s3.amazonaws.com/Releases/L5xx/FW/L5XX_FW_Image-1.4.1.2.bin
sha256sums = SKIP
sha256sums = f6a06019a59b963c6e53a5299af49a4e375989866587c20c17d432b689679b50
sha256sums = c4ac2144df13c3a64fca9d16c175595c903e6e45f02f0f238630a223b07c14d1
sha256sums = 0265fd111611908b822cdaf4a3fe5b631c50539b2805d2f364c498aa71c007c0
sha256sums = 692b18825844da20075e0ed4bfa2c23be4bf15abf61380a0dbae9a72a91f90bb
pkgname = librealsense

View File

@ -1,9 +1,9 @@
# Maintainer: pingplug < aur at pingplug dot me >
# Contributr: Patrick José Pereira < positivcheg94 at gmail dot com >
_commit=8594d09f092347a8b3d832d14e4fb631140620c5 # tags=v2.35.2
_commit=ce6a3a81f8ac5dd488b2f03358aab29fdc6c9512 # tags=v2.38.0
pkgname=librealsense
pkgver=v2.35.2
pkgver=v2.38.0
pkgrel=1
pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)"
arch=('x86_64')
@ -11,12 +11,26 @@ url="https://github.com/IntelRealSense/librealsense"
license=('Apache')
makedepends=('cmake' 'git')
depends=('glfw-x11' 'gtk3' 'libusb')
source=("git+https://github.com/IntelRealSense/librealsense#commit=${_commit}")
sha256sums=('SKIP')
source=("git+https://github.com/IntelRealSense/librealsense#commit=${_commit}"
"https://realsense-hw-public.s3.amazonaws.com/Releases/RS4xx/FW/D4XX_FW_Image-5.12.7.100.bin"
"https://realsense-hw-public.s3.amazonaws.com/Releases/SR300/FW/SR3XX_FW_Image-3.26.1.0.bin"
"https://realsense-hw-public.s3.amazonaws.com/Releases/TM2/FW/target/0.2.0.951/target-0.2.0.951.mvcmd"
"https://realsense-hw-public.s3.amazonaws.com/Releases/L5xx/FW/L5XX_FW_Image-1.4.1.2.bin")
sha256sums=('SKIP'
'f6a06019a59b963c6e53a5299af49a4e375989866587c20c17d432b689679b50'
'c4ac2144df13c3a64fca9d16c175595c903e6e45f02f0f238630a223b07c14d1'
'0265fd111611908b822cdaf4a3fe5b631c50539b2805d2f364c498aa71c007c0'
'692b18825844da20075e0ed4bfa2c23be4bf15abf61380a0dbae9a72a91f90bb')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --tags | sed 's/-/+/g'
mkdir -p build/common/fw/
cp "../D4XX_FW_Image-5.12.7.100.bin" build/common/fw/
cp "../SR3XX_FW_Image-3.26.1.0.bin" build/common/fw/
cp "../target-0.2.0.951.mvcmd" build/common/fw/
cp "../L5XX_FW_Image-1.4.1.2.bin" build/common/fw/
}
build() {