summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassos (nakano) Natsakis2020-06-24 10:50:11 +0300
committerTassos (nakano) Natsakis2020-06-24 10:50:11 +0300
commit0c135c1dbb799c9b724a27176d20430f45b768d6 (patch)
treee2c30e3f7e730f2c0f3439c7aa3e564560b17675
parentb88de009528549d598fa68e0f864765cd35125df (diff)
downloadaur-astra-sdk.tar.gz
Updating to v2.1.1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD19
2 files changed, 13 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 278aea19603..4df4caa6b51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = astra-sdk
pkgdesc = SDK for the Astra Camera from Orbbec
- pkgver = 2.0.17
+ pkgver = 2.1.1
pkgrel = 1
url = https://orbbec3d.com/develop/
arch = x86_64
license = Apache
makedepends = gcc>=4.9,
makedepends = clang>=3.5
+ depends = sfml2.3
options = !strip
- source = http://dl.orbbec3d.com/dist/astra/v2.0.17/AstraSDK-v2.0.17-686b69b99f-20190807T030729Z-ubuntu1604.tar.gz
- sha256sums = 07fb5ef08e86290dc756c7aa4aead5fe14aeab340b2c1a4a6a3659250b41a6f6
+ source = http://dl.orbbec3d.com/dist/astra/v2.1.1/AstraSDK-v2.1.1-24f74b8b15-Ubuntu-x86_64.zip
+ sha256sums = 14a6835156add7a4a1f21774cccc9a66cd6da6f0d99adb06b6431a97b14f81ee
pkgname = astra-sdk
diff --git a/PKGBUILD b/PKGBUILD
index a41e7af617a..43e96cec9b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,21 @@
# Packager: Tassos Natsakis <7712382@eipieq.com>
pkgname="astra-sdk"
-pkgver="2.0.17"
-pkgtimestamp="20190807T030729Z"
-pkgchecksum="686b69b99f"
+pkgver="2.1.1"
+_pkgcsum="24f74b8b15"
+_pkgtstamp="20200426T014025Z"
pkgrel=1
pkgdesc='SDK for the Astra Camera from Orbbec'
url="https://orbbec3d.com/develop/"
arch=('x86_64')
license=("Apache")
-depends=('sfml>=2.3' 'sfml<2.4')
+depends=('sfml2.3')
makedepends=('gcc>=4.9', 'clang>=3.5')
options=('!strip') # Avoid time consuming operations.
-PKGEXT='.pkg.gz.tar'
-_dir="AstraSDK-v${pkgver}-${pkgchecksum}-${pkgtimestamp}-Linux"
-source=("http://dl.orbbec3d.com/dist/astra/v${pkgver}/AstraSDK-v${pkgver}-${pkgchecksum}-${pkgtimestamp}-ubuntu1604.tar.gz")
-sha256sums=('07fb5ef08e86290dc756c7aa4aead5fe14aeab340b2c1a4a6a3659250b41a6f6')
+PKGEXT='.tar.gz'
+_dir="AstraSDK-v${pkgver}-${_pkgcsum}-${_pkgtstamp}-Ubuntu18.04-${arch}"
+source=("http://dl.orbbec3d.com/dist/astra/v${pkgver}/AstraSDK-v${pkgver}-${_pkgcsum}-Ubuntu-x86_64.zip")
+sha256sums=('14a6835156add7a4a1f21774cccc9a66cd6da6f0d99adb06b6431a97b14f81ee')
package() {
mkdir -p "${pkgdir}/usr/bin"
@@ -27,9 +27,8 @@ package() {
mkdir -p "${pkgdir}/etc/udev/rules.d"
mkdir -p "${pkgdir}/etc/ld.so.conf.d"
+ tar -xzvf "${srcdir}/AstraSDK-v${pkgver}-${_pkgcsum}-${_pkgtstamp}-Ubuntu18.04-${arch}.tar.gz"
cp "${srcdir}/${_dir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
- unzip "${srcdir}/${_dir}/docs/Astra_UserGuide-v${pkgver}.zip" -d "${srcdir}/${_dir}/docs/"
- cp -r "${srcdir}/${_dir}/docs/html" "${pkgdir}/usr/share/${pkgname}/docs/"
cp -r "${srcdir}/${_dir}/samples" "${pkgdir}/usr/share/${pkgname}/"
cp -a "${srcdir}/${_dir}/bin/." "${pkgdir}/usr/bin/"
cp -a "${srcdir}/${_dir}/include/." "${pkgdir}/usr/include/${pkgname}/"