diff options
author | Michael Perlov <perlovka@gmail.com> | 2018-07-12 13:21:12 +0300 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2018-07-16 18:02:21 +0100 |
commit | f0a734e109a743eab528a01efe06f23a04a3905f (patch) | |
tree | ff04d384c41d9ca1ef15dd88e81956165ed2ca11 /dev-libs/libsavitar | |
parent | dev-libs/libcharon: version bump 3.4.1 (diff) | |
download | gentoo-f0a734e109a743eab528a01efe06f23a04a3905f.tar.gz gentoo-f0a734e109a743eab528a01efe06f23a04a3905f.tar.bz2 gentoo-f0a734e109a743eab528a01efe06f23a04a3905f.zip |
dev-libs/libsavitar: version bump to 3.4.1
Bug: https://bugs.gentoo.org/660884
Package-Manager: Portage-2.3.42, Repoman-2.3.9
Diffstat (limited to 'dev-libs/libsavitar')
-rw-r--r-- | dev-libs/libsavitar/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libsavitar/libsavitar-3.4.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/libsavitar/Manifest b/dev-libs/libsavitar/Manifest index f7b6846a7b5f..d12ef4cb5f5c 100644 --- a/dev-libs/libsavitar/Manifest +++ b/dev-libs/libsavitar/Manifest @@ -1 +1,2 @@ DIST libsavitar-3.3.0.tar.gz 92460 BLAKE2B 7b68e42b41092986452684f5778873a2636741fcd5659d2ff543b3a81fbe1e9fc7a216b77506873e08e9a1c76dfa8d365d7524a83b974db864ca60727a6a8d4e SHA512 9b64e18496dac00f521294ae2401002b0cca1249a80426ac0c1a1edb0d41984aba957a0c2e9acbd1ac1678307f2778617dab3c88db5d244bd746314d1a991eba +DIST libsavitar-3.4.1.tar.gz 92457 BLAKE2B ef5b7bb87d7b3293c0634d510f860b64f3235f46c8abb1365eb5e439b6f1cf3eed6ff1fa4f2a3476a6f3ed0193356d8019a6ccbce044c29339ec2693b96db3d4 SHA512 4273723536578816ab16c2d9f8c0fba57651a2cd5730e45a27e5ed5ec6a7986f59ef932094392b6bf7bd9dd9555cc44e09505c843e9b364a2c7bcc1770af1f35 diff --git a/dev-libs/libsavitar/libsavitar-3.4.1.ebuild b/dev-libs/libsavitar/libsavitar-3.4.1.ebuild new file mode 100644 index 000000000000..19171d1a74ed --- /dev/null +++ b/dev-libs/libsavitar/libsavitar-3.4.1.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_{5,6} ) +inherit cmake-utils python-single-r1 + +MY_PN="libSavitar" + +DESCRIPTION="C++ implementation of 3mf loading with SIP python bindings" +HOMEPAGE="https://github.com/Ultimaker/libSavitar" +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="+python static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="${PYTHON_DEPS} + dev-libs/pugixml + dev-python/sip[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +PATCHES=( "${FILESDIR}"/${PN}-3.3.0-remove-packaged-pugixml.patch ) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_PYTHON=$(usex python ON OFF) + -DBUILD_STATIC=$(usex static-libs ON OFF) + ) + use python && mycmakeargs+=( -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) + cmake-utils_src_configure +} |