diff options
author | Bradley J Chambers <brad.chambers@gmail.com> | 2018-04-03 12:20:06 -0400 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-04-19 14:29:08 +0000 |
commit | 91a59e5df2bc8ddfd5b79cfa416e2c9652247b14 (patch) | |
tree | e3197ab6087f8a4dc4dd470a87f4ee97a3f940dd /testing | |
parent | 8ccb731bc4ac51577b0c8c8cabc0c98c995857ae (diff) | |
download | aports-91a59e5df2bc8ddfd5b79cfa416e2c9652247b14.tar.bz2 aports-91a59e5df2bc8ddfd5b79cfa416e2c9652247b14.tar.xz |
testing/pcl: add aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/pcl/APKBUILD | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/testing/pcl/APKBUILD b/testing/pcl/APKBUILD new file mode 100644 index 0000000000..32c1adb272 --- /dev/null +++ b/testing/pcl/APKBUILD @@ -0,0 +1,70 @@ +# Contributor: Bradley J Chambers <brad.chambers@gmail.com> +# Maintainer: Bradley J Chambers <brad.chambers@gmail.com> +pkgname=pcl +pkgver=1.8.1 +pkgrel=0 +pkgdesc="Point Cloud Library (PCL)" +url="https://github.com/PointCloudLibrary/pcl" +arch="all" +license="BSD-3-Clause" +depends="" +makedepends="cmake eigen-dev boost-dev flann-dev" +subpackages="$pkgname-dev" +_gtestver=1.8.0 +source="$pkgname-$pkgver.tar.gz::https://github.com/PointCloudLibrary/$pkgname/archive/$pkgname-$pkgver.tar.gz + release-$_gtestver.tar.gz::https://github.com/google/googletest/archive/release-$_gtestver.tar.gz" +builddir="$srcdir/$pkgname-$pkgname-$pkgver" + +build() { + cd "$builddir" + + mkdir build && cd build + + # Five tests are disabled below. This is in keeping with PCL's own + # Appveyor configuration + # (https://github.com/PointCloudLibrary/pcl/blob/master/.appveyor.yml), + # and is due to a list of test failures that are documented in issues + # #1702, #1719, #1921, and #2136. + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_CUDA=OFF \ + -DWITH_DAVIDSDK=OFF \ + -DWITH_DSSDK=OFF \ + -DWITH_ENSENSO=OFF \ + -DWITH_FZAPI=OFF \ + -DWITH_LIBUSB=OFF \ + -DWITH_OPENGL=OFF \ + -DWITH_OPENNI=OFF \ + -DWITH_OPENNI2=OFF \ + -DWITH_PCAP=OFF \ + -DWITH_PNG=OFF \ + -DWITH_QHULL=OFF \ + -DWITH_QT=OFF \ + -DWITH_VTK=OFF \ + -DBUILD_global_tests=ON \ + -DBUILD_examples=OFF \ + -DBUILD_tools=ON \ + -DBUILD_apps=OFF \ + -DBUILD_tests_common=OFF \ + -DBUILD_tests_features=OFF \ + -DBUILD_tests_filters=OFF \ + -DBUILD_tests_io=OFF \ + -DBUILD_tests_registration=OFF \ + -DGTEST_SRC_DIR=$srcdir/googletest-release-$_gtestver/googletest \ + -DGTEST_INCLUDE_DIR=$srcdir/googletest-release-$_gtestver/googletest/include + make +} + +package() { + cd "$builddir"/build + make DESTDIR="$pkgdir" install +} + +check() { + cd "$builddir"/build + make tests +} + +sha512sums="9e7c87fb750a176712f08d215a906012c9e8174b687bbc8c08fa65de083b4468951bd8017b10409015d5eff0fc343885d2aae5c340346118b1a251af7bdd5cd7 pcl-1.8.1.tar.gz +1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d release-1.8.0.tar.gz" |