summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Scruggs <j.scruggs@gmail.com>2018-08-07 10:20:13 +0100
committerJonathan Scruggs <dracwyrm@gentoo.org>2018-08-07 17:45:14 +0100
commit1bf227e78fa5fe55a04235f3b15d352e75a59623 (patch)
tree693d26aeca76374b2d83a97148d00c5988a8764c /media-libs/partio
parentdev-python/tablib: fix broken package (diff)
downloadgentoo-1bf227e78fa5fe55a04235f3b15d352e75a59623.tar.gz
gentoo-1bf227e78fa5fe55a04235f3b15d352e75a59623.tar.bz2
gentoo-1bf227e78fa5fe55a04235f3b15d352e75a59623.zip
media-libs/partio: bump to version 1.5.0
Tests work again, so re-enable. Closes: https://github.com/gentoo/gentoo/pull/9481
Diffstat (limited to 'media-libs/partio')
-rw-r--r--media-libs/partio/Manifest1
-rw-r--r--media-libs/partio/partio-1.5.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/partio/Manifest b/media-libs/partio/Manifest
index 09e84fa00034..b67a47490ada 100644
--- a/media-libs/partio/Manifest
+++ b/media-libs/partio/Manifest
@@ -1 +1,2 @@
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
diff --git a/media-libs/partio/partio-1.5.0.ebuild b/media-libs/partio/partio-1.5.0.ebuild
new file mode 100644
index 000000000000..2aaed0b7b0be
--- /dev/null
+++ b/media-libs/partio/partio-1.5.0.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
+}