diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /media-libs/ptex | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'media-libs/ptex')
-rw-r--r-- | media-libs/ptex/Manifest | 6 | ||||
-rw-r--r-- | media-libs/ptex/files/ptex-2.3.2-cxx11.patch | 22 | ||||
-rw-r--r-- | media-libs/ptex/ptex-2.1.28.ebuild | 22 | ||||
-rw-r--r-- | media-libs/ptex/ptex-2.3.0.ebuild | 4 | ||||
-rw-r--r-- | media-libs/ptex/ptex-2.3.2.ebuild | 39 |
5 files changed, 67 insertions, 26 deletions
diff --git a/media-libs/ptex/Manifest b/media-libs/ptex/Manifest index dea76764011e..3d0d49f3ced3 100644 --- a/media-libs/ptex/Manifest +++ b/media-libs/ptex/Manifest @@ -1,9 +1,11 @@ AUX ptex-2.1.28-20170213.patch 2324 BLAKE2B 1536d8b2f8c6c28718ae81a04e3041d5c25f562647e84a098500ca523cb2c4f0743b812e3a1fb9838604752a41b07d1dd41f65d7a9c2bca7a84cc25eb312f3be SHA512 dcdad0e6b2b37c523b5b54c4d885cd99facd7d50733150b2c75fac3b600010c61d2c219a14aecc24a86ff869b62a962e975dd5790228112fe004aa2d8b2fa51a AUX ptex-2.1.28-allow-custom-build-type.patch 1410 BLAKE2B 9d1bd1b41752bc3d8c21f72505dbc7c2bafccadcdb1ace339a8f25045f4e2b527af0b3263d4be2f5883912eca733d74cb20aa10eff6792ff89f288e34d27600f SHA512 fc51d24895c7624ee610f5f8537bacc15903816cf4cebb2c32f15afa6c9ab4dd087e21018a81e4d032b37735bf4fba73a406acef8e0c88cebfd6606ba2b11b24 AUX ptex-2.3.0-cxx11.patch 399 BLAKE2B 482ff38239256f3195d13478a461c45eb812e1f4f047dbbebd275d77edca71273978c183360a6428ca411029be4174637bc591846554ad37af58cf64ee80d6c6 SHA512 9ab265f7d330142453b8b135ee32fde20b70ce6b17266ff61051682d6ca620a9d55c40f199c52feb807372cc64c21e1905907c10b609d2e5f07e572451c9b1d6 +AUX ptex-2.3.2-cxx11.patch 828 BLAKE2B e445858c625de0c924a412690cbf2f1bed6ee4fd7efafd60765a4f43fa204ba474cdf2944acf3eb94b061df6c39cd9016413e6c5d73da3813144fa289746ceb4 SHA512 53d6e66dd4a35dc2e16e5f227a24ec90d3f7667c5f80dc3d7321086b4efb4d63451783450a02a389c09a3faa6808cd90e89e2097390ef9881ffe313fbfd8c6d1 DIST ptex-2.1.28.tar.gz 305327 BLAKE2B 4a91b08ae326e8ed8d420022c693ea60cb21908380b8c49a7672771686f9dd2ef05151b7d43755bc63ab6624db772c2b53d1ffdcdea9c1dff7627cc3fe0f3b15 SHA512 ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8 DIST ptex-2.3.0.tar.gz 306462 BLAKE2B 790e3623ce6ebae2dfd8884d8e19e62395c54432289d88bdcf3a01c8ae1ef752ca88869357ac1e4657d59f1ca73d311a3fb9a08efe4e145ca259eff93d8a3b6a SHA512 2d9d320e4205236a4eff05ec3c67d085624809ebefa89fa3b943d18a8b2b6a5f61c022a4cc4363a7c6ceccfb9eac4f8738dff2e90a3355814f2c4ff096c09992 +DIST ptex-2.3.2.tar.gz 308550 BLAKE2B 7b3145dbf9d2c13140c3f20ed606ee911deed3c38fd30adfbb01b58c3af5794dbd4e0fa1fbab6e8ae83556a0ffec725bf077271abf752f1271ed721ca200a1ff SHA512 dbc557dc5e1761204ee3483af9bf4ff1504cbd7955e0405dc27a51f7182e2445e41db086b2792c2491aa2cbaddc74e523170a4b3d25e44d332123d5b7081f4b9 EBUILD ptex-2.1.28-r1.ebuild 575 BLAKE2B 5ec37846a07464082c8863b53e523f1b046151f14cccb7b19672028560072703b303feeaac156c78c6a7006d79bed649e9a24d5dac6f2e81985e57077595850e SHA512 0289b417671552ad7400b5784f985d1b3d405b07d10e2101a06289292249d67ab88ad1c041f5641ea724de59a0285797fc7435cc68ad9f3c550bbb30b55bb967 -EBUILD ptex-2.1.28.ebuild 544 BLAKE2B 60cb8bb36eea64f38f892a91bd270eccfaae2b8f409a319688e491069e7c02739977f95663b7eb4aaadbe368ef069d444902dbf3acb13d4f256c4313a5a0fb51 SHA512 546b82932cdb673e44b6aa7e843e8f96564cb22436e274678c0910d4beda2cd483812cc5a6b4b03bab8c2dcdf028ea3ac62bcffd088bf1f51c8a974e9e58f39e -EBUILD ptex-2.3.0.ebuild 663 BLAKE2B 6ff6a2c7e2668e6ce4dc60e666f5ed32024d9864375a27c8c060fad2baeed6c7105dbca800ed04846ef017f5042e4e75e2a6e6a072c694dc78e4ea6165b4bd81 SHA512 8d280943a293511704d4835c97f75451fa02ec0ebc4b4fb386b948a903e8c8dd7e7679264e64d0700df3cce3e2ae0973da7cef567874001f17dffe8a4520fd7e +EBUILD ptex-2.3.0.ebuild 659 BLAKE2B 22ebe67087dc4ce5549dd32b35becb3b2606ae7a9c86ea19b29bf6f9a2165c1648b10f7970b3be9fadf2449d71a78b24232155d038036e3cdbc91be27ab33ce8 SHA512 e6ba1ca758119dca0e886a7988dfdff81ea1dbed0a0e84fffeb13bdc1cc140781250f6515cb8a568f5000383b01b2435caf2907d8116e50034418c8108447ede +EBUILD ptex-2.3.2.ebuild 793 BLAKE2B 4e038fb24bbe5c65fa973fde8d294a980fa4c04d9a73abdb5e6df43b55529ce7eb853a2fd6132b12324a2f634d7dde11aedb6a6fef0b0a228390d227ea343ef3 SHA512 0c88c278faaa06bd433b12a0e935a0faaad921b2b099b0b74cc811a947ffedf06bf13b1b3797f57ad056217984e6af5fd22dc4f41932f3cc53bd6bf734930a29 MISC metadata.xml 646 BLAKE2B 443223f4b464d16d2e7b4ea692b080f49aeceb1ef4d599d5dccd5aab6223e8f3a562317f7dda0cddb79840f19270f65af948df153cb2064b903f80e00580ee8e SHA512 ec1b3e3f8b15023413723136125ad6a92b7a509532824fcc547bcfe147e63a60e072496cbfa2337bb180e9c718fbe9e49c198f469a9e41a252b1706cf6cd461f diff --git a/media-libs/ptex/files/ptex-2.3.2-cxx11.patch b/media-libs/ptex/files/ptex-2.3.2-cxx11.patch new file mode 100644 index 000000000000..f35372b7c636 --- /dev/null +++ b/media-libs/ptex/files/ptex-2.3.2-cxx11.patch @@ -0,0 +1,22 @@ +--- a/CMakeLists.txt 2019-03-08 18:39:47.000000000 +0100 ++++ b/CMakeLists.txt 2019-05-21 23:20:50.964082298 +0200 +@@ -5,19 +5,6 @@ + option(PTEX_BUILD_SHARED_LIBS "Enable building Ptex shared libraries" ON) + option(PRMAN_15_COMPATIBLE_PTEX "Enable PRMan 15 compatibility" OFF) + +-if (DEFINED ENV{CXXFLAGS_STD}) +- if ($ENV{CXXFLAGS_STD} STREQUAL "c++17") +- set(CMAKE_CXX_STANDARD 17) +- elseif ($ENV{CXXFLAGS_STD} STREQUAL "c++14") +- set(CMAKE_CXX_STANDARD 14) +- elseif ($ENV{CXXFLAGS_STD} STREQUAL "c++11") +- set(CMAKE_CXX_STANDARD 11) +- else () +- set(CMAKE_CXX_STANDARD 98) +- endif () +-else () +- set(CMAKE_CXX_STANDARD 98) +-endif () + set(CMAKE_CXX_EXTENSIONS OFF) + set(CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS ON) + set(CMAKE_INSTALL_MESSAGE LAZY) # Silence "Up-to-date:" install messages diff --git a/media-libs/ptex/ptex-2.1.28.ebuild b/media-libs/ptex/ptex-2.1.28.ebuild deleted file mode 100644 index b766367ac446..000000000000 --- a/media-libs/ptex/ptex-2.1.28.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2016 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" -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 -} diff --git a/media-libs/ptex/ptex-2.3.0.ebuild b/media-libs/ptex/ptex-2.3.0.ebuild index b3cec3d387bf..ce1f9fd9c98e 100644 --- a/media-libs/ptex/ptex-2.3.0.ebuild +++ b/media-libs/ptex/ptex-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/wdas/ptex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="static-libs" RDEPEND="sys-libs/zlib:=" diff --git a/media-libs/ptex/ptex-2.3.2.ebuild b/media-libs/ptex/ptex-2.3.2.ebuild new file mode 100644 index 000000000000..b9d0f650ba96 --- /dev/null +++ b/media-libs/ptex/ptex-2.3.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +BDEPEND="app-doc/doxygen" +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" + +RESTRICT="test" + +PATCHES=( "${FILESDIR}/${P}-cxx11.patch" ) + +src_prepare() { + # https://github.com/wdas/ptex/issues/41 + cat <<-EOF > version || die + ${PV} + EOF + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}/html" + -DPTEX_BUILD_STATIC_LIBS=$(usex static-libs) + ) + cmake-utils_src_configure +} |