summaryrefslogtreecommitdiff
path: root/sci-geosciences/laszip/laszip-3.4.1.ebuild
blob: fe87f91ea1c06acc0bb611a9c8dba3acfe1a8317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake flag-o-matic

DESCRIPTION="Library for free and lossless compression of the LAS LiDAR format"
HOMEPAGE="https://laszip.org/"
SRC_URI="https://github.com/LASzip/LASzip/releases/download/${PV}/${PN}-src-${PV}.tar.gz"

SLOT="0"
LICENSE="LGPL-2.1+"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86"

S="${WORKDIR}/${PN}-src-${PV}"

src_configure() {
	# -Werror=odr
	# https://bugs.gentoo.org/862582
	# Fixed in newer version.
	filter-lto

	cmake_src_configure
}