Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: libredwg-0.9
@ 2019-10-30 22:43 voidlinux-github
  2019-10-31  2:33 ` [NOMERGE] " voidlinux-github
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2019-10-30 22:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_libredwg
https://github.com/void-linux/void-packages/pull/15972

New package: libredwg-0.9


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

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

From c9a03f1b3b1ed3b9c6ffeb55b6c26bf5e32324a9 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Wed, 30 Oct 2019 17:23:27 -0500
Subject: [PATCH] New package: libredwg-0.9

---
 common/shlibs             |  1 +
 srcpkgs/libredwg-devel    |  1 +
 srcpkgs/libredwg-tools    |  1 +
 srcpkgs/libredwg/template | 41 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/python3-libredwg  |  1 +
 5 files changed, 45 insertions(+)
 create mode 120000 srcpkgs/libredwg-devel
 create mode 120000 srcpkgs/libredwg-tools
 create mode 100644 srcpkgs/libredwg/template
 create mode 120000 srcpkgs/python3-libredwg

diff --git a/common/shlibs b/common/shlibs
index 41e609a31db..61a39c7df8a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3526,3 +3526,4 @@ libarmadillo.so.9 armadillo-9.700.2_1
 libvarnishapi.so.2 libvarnishapi-6.3.0_1
 libicns.so.1 libicns-0.8.1_1
 librabbitmq.so.4 rabbitmq-c-0.9.0_1
+libredwg.so.0 libredwg-0.9_1
diff --git a/srcpkgs/libredwg-devel b/srcpkgs/libredwg-devel
new file mode 120000
index 00000000000..67c8e2fdb1c
--- /dev/null
+++ b/srcpkgs/libredwg-devel
@@ -0,0 +1 @@
+libredwg
\ No newline at end of file
diff --git a/srcpkgs/libredwg-tools b/srcpkgs/libredwg-tools
new file mode 120000
index 00000000000..67c8e2fdb1c
--- /dev/null
+++ b/srcpkgs/libredwg-tools
@@ -0,0 +1 @@
+libredwg
\ No newline at end of file
diff --git a/srcpkgs/libredwg/template b/srcpkgs/libredwg/template
new file mode 100644
index 00000000000..08bc8c70b67
--- /dev/null
+++ b/srcpkgs/libredwg/template
@@ -0,0 +1,41 @@
+# Template file for 'libredwg'
+pkgname=libredwg
+version=0.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config swig"
+makedepends="python3-devel pcre2-devel"
+short_desc="Free library to handle DWG files"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://www.gnu.org/software/libredwg/"
+distfiles="$GNU_SITE/libredwg/libredwg-${version}.tar.xz"
+checksum=954f74753860315eb313a3bbb83bf7e5ad03e84bd10408cc629ff2e4e4b3fd46
+
+libredwg-tools_package() {
+	short_desc+=" - utilities"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man/man1
+	}
+}
+
+libredwg-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*a"
+	}
+}
+
+python3-libredwg_package() {
+	short_desc+=" - python3 bindings"
+	pycompile_version="$py3_ver"
+	pycompile_module="LibreDWG"
+	pkg_install() {
+		vmove "$py3_sitelib"
+	}
+}
diff --git a/srcpkgs/python3-libredwg b/srcpkgs/python3-libredwg
new file mode 120000
index 00000000000..67c8e2fdb1c
--- /dev/null
+++ b/srcpkgs/python3-libredwg
@@ -0,0 +1 @@
+libredwg
\ No newline at end of file

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

end of thread, other threads:[~2019-11-08  7:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30 22:43 [PR PATCH] New package: libredwg-0.9 voidlinux-github
2019-10-31  2:33 ` [NOMERGE] " voidlinux-github
2019-11-04 14:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-06 15:24 ` voidlinux-github
2019-11-08  7:25 ` [PR PATCH] [Merged]: " voidlinux-github

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).