diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2017-07-23 13:59:20 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2017-07-23 13:59:20 +0300 |
commit | 039abd2b74b582228867b606d0aea588b7f5f512 (patch) | |
tree | 5f3b936b68209571baef41daf8da3f06c0aba44e /dev-libs/libarcus | |
parent | dev-python/protobuf-python: works with py3.6 (diff) | |
download | gentoo-039abd2b74b582228867b606d0aea588b7f5f512.tar.gz gentoo-039abd2b74b582228867b606d0aea588b7f5f512.tar.bz2 gentoo-039abd2b74b582228867b606d0aea588b7f5f512.zip |
dev-libs/libarcus: Version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-libs/libarcus')
-rw-r--r-- | dev-libs/libarcus/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libarcus/libarcus-2.6.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/libarcus/Manifest b/dev-libs/libarcus/Manifest index d9e05948e636..a4762a9bd829 100644 --- a/dev-libs/libarcus/Manifest +++ b/dev-libs/libarcus/Manifest @@ -1,2 +1,3 @@ DIST libarcus-1.0.0_pre20160307.tar.gz 40461 SHA256 ca4f286cc8bae08ddf166fa470f8381f25cf61629168ca965a2f4079e758ebfc SHA512 ec654fbe2d34ad60afd0c1f3745e9f0ef5709e3698ea78d17089dad5e86cb686f38a0ea4cca07b6911058ebdf61c17b51a89c002cbf74cbbd4a68a133d8984e5 WHIRLPOOL 0c688c0fb20022a14bce6870fd1da84c891b2f68f335d9f6ebcc25432dab51823b3e9d20be8a3a51a69bc1832c3cd55576c91e0246fcc15fc4456916d5278b28 DIST libarcus-2.3.1.tar.gz 41641 SHA256 084061c6b19effbc86648915f0df3e4a8e64356487d111ac75dd2ee052ad43e8 SHA512 24ac5dd784993658e823dc7111e0ff31e77f8d95c4f024a84a7db731577ba595427de0917911fe7e0ba5848241ad33237fe6edb90a5191741e9523f616dd06a6 WHIRLPOOL 912893ee2314bb16ac580169ecc39e2f23470500b699b6d2f9b3e7dda62341268754c05774693305bbfb4a5bbcaee9aeec7695f61eaa86eab6ff1494720445de +DIST libarcus-2.6.0.tar.gz 39516 SHA256 4031a3b37aed0ddfeb7113d326117e8503be6ad0cc62d0e3d10161c1fdb2f3da SHA512 1a2c7ec83999f7874b9e82874e83550c7595fcbb0d4fcee2d84c2a06f4ec1147df30ac2e06e55552c718889fbd21146c43a9f8cf08ff282908b866bf87729ca8 WHIRLPOOL 4dab391d9607024cb3887dc7d896cac6ede99dba134383bd636ce97878ca89f513c6e081215ed39e35c568881a32e11e50cd169823187bafeac0360efb043651 diff --git a/dev-libs/libarcus/libarcus-2.6.0.ebuild b/dev-libs/libarcus/libarcus-2.6.0.ebuild new file mode 100644 index 000000000000..59d80b0d81b0 --- /dev/null +++ b/dev-libs/libarcus/libarcus-2.6.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_4 python3_5 python3_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="AGPL-3+" +SLOT="0/2" +IUSE="examples python static-libs" +KEYWORDS="~amd64 ~x86" + +RDEPEND="${PYTHON_DEPS} + dev-python/sip[${PYTHON_USEDEP}] + >=dev-libs/protobuf-3:= + >=dev-python/protobuf-python-3:*[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_PN}-${PV}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +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 +} |