blob: 37050fb9bc05cc37e34063bfa2131167613b5027 (
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
26
27
28
29
30
31
32
33
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
inherit cmake
MY_PV="ver${PV}"
MY_P="${PN}_${MY_PV}"
DESCRIPTION="Polygon and line clipping and offsetting library (C++, C#, Delphi)"
HOMEPAGE="http://www.angusj.com/delphi/clipper.php"
SRC_URI="mirror://sourceforge/project/polyclipping/${MY_P}.zip -> ${P}.zip"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE=""
RDEPEND=""
BDEPEND="app-arch/unzip"
S="${WORKDIR}/cpp"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
)
cmake_src_configure
}
|