diff options
Diffstat (limited to 'media-libs/partio')
-rw-r--r-- | media-libs/partio/Manifest | 1 | ||||
-rw-r--r-- | media-libs/partio/partio-1.5.4.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/partio/Manifest b/media-libs/partio/Manifest index b67a47490ada..9b66c2b3a92a 100644 --- a/media-libs/partio/Manifest +++ b/media-libs/partio/Manifest @@ -1,2 +1,3 @@ DIST partio-1.1.0_p20170829.tar.gz 275959 BLAKE2B 441c2d0ab9dd91fa52a826d49f7448dc4d5d0a8d6b72bdb58793dd3c97d86739b25e582bdff41160599489a2835ad8e68676012cb70ef8edff062df3205ab209 SHA512 daedb23ae2b89d3f2ef36ef13afc624a663b3fab91c22f9a454439ff3bc194b78a87e37c9133f6948567ab3b183eff960bb51951b0427cff8c1c29099b6578d6 DIST partio-1.5.0.tar.gz 291604 BLAKE2B d0d6eab4ef541e61fe4498b4cdd8b9c60e62545a040d3f26b8a7b2d8adaa36c45f28c8a05df24c47dc504ec1dd4fb7bfec1fe5b08f6a035a0b3fdcdceacc46fc SHA512 10db9cfe691fd2341e2613132ad7f8d363007a62a5b5cb6226c53360e2e47d1be77c4d87ae31bd7537790cc8ba8bac7eef229c21fcd8227d98d2ab2154aac559 +DIST partio-1.5.4.tar.gz 291617 BLAKE2B 638fae984d392e1e6c95862ad9a8dd8b8a0d80b2c83dfd03e887af36e420d15fd67f0b2c71e5e8c335668b512660bf14f03a1329ac0d7a48431674a51043585d SHA512 967da5b648b19c45bd0c3c8ff56f891e2d54a07b2cd113f18d5d0b646cbfabd968e31ee48c0e167bf9a911d8d5af42d5291b355da305a2b9134fa78fc23e5636 diff --git a/media-libs/partio/partio-1.5.4.ebuild b/media-libs/partio/partio-1.5.4.ebuild new file mode 100644 index 000000000000..2aaed0b7b0be --- /dev/null +++ b/media-libs/partio/partio-1.5.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit cmake-utils python-single-r1 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wdas/partio.git" +else + SRC_URI="https://github.com/wdas/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A library for particle IO and manipulation" +HOMEPAGE="https://www.disneyanimation.com/technology/partio.html" + +LICENSE="BSD" +SLOT="0" +IUSE="doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + media-libs/freeglut + sys-libs/zlib:= + virtual/opengl +" + +DEPEND="${RDEPEND} + dev-lang/swig:* + doc? ( app-doc/doxygen[latex] ) +" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package doc Doxygen) + ) + cmake-utils_src_configure +} |