From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-geosciences/laszip/Manifest | 5 +++ .../files/laszip-2.2.0_fix-build-system.patch | 50 ++++++++++++++++++++++ sci-geosciences/laszip/laszip-2.2.0.ebuild | 26 +++++++++++ sci-geosciences/laszip/metadata.xml | 19 ++++++++ 4 files changed, 100 insertions(+) create mode 100644 sci-geosciences/laszip/Manifest create mode 100644 sci-geosciences/laszip/files/laszip-2.2.0_fix-build-system.patch create mode 100644 sci-geosciences/laszip/laszip-2.2.0.ebuild create mode 100644 sci-geosciences/laszip/metadata.xml (limited to 'sci-geosciences/laszip') diff --git a/sci-geosciences/laszip/Manifest b/sci-geosciences/laszip/Manifest new file mode 100644 index 000000000000..73360d219473 --- /dev/null +++ b/sci-geosciences/laszip/Manifest @@ -0,0 +1,5 @@ +AUX laszip-2.2.0_fix-build-system.patch 1516 SHA256 20b83396c0dea8534d1061b71346cdbf88a1caf627cf9c69e289cd696f73d8b3 SHA512 3b2a8523491ffeded85e7aad50b1792f1f26354838afb7ab2e36bb29e2178cd1fb75601c238d59eff7779bb87a7fd5d93696a2da01951df188e66833ce6ff301 WHIRLPOOL e3441fc0c6e5a5cad2434a3381706d147f1bbeb3ed559ee4dc4a62d5fbfb87e034b0dc4028d2490f9d200f22f1a82fe90aa2f87f6b0b0eda8e19e69b1bd87acf +DIST laszip-src-2.2.0.tar.gz 407457 SHA256 d0f6fa9c486caa6905927ebf32240aa7ef34181bbcc039cf8e51aa923557dc79 SHA512 44dacb0d0ab79ac02c784549f42c4522451646b322835afc78fbf8bb82be40e023d374635c2a18989c73a5553e05b55d7c32f35d510f816704020b0e02365824 WHIRLPOOL 4454e60c4e21f2f163e3ca4a8deefce5a42c1f7b7549eb736c51c89d4a8f05d0a57aad194a84c45aff34be8c14eac1d0d61d983611d6abba7cb85d4c2dc83247 +EBUILD laszip-2.2.0.ebuild 626 SHA256 af1ba3ee9410a932b4448b966ae8c94c23b0b3450166f426da4eef9fa2cc1e08 SHA512 67a95792f5caf53492af5a67ac41bd389521e9dc14eba9383b011900ca9059d535df9426215c1461f5c250e208d5517d544ec182bc80fd2051202ebebdcbb2d6 WHIRLPOOL b6a35609cc32c468a1149479b7f35502c43729ef059df9393e56b5103e7fa4f1a995ade7da117507617f10dd5f7af697b52523f4891ec86a2a930139d96f231c +MISC ChangeLog 1710 SHA256 3ab5d0f7388721a382facb49aab2c677162e22d6eb34c744fab206b789a8dc8b SHA512 438e23ec9265f7f4f4a6d29d9ac725e625c5edc76626040384645f4e1617a1a545626850422a31d2bb1c1f16071833c889ef243bc45ea058efd043b7f0de59c4 WHIRLPOOL ee9fcacd7dee10b8131f32d987f4559ee8bc103521cbd8b12bf98047806fc1e74fd212619b5266dbb201d39c6219d2f43235b0bc51edf785f9bbd2e3a5141a67 +MISC metadata.xml 589 SHA256 2f915c29a006d0a2c77621fe0b81d2291850004c40d56be71d57b7a9e3cefede SHA512 ce1cd4bd4d400deb43cc2b1f83450a91ab6e202e51b4d32a4dc3eaec3cf20a6ab3bb399f9edd5c38ce0872809b4dae1b08420c3456730a23c0b2f26791c66b57 WHIRLPOOL 5b07fdb53258c06a91db212393f310f4d0c71d3c239684af583e280f4ca29aabd154f005e1890aa61761da97721b7a310614ab15ac9e557a6d0c72f8a50db643 diff --git a/sci-geosciences/laszip/files/laszip-2.2.0_fix-build-system.patch b/sci-geosciences/laszip/files/laszip-2.2.0_fix-build-system.patch new file mode 100644 index 000000000000..4587331eba3f --- /dev/null +++ b/sci-geosciences/laszip/files/laszip-2.2.0_fix-build-system.patch @@ -0,0 +1,50 @@ +--- laszip-src-2.2.0/configure.ac ++++ laszip-src-2.2.0/configure.ac +@@ -21,9 +21,6 @@ + + m4_define([debug_default],[no]) + +-CFLAGS="-Wall -Wno-long-long -pedantic $CFLAGS" +-CXXFLAGS="-Wall -Wno-long-long -pedantic -std=c++98 $CXXFLAGS" +- + dnl ######################################################################### + dnl Checks for programs. + dnl ######################################################################### +@@ -68,8 +65,8 @@ + CXXFLAGS="$CXXFLAGS -g -DDEBUG" + AC_MSG_RESULT(yes) + else +- CFLAGS="$CFLAGS -O3 -DNDEBUG" +- CXXFLAGS="$CXXFLAGS -O3 -DNDEBUG" ++ CFLAGS="$CFLAGS -DNDEBUG" ++ CXXFLAGS="$CXXFLAGS -DNDEBUG" + AC_MSG_RESULT(no) + fi + +--- laszip-src-2.2.0/src/Makefile.am ++++ laszip-src-2.2.0/src/Makefile.am +@@ -1,6 +1,6 @@ + SUBDIRS = . + +-AM_CPPFLAGS = -I. -I../include -I../include/laszip ++AM_CPPFLAGS = -I. -I$(top_srcdir)/include -I$(top_srcdir)/include/laszip + noinst_LTLIBRARIES = liblibrary.la + + liblibrary_la_SOURCES = arithmeticmodel.cpp \ +--- laszip-src-2.2.0/tools/Makefile.am ++++ laszip-src-2.2.0/tools/Makefile.am +@@ -1,5 +1,5 @@ + +-AM_CPPFLAGS = -I../include -I../include/laszip ++AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/laszip + LDADD = ../liblaszip.la + + laszippertest_SOURCES = laszippertest.cpp +--- laszip-src-2.2.0/include/laszip/Makefile.am ++++ laszip-src-2.2.0/include/laszip/Makefile.am +@@ -1,4 +1,4 @@ +-laszipdir = $(includedir)/ ++laszipdir = $(includedir)/laszip/ + + laszip_HEADERS = lasunzipper.hpp \ + laszip.hpp \ diff --git a/sci-geosciences/laszip/laszip-2.2.0.ebuild b/sci-geosciences/laszip/laszip-2.2.0.ebuild new file mode 100644 index 000000000000..bdabd9793af1 --- /dev/null +++ b/sci-geosciences/laszip/laszip-2.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils flag-o-matic + +DESCRIPTION="Library for free and lossless compression of the LAS LiDAR format" +HOMEPAGE="http://www.laszip.org/" +SRC_URI="https://github.com/LASzip/LASzip/releases/download/v${PV}/${PN}-src-${PV}.tar.gz" + +SLOT="0" +LICENSE="LGPL-2.1+" +KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86" + +S="${WORKDIR}/${PN}-src-${PV}" + +PATCHES=( + "${FILESDIR}"/${P}_fix-build-system.patch +) + +src_configure() { + append-flags -fno-strict-aliasing + autotools-utils_src_configure +} diff --git a/sci-geosciences/laszip/metadata.xml b/sci-geosciences/laszip/metadata.xml new file mode 100644 index 000000000000..358190ffe419 --- /dev/null +++ b/sci-geosciences/laszip/metadata.xml @@ -0,0 +1,19 @@ + + + + + wraeth@gentoo.org + Sam Jorna + + + sci-geosciences@gentoo.org + Gentoo Geosciences Project + + +An open-source utility for compressing LAS-stored LiDAR information in a +lossless format. + + + LASzip/LASzip + + -- cgit v1.2.3