summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@omrb.pnpi.spb.ru>2018-06-14 15:51:36 +0300
committerAlexey Shvetsov <alexxy@omrb.pnpi.spb.ru>2018-06-14 15:51:36 +0300
commit1609762963b6114ad3249710b30e396585242240 (patch)
tree218fd47ec2f69e42967a8758d49e79791f4f6342 /dev-libs/libarcus
parentsci-chemistry/gromacs: Version bump (diff)
downloadgentoo-1609762963b6114ad3249710b30e396585242240.tar.gz
gentoo-1609762963b6114ad3249710b30e396585242240.tar.bz2
gentoo-1609762963b6114ad3249710b30e396585242240.zip
dev-libs/libarcus: Version bump
Closes: https://bugs.gentoo.org/648130 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-libs/libarcus')
-rw-r--r--dev-libs/libarcus/Manifest1
-rw-r--r--dev-libs/libarcus/libarcus-3.3.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/libarcus/Manifest b/dev-libs/libarcus/Manifest
index 635d9a5a4b23..12248e58124a 100644
--- a/dev-libs/libarcus/Manifest
+++ b/dev-libs/libarcus/Manifest
@@ -1,3 +1,4 @@
DIST libarcus-1.0.0_pre20160307.tar.gz 40461 BLAKE2B 8f39ae9451c4cb7af1792717c9c205893fadaa0a0c41de408f34a0f83962905a8c200806c77e881a7cee50bb9818c8d72354790ce2c6a07d50198119a89b98e2 SHA512 ec654fbe2d34ad60afd0c1f3745e9f0ef5709e3698ea78d17089dad5e86cb686f38a0ea4cca07b6911058ebdf61c17b51a89c002cbf74cbbd4a68a133d8984e5
DIST libarcus-2.3.1.tar.gz 41641 BLAKE2B d45b71b987bb7fe04060cf398a26a10094e9f44f75102db878846dd5c709181bb6dc36c62dc5fee41c551f8bf039977f91a2ed5d3b10da1763e599510c2ff33e SHA512 24ac5dd784993658e823dc7111e0ff31e77f8d95c4f024a84a7db731577ba595427de0917911fe7e0ba5848241ad33237fe6edb90a5191741e9523f616dd06a6
DIST libarcus-2.6.0.tar.gz 39516 BLAKE2B 6d187d9b095fc9b86e548a8f1ca9709677ee8deb22e7270ee27a2e93a30f8514adbc7846f78415286dba00d56025eacb70e5077bf9aa71ae5e0ef641ec417edb SHA512 1a2c7ec83999f7874b9e82874e83550c7595fcbb0d4fcee2d84c2a06f4ec1147df30ac2e06e55552c718889fbd21146c43a9f8cf08ff282908b866bf87729ca8
+DIST libarcus-3.3.0.tar.gz 29695 BLAKE2B a63ca06133cf7db556fe82cc7ea060badd7838d697822d64e09c52aaa81a8509bfa6010037004593da3b1e66dde510767a992524f8e1719e614932b88b9393fe SHA512 a911fb5784ceb835ba2c175ce42cc10544bdd0834e987d8ac1be2517293f00e596f94910d8bf5f37f61e63246ba6e78d28a23bc061809e70b1bb6ad1a21107c9
diff --git a/dev-libs/libarcus/libarcus-3.3.0.ebuild b/dev-libs/libarcus/libarcus-3.3.0.ebuild
new file mode 100644
index 000000000000..93172e0b6411
--- /dev/null
+++ b/dev-libs/libarcus/libarcus-3.3.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit cmake-utils python-single-r1
+
+MY_PN="libArcus"
+
+DESCRIPTION="This library facilitates communication between Cura and its backend"
+HOMEPAGE="https://github.com/Ultimaker/libArcus"
+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/sip[${PYTHON_USEDEP}]
+ dev-libs/protobuf
+ python? ( dev-python/protobuf-python[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_PYTHON=$(usex python ON OFF)
+ -DBUILD_EXAMPLES=$(usex examples ON OFF)
+ -DBUILD_STATIC=$(usex static-libs ON OFF)
+ )
+ use python && mycmakeargs+=( -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" )
+ cmake-utils_src_configure
+}