diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 17 insertions, 10 deletions
@@ -1,13 +1,13 @@ # Generated by mksrcinfo v8 -# Sat Feb 13 16:45:37 UTC 2016 +# Mon Oct 3 11:00:25 UTC 2016 pkgbase = liblas pkgdesc = A C/C++ library for reading and writing the very common LAS LiDAR format. - pkgver = 1.8.0 - pkgrel = 2 + pkgver = 1.8.1 + pkgrel = 1 url = http://www.liblas.org/ arch = i686 arch = x86_64 - license = BSD + license = custom makedepends = boost>=1.38.0 makedepends = cmake depends = boost-libs>=1.38.0 @@ -15,8 +15,8 @@ pkgbase = liblas depends = libgeotiff>=1.3.0 depends = laszip optdepends = oci: Oracle Instant Client, see http://www.liblas.org/compilation.html - source = http://download.osgeo.org/liblas/libLAS-1.8.0.tar.bz2 - md5sums = 599881281d45db4ce9adb2d75458391e + source = http://download.osgeo.org/liblas/libLAS-1.8.1.tar.bz2 + md5sums = 2e6a975dafdf57f59a385ccb87eb5919 pkgname = liblas @@ -3,17 +3,24 @@ # Contributor: Michael <mbostwick89@gmail.com> pkgname='liblas' -pkgver='1.8.0' -pkgrel='2' +pkgver='1.8.1' +pkgrel='1' pkgdesc='A C/C++ library for reading and writing the very common LAS LiDAR format.' arch=('i686' 'x86_64') url='http://www.liblas.org/' -license=('BSD') +license=('custom') source=("http://download.osgeo.org/liblas/libLAS-${pkgver}.tar.bz2") depends=('boost-libs>=1.38.0' 'gdal>=1.7.0' 'libgeotiff>=1.3.0' 'laszip') makedepends=('boost>=1.38.0' 'cmake') optdepends=('oci: Oracle Instant Client, see http://www.liblas.org/compilation.html') -md5sums=('599881281d45db4ce9adb2d75458391e') +md5sums=('2e6a975dafdf57f59a385ccb87eb5919') + +prepare() { + # A workaround for https://github.com/libLAS/libLAS/issues/103. The complete fix + # is in https://github.com/libLAS/libLAS/commit/4e1d693e22f0dda43b73dbfb11b3be4ce30a44da. + cd "${srcdir}/libLAS-${pkgver}" + sed -i 's/target_link_libraries(\${LAS2COL} \${LIBLAS_C_LIB_NAME})$/target_link_libraries(\${LAS2COL} \${LIBLAS_C_LIB_NAME} "\${CMAKE_THREAD_LIBS_INIT}")/' ./apps/CMakeLists.txt +} build() { cd "${srcdir}/libLAS-${pkgver}" |