generated from archlinux/template
Updated to v2.49.0
This commit is contained in:
parent
e8d54cd7ba
commit
e50d634658
12
.SRCINFO
12
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = librealsense
|
pkgbase = librealsense
|
||||||
pkgdesc = Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300) and the T265 tracking camera.
|
pkgdesc = Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300) and the T265 tracking camera.
|
||||||
pkgver = v2.47.0
|
pkgver = v2.49.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/IntelRealSense/librealsense
|
url = https://github.com/IntelRealSense/librealsense
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@ -10,15 +10,17 @@ pkgbase = librealsense
|
|||||||
depends = glfw-x11
|
depends = glfw-x11
|
||||||
depends = gtk3
|
depends = gtk3
|
||||||
depends = libusb
|
depends = libusb
|
||||||
source = git+https://github.com/IntelRealSense/librealsense#commit=8c8577fa213c39942b34e01f042c59b59ee883c3
|
source = git+https://github.com/IntelRealSense/librealsense#commit=e9f05c55f88f6876633bd59fd1cb3848da64b699
|
||||||
source = https://librealsense.intel.com/Releases/RS4xx/FW/D4XX_FW_Image-5.12.14.50.bin
|
source = https://librealsense.intel.com/Releases/RS4xx/FW/D4XX_FW_Image-5.12.15.50.bin
|
||||||
source = https://librealsense.intel.com/Releases/SR300/FW/SR3XX_FW_Image-3.26.1.0.bin
|
source = https://librealsense.intel.com/Releases/SR300/FW/SR3XX_FW_Image-3.26.1.0.bin
|
||||||
source = https://librealsense.intel.com/Releases/TM2/FW/target/0.2.0.951/target-0.2.0.951.mvcmd
|
source = https://librealsense.intel.com/Releases/TM2/FW/target/0.2.0.951/target-0.2.0.951.mvcmd
|
||||||
source = https://librealsense.intel.com/Releases/L5xx/FW/L5XX_FW_Image-1.5.8.1.bin
|
source = https://librealsense.intel.com/Releases/L5xx/FW/L51X_FW_Image-1.5.8.1.bin
|
||||||
|
source = https://librealsense.intel.com/Releases/L5xx/FW/L53X_FW_Image-3.5.5.1.bin
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 8ff3e8485a9ba10362f2658468e74a17b1fcdd1ce1f2c545ab32808a999028da
|
sha256sums = 1030c06e0d266fd5a2704ba38d8615c88a86758034750e58e1656b90156a2d16
|
||||||
sha256sums = c4ac2144df13c3a64fca9d16c175595c903e6e45f02f0f238630a223b07c14d1
|
sha256sums = c4ac2144df13c3a64fca9d16c175595c903e6e45f02f0f238630a223b07c14d1
|
||||||
sha256sums = 0265fd111611908b822cdaf4a3fe5b631c50539b2805d2f364c498aa71c007c0
|
sha256sums = 0265fd111611908b822cdaf4a3fe5b631c50539b2805d2f364c498aa71c007c0
|
||||||
sha256sums = 87a9a91b613d9d807b2bfc424abe9cac63cad75dfc04718592c44777cb0b4452
|
sha256sums = 87a9a91b613d9d807b2bfc424abe9cac63cad75dfc04718592c44777cb0b4452
|
||||||
|
sha256sums = b837b2cff2b270b89eed3c0b212ab4108389a20b6e07c19dd5957918ff9ce7e0
|
||||||
|
|
||||||
pkgname = librealsense
|
pkgname = librealsense
|
||||||
|
25
PKGBUILD
25
PKGBUILD
@ -1,14 +1,15 @@
|
|||||||
# Maintainer: pingplug < aur at pingplug dot me >
|
# Maintainer: pingplug < aur at pingplug dot me >
|
||||||
# Contributr: Patrick José Pereira < positivcheg94 at gmail dot com >
|
# Contributr: Patrick José Pereira < positivcheg94 at gmail dot com >
|
||||||
|
|
||||||
_commit=8c8577fa213c39942b34e01f042c59b59ee883c3 # tags=v2.47.0
|
_commit=e9f05c55f88f6876633bd59fd1cb3848da64b699 # tags=v2.49.0
|
||||||
_RS4XX_VER=5.12.14.50
|
_RS4XX_VER=5.12.15.50
|
||||||
_SR300_VER=3.26.1.0
|
_SR300_VER=3.26.1.0
|
||||||
_TM2_VER=0.2.0.951
|
_TM2_VER=0.2.0.951
|
||||||
_L5XX_VER=1.5.8.1
|
_L51X_VER=1.5.8.1
|
||||||
|
_L53X_VER=3.5.5.1
|
||||||
|
|
||||||
pkgname=librealsense
|
pkgname=librealsense
|
||||||
pkgver=v2.47.0
|
pkgver=v2.49.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300) and the T265 tracking camera."
|
pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300) and the T265 tracking camera."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -20,12 +21,14 @@ source=("git+https://github.com/IntelRealSense/librealsense#commit=${_commit}"
|
|||||||
"https://librealsense.intel.com/Releases/RS4xx/FW/D4XX_FW_Image-${_RS4XX_VER}.bin"
|
"https://librealsense.intel.com/Releases/RS4xx/FW/D4XX_FW_Image-${_RS4XX_VER}.bin"
|
||||||
"https://librealsense.intel.com/Releases/SR300/FW/SR3XX_FW_Image-${_SR300_VER}.bin"
|
"https://librealsense.intel.com/Releases/SR300/FW/SR3XX_FW_Image-${_SR300_VER}.bin"
|
||||||
"https://librealsense.intel.com/Releases/TM2/FW/target/${_TM2_VER}/target-${_TM2_VER}.mvcmd"
|
"https://librealsense.intel.com/Releases/TM2/FW/target/${_TM2_VER}/target-${_TM2_VER}.mvcmd"
|
||||||
"https://librealsense.intel.com/Releases/L5xx/FW/L5XX_FW_Image-${_L5XX_VER}.bin")
|
"https://librealsense.intel.com/Releases/L5xx/FW/L51X_FW_Image-${_L51X_VER}.bin"
|
||||||
|
"https://librealsense.intel.com/Releases/L5xx/FW/L53X_FW_Image-${_L53X_VER}.bin")
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'8ff3e8485a9ba10362f2658468e74a17b1fcdd1ce1f2c545ab32808a999028da'
|
'1030c06e0d266fd5a2704ba38d8615c88a86758034750e58e1656b90156a2d16'
|
||||||
'c4ac2144df13c3a64fca9d16c175595c903e6e45f02f0f238630a223b07c14d1'
|
'c4ac2144df13c3a64fca9d16c175595c903e6e45f02f0f238630a223b07c14d1'
|
||||||
'0265fd111611908b822cdaf4a3fe5b631c50539b2805d2f364c498aa71c007c0'
|
'0265fd111611908b822cdaf4a3fe5b631c50539b2805d2f364c498aa71c007c0'
|
||||||
'87a9a91b613d9d807b2bfc424abe9cac63cad75dfc04718592c44777cb0b4452')
|
'87a9a91b613d9d807b2bfc424abe9cac63cad75dfc04718592c44777cb0b4452'
|
||||||
|
'b837b2cff2b270b89eed3c0b212ab4108389a20b6e07c19dd5957918ff9ce7e0')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
@ -41,7 +44,8 @@ prepare(){
|
|||||||
cp "../D4XX_FW_Image-${_RS4XX_VER}.bin" build/common/fw/
|
cp "../D4XX_FW_Image-${_RS4XX_VER}.bin" build/common/fw/
|
||||||
cp "../SR3XX_FW_Image-${_SR300_VER}.bin" build/common/fw/
|
cp "../SR3XX_FW_Image-${_SR300_VER}.bin" build/common/fw/
|
||||||
cp "../target-${_TM2_VER}.mvcmd" build/common/fw/
|
cp "../target-${_TM2_VER}.mvcmd" build/common/fw/
|
||||||
cp "../L5XX_FW_Image-${_L5XX_VER}.bin" build/common/fw/
|
cp "../L51X_FW_Image-${_L51X_VER}.bin" build/common/fw/
|
||||||
|
cp "../L53X_FW_Image-${_L53X_VER}.bin" build/common/fw/
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -49,6 +53,7 @@ build() {
|
|||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
CFLAGS="${CFLAGS} -Wformat -pthread" \
|
CFLAGS="${CFLAGS} -Wformat -pthread" \
|
||||||
CXXFLAGS="${CXXFLAGS} -Wformat -pthread" \
|
CXXFLAGS="${CXXFLAGS} -Wformat -pthread" \
|
||||||
|
unset HOME
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
@ -66,6 +71,10 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/build"
|
cd "${srcdir}/${pkgname}/build"
|
||||||
DESTDIR="${pkgdir}" make install
|
DESTDIR="${pkgdir}" make install
|
||||||
|
# why install config file to ${HOME} ?
|
||||||
|
install -dm755 "${pkgdir}/usr/share"
|
||||||
|
mv "${pkgdir}/Documents/librealsense2" "${pkgdir}/usr/share"
|
||||||
|
rmdir "${pkgdir}/Documents"
|
||||||
cd "${srcdir}/${pkgname}/config"
|
cd "${srcdir}/${pkgname}/config"
|
||||||
install -Dm644 99-realsense-libusb.rules "${pkgdir}/etc/udev/rules.d/99-realsense-libusb.rules"
|
install -Dm644 99-realsense-libusb.rules "${pkgdir}/etc/udev/rules.d/99-realsense-libusb.rules"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user