diff options
Diffstat (limited to 'media-libs/partio')
-rw-r--r-- | media-libs/partio/Manifest | 1 | ||||
-rw-r--r-- | media-libs/partio/partio-9999.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/partio/Manifest b/media-libs/partio/Manifest index 92695a16d227..1949c2ea1a89 100644 --- a/media-libs/partio/Manifest +++ b/media-libs/partio/Manifest @@ -1,4 +1,5 @@ AUX partio-1.1.0-Rename-partconv.patch 2459 BLAKE2B d811f5174dd2c5e158e7985e8fdea520faeb248249b88c8ebec37dc91f50312ed44d39563142cb3a28fa07ce9b6907824835484881782ceac9b8894978bcb061 SHA512 1965a236f43092c05c940c0f2b33d9c77066ed5fbf3b1753bcf5d9b13c8e5a6e60ef41ba13c9471d1d26d1dc74fead52d0ef1c18f04b1f942345fd1412b0c932 DIST partio-1.1.0_p20170829.tar.gz 275959 BLAKE2B 441c2d0ab9dd91fa52a826d49f7448dc4d5d0a8d6b72bdb58793dd3c97d86739b25e582bdff41160599489a2835ad8e68676012cb70ef8edff062df3205ab209 SHA512 daedb23ae2b89d3f2ef36ef13afc624a663b3fab91c22f9a454439ff3bc194b78a87e37c9133f6948567ab3b183eff960bb51951b0427cff8c1c29099b6578d6 EBUILD partio-1.1.0_p20170829.ebuild 1060 BLAKE2B b235d53fa705d5e6d515ee983203ac0349c23a7b10f09093980fba0aaef4d770fcb469a0f357bf4a15f07c1017cc19b933fa0f0df6d6207def91a12677bc9bf7 SHA512 c80ff6fcc5e52201819b6477c735a51e94c72e63992c404a24e7c10ebe05955d542fce76ac4e21ff1f8e7192f5c42a968988be2cee2a9cdc4a07720bf15e9ce4 +EBUILD partio-9999.ebuild 1120 BLAKE2B 4d5c4d89eaacf786e2f097da917b9b78bfce8e392c8ce468f9e6042e7d2f01ff39f73b4960d3459ef834b21a98b2af984b7026d4ba94ea6ce731a09892ebcdca SHA512 f6ca5099221bdafce8704328f5f879d2a9ad569970e5618185dc95fa3c115d3a16f06ea420d8d4ff82f28fd3dab689f51f6936de91ffdaada38c7f68062bc6ba MISC metadata.xml 640 BLAKE2B 3b2c33cb14c466bd4641cc04781d1de05d01170ccc591b3caae40356f934944c4c969834bad5ccdcf9f5390d203270055863b08feb7321492a27d4d7575aced5 SHA512 7116217ccc87ab80d8cb4ee0ea20089ea1c0a5b4ea9b3f666548b37422c01a8917516a5db565fc55f779bb19613fbfb515cfae0b9f87f010f5034c14d27ed8e0 diff --git a/media-libs/partio/partio-9999.ebuild b/media-libs/partio/partio-9999.ebuild new file mode 100644 index 000000000000..45be65d43fda --- /dev/null +++ b/media-libs/partio/partio-9999.ebuild @@ -0,0 +1,48 @@ +# 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 vcs-snapshot python-single-r1 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wdas/partio.git" +else + MY_GIT_COMMIT="2774ef3958da46d9f8a4230ebda9e04b1aa8f4e5" + SRC_URI="https://github.com/wdas/${PN}/archive/${MY_GIT_COMMIT}.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 + virtual/opengl + sys-libs/zlib:=" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[latex] ) + dev-lang/swig:*" + +src_prepare() { + cmake-utils_src_prepare + cmake_comment_add_subdirectory "src/tests" +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package doc Doxygen) + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + ) + cmake-utils_src_configure +} |