New package: opencamlib-2019.07

Closes: #24529 [via git-merge-pr]
This commit is contained in:
Karl Nilsson 2020-07-29 23:51:18 -04:00 committed by Andrew J. Hesford
parent 0353d099ff
commit 0af6ec3dfe
4 changed files with 39 additions and 0 deletions

View file

@ -3981,6 +3981,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
libptexenc.so.1 texlive-20200406_1
libsynctex.so.2 libsynctex-20200406_3
libdolphinvcs.so.5 dolphin-20.04.3_1
libocl.so.2019.07 opencamlib-2019.07_1
libcglm.so.0 cglm-0.7.6_1
libfcft.so.3 fcft-2.2.2_1
libaml.so.0 aml-0.1.0_1

1
srcpkgs/opencamlib-devel Symbolic link
View file

@ -0,0 +1 @@
opencamlib/

1
srcpkgs/opencamlib-python3 Symbolic link
View file

@ -0,0 +1 @@
opencamlib/

View file

@ -0,0 +1,36 @@
# Template file for 'opencamlib'
pkgname=opencamlib
version=2019.07
revision=1
build_style=cmake
configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
hostmakedepends="python3"
makedepends="python3-devel boost-devel libboost_program_options1.72 libgomp-devel"
short_desc="Open source computer aided manufacturing algorithms library"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://www.anderswallin.net/CAM"
distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
subpackages="opencamlib-devel"
# opencamlib-python3 cannot be cross compiled because of vtk-python3
if [ -z "$CROSS_BUILD" ]; then
subpackages+=" opencamlib-python3"
fi
opencamlib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}
opencamlib-python3_package() {
short_desc+=" - Python3 bindings"
depends="${sourcepkg}>=${version}_${revision} vtk-python3"
pkg_install() {
vmove "usr/lib/python3*"
}
}