1 |
commit: ac6f84e82c3d1931e1e8408045c45e04dc6b1d57 |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 18:27:13 2020 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 04:35:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6f84e8 |
7 |
|
8 |
dev-libs/libarcus: version bump 4.7.0 |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/17338 |
12 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
13 |
|
14 |
dev-libs/libarcus/Manifest | 1 + |
15 |
dev-libs/libarcus/libarcus-4.7.0.ebuild | 52 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 53 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/libarcus/Manifest b/dev-libs/libarcus/Manifest |
19 |
index c491ed57826..fbb9e38d5cc 100644 |
20 |
--- a/dev-libs/libarcus/Manifest |
21 |
+++ b/dev-libs/libarcus/Manifest |
22 |
@@ -3,3 +3,4 @@ DIST libarcus-3.6.0.tar.gz 29469 BLAKE2B c032dd51631b10c04e69dac4425c8a5d180cf8c |
23 |
DIST libarcus-4.2.0.tar.gz 30582 BLAKE2B cb2390d7fc8942cbdd880385313f4bd8886a1ea4eaa5246c76b0b3243e8a099953ecf51d09486e005c8c14783ec67435b33068efae2ea6075edf91b90b9fa9b2 SHA512 f9a38d095a2ba2ab29a382466ce16d1c0f5cdb34b60a2b930529edac94de177d7bed37ee26bf615833c94ccd0e3b7c71d502f5f815d92eeffdf3bc1f15b49ba5 |
24 |
DIST libarcus-4.3.0.tar.gz 30540 BLAKE2B 58937764d9eec4a235bcc26aa85ab1f1418ae2c576c24759fee5155c7690a3a5feee1946cbae8e7836fd4eccdb0f673167aeda46c3dae124101cfb03510697e8 SHA512 b3893e3c422de85a6968443a6f26149e9dee9f15038c11c219693b9aa8d5174d908421e33c8e3ce4e4ecab8c5077da217b44a9ec6bb4b351ff67b7f2d42cc890 |
25 |
DIST libarcus-4.6.1.tar.gz 31938 BLAKE2B c1da0181e07f297549df92ed23848343f0dadf94af7ce64ff2661e5c09c68768d47180aff505f2a225af2d49e493b8511ac9560a9b51a4eef98d6da82566b093 SHA512 3c56133fee2eb152f0557a1860d1d298b44a021a53247687ce938949c49e1999c3e2287552e67ff65a58bf6aecbd82c8412da394f83a9981bfa68d29e9501250 |
26 |
+DIST libarcus-4.7.0.tar.gz 31944 BLAKE2B 93cd7e8dab674b1e145c0fd15bcc8901982e9c26f82fa5b6b9582568701b70edeb1a589e1e1c94f9e14100d08b12580e58aa1724917b88f9c099f12ca47e4e57 SHA512 5eb8e84ff8e87966fc3ff1d71ec69f8fece493e25e022f7f1ba7ef218e75b5be86cededc28faf57634b09617990f62247e6cd6f373f940cf145ee6d8e8635374 |
27 |
|
28 |
diff --git a/dev-libs/libarcus/libarcus-4.7.0.ebuild b/dev-libs/libarcus/libarcus-4.7.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..a3f66acd876 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/libarcus/libarcus-4.7.0.ebuild |
33 |
@@ -0,0 +1,52 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
40 |
+ |
41 |
+inherit cmake python-single-r1 |
42 |
+ |
43 |
+MY_PN="libArcus" |
44 |
+ |
45 |
+DESCRIPTION="This library facilitates communication between Cura and its backend" |
46 |
+HOMEPAGE="https://github.com/Ultimaker/libArcus" |
47 |
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="LGPL-3" |
50 |
+SLOT="0/3" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="examples +python static-libs" |
53 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
54 |
+ |
55 |
+RDEPEND="${PYTHON_DEPS} |
56 |
+ dev-libs/protobuf:= |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ dev-python/sip[${PYTHON_MULTI_USEDEP}] |
59 |
+ python? ( dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}] ) |
60 |
+ ')" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+ |
63 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
64 |
+ |
65 |
+pkg_setup() { |
66 |
+ use python && python-single-r1_pkg_setup |
67 |
+} |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ # Find SIP for current python version, not the latest installed |
71 |
+ sed -i "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \ |
72 |
+ CMakeLists.txt cmake/FindSIP.cmake || die |
73 |
+ |
74 |
+ cmake_src_prepare |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local mycmakeargs=( |
79 |
+ -DBUILD_EXAMPLES=$(usex examples ON OFF) |
80 |
+ -DBUILD_PYTHON=$(usex python ON OFF) |
81 |
+ -DBUILD_STATIC=$(usex static-libs ON OFF) |
82 |
+ ) |
83 |
+ |
84 |
+ cmake_src_configure |
85 |
+} |