commit:     95e8bdc195f4c0e0b86e9cea6008ffe8030f924d
Author:     Sam Jorna <wraeth <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 02:59:33 2016 +0000
Commit:     Sam Jorna <wraeth <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 03:01:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e8bdc1

sci-geosciences/liblas: bump to 1.8.1

Version bumped to 1.8.1. Multilib removed as builds were failing due to
non-multilib deps and nothing appears to depend on this being multilib.
Tests restricted as they were loading the installed version (if there,
otherwise nothing) rather than the built version. EAPI bumped to 6.

Package-Manager: portage-2.3.2

 sci-geosciences/liblas/Manifest            |  1 +
 sci-geosciences/liblas/liblas-1.8.1.ebuild | 49 ++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sci-geosciences/liblas/Manifest b/sci-geosciences/liblas/Manifest
index c07d365..8d92a84 100644
--- a/sci-geosciences/liblas/Manifest
+++ b/sci-geosciences/liblas/Manifest
@@ -1 +1,2 @@
 DIST libLAS-1.8.0.tar.bz2 3907684 SHA256 
17310082845e45e5c4cece78af98ee93aa5d992bf6d4ba9a6e9f477228738d7a SHA512 
1804149c7bcf04896a683a1098d372a65c000b7562795911fae697f81f370315aa373f34c12fa740d4607c07cd73e48354e34c9e26b032ffe679ecbfd4496a50
 WHIRLPOOL 
ee2400877fad72b1ab9e5b94e673c1ff858c4c3b129aebd8146aeeb7e01a56d6aad70147a55391e9c0bb02e354036aa27b077430a4aa88b13d182389f11b538d
+DIST libLAS-1.8.1.tar.bz2 3920203 SHA256 
9adb4a98c63b461ed2bc82e214ae522cbd809cff578f28511122efe6c7ea4e76 SHA512 
1cb39c557af0006c54f1100d0d409977fcc1886abd155c1b144d806c47f8675a9f2125d3a9aca16bae65d2aabba84d5e5e322b42085e7db312f3d53f92342acf
 WHIRLPOOL 
7f2d85437dc3fd4f414b40e031d67553d272c3cdbe945a4307f80f86b2be083f99b53227888978b112fdf50ec64eea298ccec3c0fe2fe1afbe95d57079f88e52

diff --git a/sci-geosciences/liblas/liblas-1.8.1.ebuild 
b/sci-geosciences/liblas/liblas-1.8.1.ebuild
new file mode 100644
index 00000000..974af92
--- /dev/null
+++ b/sci-geosciences/liblas/liblas-1.8.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
+HOMEPAGE="http://www.liblas.org";
+SRC_URI="http://download.osgeo.org/${PN}/libLAS-${PV}.tar.bz2";
+
+# tests known to fail due to LD_LIBRARY_PATH issue
+RESTRICT="test"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="gdal"
+
+RDEPEND="
+       dev-libs/boost:=
+       sci-geosciences/laszip
+       sci-libs/libgeotiff
+       gdal? ( sci-libs/gdal )
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/libLAS-${PV}"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.8.0_remove-std-c++98.patch
+)
+
+src_prepare() {
+       default
+
+       # add missing linkage
+       sed -e 's:${LAS2COL} ${LIBLAS_C_LIB_NAME}:& ${CMAKE_THREAD_LIBS_INIT}:' 
\
+               -i "${S}/apps/CMakeLists.txt" || die
+}
+
+src_configure() {
+       local mycmakeargs=(
+               "-DWITH_GDAL=$(usex gdal)"
+               -DLIBLAS_LIB_SUBDIR=$(get_libdir)
+       )
+       cmake-utils_src_configure
+}

Reply via email to