generated from archlinux/template
add support for cmake version 4
This commit is contained in:
2
.SRCINFO
2
.SRCINFO
@@ -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 & L500 series and the SR300).
|
pkgdesc = Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 & L500 series and the SR300).
|
||||||
pkgver = 2.55.1
|
pkgver = 2.55.1
|
||||||
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
|
||||||
|
|||||||
3
PKGBUILD
3
PKGBUILD
@@ -8,7 +8,7 @@ _L53X_VER=3.5.5.1
|
|||||||
|
|
||||||
pkgname=librealsense
|
pkgname=librealsense
|
||||||
pkgver=2.55.1
|
pkgver=2.55.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 & L500 series and the SR300)."
|
pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 & L500 series and the SR300)."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/IntelRealSense/librealsense"
|
url="https://github.com/IntelRealSense/librealsense"
|
||||||
@@ -47,6 +47,7 @@ build() {
|
|||||||
CXXFLAGS="${CXXFLAGS} -Wformat -pthread" \
|
CXXFLAGS="${CXXFLAGS} -Wformat -pthread" \
|
||||||
unset HOME
|
unset HOME
|
||||||
cmake .. \
|
cmake .. \
|
||||||
|
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DCMAKE_INSTALL_SBINDIR=bin \
|
-DCMAKE_INSTALL_SBINDIR=bin \
|
||||||
|
|||||||
Reference in New Issue
Block a user