From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45F7C138334 for ; Wed, 15 Aug 2018 20:08:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2950CE090A; Wed, 15 Aug 2018 20:08:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8069E090A for ; Wed, 15 Aug 2018 20:08:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 072D9335D0C for ; Wed, 15 Aug 2018 20:08:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B1FF394 for ; Wed, 15 Aug 2018 20:08:47 +0000 (UTC) From: "Jonathan Scruggs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jonathan Scruggs" Message-ID: <1534363697.cf90a26960bf46cafe077d8eee562044ac4d8dd1.dracwyrm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/ptex/, media-libs/ptex/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/ptex/Manifest media-libs/ptex/files/ptex-2.3.0-cxx11.patch media-libs/ptex/ptex-2.3.0.ebuild X-VCS-Directories: media-libs/ptex/ media-libs/ptex/files/ X-VCS-Committer: dracwyrm X-VCS-Committer-Name: Jonathan Scruggs X-VCS-Revision: cf90a26960bf46cafe077d8eee562044ac4d8dd1 X-VCS-Branch: master Date: Wed, 15 Aug 2018 20:08:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1e7076c0-94e9-4b51-8aea-ecfba24efc7e X-Archives-Hash: e4bf8a5820cb895c3dbb52eca09cbe65 commit: cf90a26960bf46cafe077d8eee562044ac4d8dd1 Author: Jonathan Scruggs gmail com> AuthorDate: Wed Aug 15 17:35:27 2018 +0000 Commit: Jonathan Scruggs gentoo org> CommitDate: Wed Aug 15 20:08:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf90a269 media-libs/ptex: bump to version 2.3.0 Restrict tests as not fixed upstream: Closes: https://bugs.gentoo.org/646006 media-libs/ptex/Manifest | 1 + media-libs/ptex/files/ptex-2.3.0-cxx11.patch | 12 ++++++++++ media-libs/ptex/ptex-2.3.0.ebuild | 33 ++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest index a49cd522665..f7c5d0f3e48 100644 --- a/media-libs/ptex/Manifest +++ b/media-libs/ptex/Manifest @@ -1 +1,2 @@ DIST ptex-2.1.28.tar.gz 305327 BLAKE2B 4a91b08ae326e8ed8d420022c693ea60cb21908380b8c49a7672771686f9dd2ef05151b7d43755bc63ab6624db772c2b53d1ffdcdea9c1dff7627cc3fe0f3b15 SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 +DIST ptex-2.3.0.tar.gz 306462 BLAKE2B 790e3623ce6ebae2dfd8884d8e19e62395c54432289d88bdcf3a01c8ae1ef752ca88869357ac1e4657d59f1ca73d311a3fb9a08efe4e145ca259eff93d8a3b6a SHA512 2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992 diff --git a/media-libs/ptex/files/ptex-2.3.0-cxx11.patch b/media-libs/ptex/files/ptex-2.3.0-cxx11.patch new file mode 100644 index 00000000000..f0b60009137 --- /dev/null +++ b/media-libs/ptex/files/ptex-2.3.0-cxx11.patch @@ -0,0 +1,12 @@ +diff -purN a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2016-04-04 18:14:05.000000000 +0100 ++++ b/CMakeLists.txt 2017-02-13 22:59:10.000000000 +0000 +@@ -16,7 +16,7 @@ else () + endif () + + if (NOT WIN32) +- set(CMAKE_CXX_FLAGS "-std=c++98 -Wall -Wextra -pedantic ${CMAKE_CXX_FLAGS}") ++ set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -pedantic ${CMAKE_CXX_FLAGS}") + endif () + + if(MSVC) diff --git a/media-libs/ptex/ptex-2.3.0.ebuild b/media-libs/ptex/ptex-2.3.0.ebuild new file mode 100644 index 00000000000..b3cec3d387b --- /dev/null +++ b/media-libs/ptex/ptex-2.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +RDEPEND="sys-libs/zlib:=" +DEPEND="${RDEPEND} + app-doc/doxygen" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${P}-cxx11.patch" +) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/html" + -DPTEX_BUILD_STATIC_LIBS=$(usex static-libs) + ) + cmake-utils_src_configure +}