commit: 74468a07030339cc74cab6a2382167d7bf3ebf80 Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com> AuthorDate: Wed Oct 12 12:12:19 2016 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Oct 22 23:25:16 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74468a07
media-libs/ptex: New package Ptex is a texture mapping system developed by Walt Disney Animation Studios for production-quality rendering: - No UV assignment is required! Ptex applies a separate texture to each face of a subdivision or polygon mesh. - The Ptex file format can efficiently store hundreds of thousands of texture images in a single file. - The Ptex API provides cached file I/O and high-quality filtering: everything that is needed to easily add Ptex support to a production-quality renderer or texture authoring application. Gentoo-Bug: 573444 Signed off by: Jonathan Scruggs (j.scruggs <AT> gmail.com, irc: Dracwyrm) Signed off by: Adrian Grigo (agrigo2001 <AT> yahoo.com.au) Closes: https://github.com/gentoo/gentoo/pull/2531 Signed-off-by: David Seifert <soap <AT> gentoo.org> media-libs/ptex/Manifest | 1 + media-libs/ptex/metadata.xml | 19 +++++++++++++++++++ media-libs/ptex/ptex-2.1.28.ebuild | 23 +++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest new file mode 100644 index 00000000..a9e65e00 --- /dev/null +++ b/media-libs/ptex/Manifest @@ -0,0 +1 @@ +DIST ptex-2.1.28.tar.gz 305327 SHA256 919af3cc56a7617079757bac5c0202f4375acf21861a3990e313739e56a6142c SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 WHIRLPOOL 996faad06ce8f016d24c8ec82e4422eab0e576976184bb27c24a3843eede53a3a2db5a6f572148c55bed3c6953dcdba30fa5d38e82fc1ea76e907bb5730fe5c7 diff --git a/media-libs/ptex/metadata.xml b/media-libs/ptex/metadata.xml new file mode 100644 index 00000000..b59312f --- /dev/null +++ b/media-libs/ptex/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer restrict=">=media-libs/ptex-2.1.10" type="person"> + <email>j.scru...@gmail.com</email> + <name>Jonathan Scruggs</name> + </maintainer> + <maintainer restrict=">=media-libs/ptex-2.1.10" type="person"> + <email>agrigo2...@yahoo.com.au</email> + <name>Adrian Grigo</name> + </maintainer> + <maintainer type="project"> + <email>proxy-ma...@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + Per-Face Texture Mapping for Production Rendering. + </longdescription> +</pkgmetadata> diff --git a/media-libs/ptex/ptex-2.1.28.ebuild b/media-libs/ptex/ptex-2.1.28.ebuild new file mode 100644 index 00000000..adefaa4 --- /dev/null +++ b/media-libs/ptex/ptex-2.1.28.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Per-Face Texture Mapping for Production Rendering" +HOMEPAGE="http://ptex.us/" +SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND} + app-doc/doxygen" + +KEYWORDS="~amd64 ~x86" + +src_configure() { + local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html ) + cmake-utils_src_configure +}