Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: opencamlib-2019.07
@ 2020-08-29  1:53 karl-nilsson
  2020-08-29  2:50 ` ahesford
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-29  1:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

There is a new pull request by karl-nilsson against master on the void-packages repository

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

[WIP] New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

A patch file from https://github.com/void-linux/void-packages/pull/24529.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-opencamlib-24529.patch --]
[-- Type: text/x-diff, Size: 2613 bytes --]

From 752f281b9b5d96b7d4d907e4b88df8b2a077d399 Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index 4ee9b8a8e32..87ad1687d0c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3975,6 +3975,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
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..2178c3fb344
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,34 @@
+# 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-devel"
+makedepends="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
+
+pkg_install() {
+	vmove usr/lib/opencamlib/
+}
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"a
+	depends="python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-08-31 17:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
2020-08-29  2:50 ` ahesford
2020-08-29 14:29 ` [PR PATCH] [Updated] " karl-nilsson
2020-08-29 14:29 ` karl-nilsson
2020-08-29 15:29 ` karl-nilsson
2020-08-29 15:33 ` [PR PATCH] [Updated] " karl-nilsson
2020-08-29 15:46 ` karl-nilsson
2020-08-30 12:59 ` [WIP] " karl-nilsson
2020-08-31  0:50 ` ahesford
2020-08-31 16:46 ` [PR PATCH] [Updated] " karl-nilsson
2020-08-31 16:57 ` karl-nilsson
2020-08-31 17:13 ` [PR PATCH] [Closed]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).