From 74468a07030339cc74cab6a2382167d7bf3ebf80 Mon Sep 17 00:00:00 2001 From: Jonathan Scruggs Date: Wed, 12 Oct 2016 13:12:19 +0100 Subject: [PATCH] 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 --- 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(+) create mode 100644 media-libs/ptex/Manifest create mode 100644 media-libs/ptex/metadata.xml create mode 100644 media-libs/ptex/ptex-2.1.28.ebuild diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest new file mode 100644 index 0000000000000..a9e65e006a856 --- /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 0000000000000..b59312f7b717b --- /dev/null +++ b/media-libs/ptex/metadata.xml @@ -0,0 +1,19 @@ + + + + + j.scruggs@gmail.com + Jonathan Scruggs + + + agrigo2001@yahoo.com.au + Adrian Grigo + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Per-Face Texture Mapping for Production Rendering. + + 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 0000000000000..adefaa471fe5c --- /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 +}