minor fix

This commit is contained in:
pingplug 2018-11-29 22:13:25 +08:00
parent 9e741bf126
commit c219f0a996
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
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) pkgdesc = Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)
pkgver = v2.16.5 pkgver = v2.16.5
pkgrel = 1 pkgrel = 2
url = https://github.com/IntelRealSense/librealsense url = https://github.com/IntelRealSense/librealsense
arch = x86_64 arch = x86_64
license = Apache license = Apache

View File

@ -4,7 +4,7 @@
_commit=0fc8499ca1c01448d4a65047a0df2d91e37fe287 # tags=v2.16.5 _commit=0fc8499ca1c01448d4a65047a0df2d91e37fe287 # tags=v2.16.5
pkgname=librealsense pkgname=librealsense
pkgver=v2.16.5 pkgver=v2.16.5
pkgrel=1 pkgrel=2
pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)" pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)"
arch=('x86_64') arch=('x86_64')
url="https://github.com/IntelRealSense/librealsense" url="https://github.com/IntelRealSense/librealsense"
@ -22,8 +22,8 @@ pkgver() {
build() { build() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname}"
mkdir -p build && cd build mkdir -p build && cd build
CFLAGS="${CFLAGS} -Wformat" \ CFLAGS="${CFLAGS} -Wformat -pthread" \
CXXFLAGS="${CXXFLAGS} -Wformat" \ CXXFLAGS="${CXXFLAGS} -Wformat -pthread" \
cmake .. \ cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
@ -34,7 +34,7 @@ build() {
-DBUILD_WITH_STATIC_CRT=off \ -DBUILD_WITH_STATIC_CRT=off \
-DBUILD_WITH_OPENMP=on \ -DBUILD_WITH_OPENMP=on \
-DBUILD_EXAMPLES=true \ -DBUILD_EXAMPLES=true \
-DBUILD_WITH_TM2=false -DBUILD_WITH_TM2=true
make make
} }