Github messages for voidlinux
 help / color / mirror / Atom feed
From: karl-nilsson <karl-nilsson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: opencamlib-2019.07
Date: Sat, 29 Aug 2020 17:33:49 +0200	[thread overview]
Message-ID: <20200829153349.nu5hZoSL7bscAHXXkVJiNMPGq4u-8wIFywzzHLkyybs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24529@inbox.vuxu.org>

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

There is an updated 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

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: 2745 bytes --]

From f3afdd179e958fbdf6d1ca517d682f29a5ce2c70 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 | 36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 39 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 a6b5737b845..31f7806cdd0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3982,6 +3982,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..ba58b45a18c
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -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-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
+
+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="vtk-python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

  parent reply	other threads:[~2020-08-29 15:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-29  1:53 [PR PATCH] [WIP] " 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 ` karl-nilsson [this message]
2020-08-29 15:46 ` [PR PATCH] [Updated] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200829153349.nu5hZoSL7bscAHXXkVJiNMPGq4u-8wIFywzzHLkyybs@z \
    --to=karl-nilsson@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).