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@gmail.com, irc: Dracwyrm)
Signed off by: Adrian Grigo (agrigo2001@yahoo.com.au)
Closes: https://github.com/gentoo/gentoo/pull/2531

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jonathan Scruggs
2016-10-12 13:12:19 +01:00
committed by David Seifert
parent e63b34347a
commit 74468a0703
3 changed files with 43 additions and 0 deletions

1
media-libs/ptex/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST ptex-2.1.28.tar.gz 305327 SHA256 919af3cc56a7617079757bac5c0202f4375acf21861a3990e313739e56a6142c SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 WHIRLPOOL 996faad06ce8f016d24c8ec82e4422eab0e576976184bb27c24a3843eede53a3a2db5a6f572148c55bed3c6953dcdba30fa5d38e82fc1ea76e907bb5730fe5c7

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer restrict="&gt;=media-libs/ptex-2.1.10" type="person">
<email>j.scruggs@gmail.com</email>
<name>Jonathan Scruggs</name>
</maintainer>
<maintainer restrict="&gt;=media-libs/ptex-2.1.10" type="person">
<email>agrigo2001@yahoo.com.au</email>
<name>Adrian Grigo</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
Per-Face Texture Mapping for Production Rendering.
</longdescription>
</pkgmetadata>

View File

@@ -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
}