summaryrefslogtreecommitdiff
path: root/dev-libs/optix
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/optix')
-rw-r--r--dev-libs/optix/Manifest35
-rw-r--r--dev-libs/optix/metadata.xml24
-rw-r--r--dev-libs/optix/optix-7.4.0.ebuild80
-rw-r--r--dev-libs/optix/optix-7.5.0.ebuild80
4 files changed, 219 insertions, 0 deletions
diff --git a/dev-libs/optix/Manifest b/dev-libs/optix/Manifest
new file mode 100644
index 000000000000..9531fe218123
--- /dev/null
+++ b/dev-libs/optix/Manifest
@@ -0,0 +1,35 @@
+DIST NVIDIA-OptiX-SDK-7.4.0-linux64-x86_64.sh 57923655 BLAKE2B c3e159106ec6c8c446090ebd182fd3b0a75ec48b62e6984ae6559578688fd9a6cb29ea6065cb89aecdeb02247acbf3fb3bb0cbf69b10c29c222eb9fcbb0c6d90 SHA512 04f50c49d08c5e4e9be73ee322c4bff4f10a5e30445bc431e213c879a35cc5e36e0ceb8c864313f417628575a3c71593e65467ea13dd111b432fdf1db9383ae0
+DIST NVIDIA-OptiX-SDK-7.5.0-linux64-x86_64.sh 57849566 BLAKE2B 98ab7b92002325dacd1d12e57e83c1ba905d5950e4db5ba78cadcef7aab7067e0077e0f1214a8f953a19d40baa5b20574f95daae98ff55ab9e59023beeb7f4d9 SHA512 76469f3b19819922d668228ca6c75efdca980f48c4c2620a679908c4ac945ab2b06a134cf79dbd2a08b181419601dc70e63f055a95c586c8e7490fdb68735547
+DIST optix-7.4.0-internal-optix_7_device_impl.h 331318 BLAKE2B f0f5bba73b8b13fcd7a9c6cad9df1e7da7a8bd6c2b62c8fd69baebffb597ae4f6fdef72fd5005517ed3684921ab3213466dcfcc6ed5a5025a94fce8cba93fcdd SHA512 e3aa42816154737b5d80ec837cf5cb1dc5ee579a68b73b0e9cbf175e396cee622ec3a5b8c0a9e8c65f5dfee3a2dcba7feef54acc9970bf9792e7e8c9fe4db0f2
+DIST optix-7.4.0-internal-optix_7_device_impl_exception.h 15611 BLAKE2B 0c4023d2a89df3886f1478ecf8520e077075a53659d4c56d31bbe0396dbf87228329e57105ad2b8df86aa87829d03d04341790a6c5a996403563cf2f2fdee3d4 SHA512 4b4de0502c82b7810c5cb7b7db34f1d78b43b2551f79b351ebc8c0a8d3e4a91918629ff980623dd861ac7fc786d2ecc880935d48e2619ab8c297f39bfb5ed453
+DIST optix-7.4.0-internal-optix_7_device_impl_transformations.h 17987 BLAKE2B 666f642cd5596f44e587187d1810df7815ce06fae0bc8ac609a24928789904b56a33693573ccd0719442386e090e3056792d34b9a3980367dc9c26822afb1598 SHA512 8280c529565b8af2ef2765c3da7d0821e2f2f2361aacb2bef1a3237effe272f21990d273e2ea423056c1af91946b5d2b07af4532c6168be2370add858ad9775f
+DIST optix-7.4.0-optix.h 1716 BLAKE2B 719a46329116c83e6bacbf65d03863393f0296ba7c77ffc79b8d90a460c3df7cc9ebe11cc160bd307c466b8dc6b67bab3abed195ed45b5d2c7502bb6eb22ce08 SHA512 d8827d4f6f0c0f30a535ef1b49ac7d33f8138c4ff95c2b8dd1aff3026adab827c6ec56e30a22d4411cb6859d502a7dfe3e29994d5baa27e6a581026ba130cab8
+DIST optix-7.4.0-optix_7_device.h 218783 BLAKE2B 62c86074a7d61bd6ea2a65d5f58ee3dc0ed390603ad65981b4bbd86aab2c32e24c6be367ac49c3722b35949475877247c7a85313569c5ca00bb568d23773192b SHA512 8baa2fc2d2710086d68ea80c8f00a7cc2a2e9eb2840f69a6e0e0839dd46632a233cdb7c511daa7f1b021c45a3dd20c49097fa734ee428169b7f6f7cf832b09b2
+DIST optix-7.4.0-optix_7_host.h 49912 BLAKE2B 595cae1abf9aa62baf477c42b816c7d84be9c4361a19113acebab23631a2d4c49bca921b6849fc06e784fb31d88d6269c399c75bad7cf0847f6e6c50e61333f0 SHA512 9feb925e2bdc751e135659366508b1373315b3b78fadb1ae87bef01ec48f3599e12d7bebc078ffc7f7709ad86936bb82f1f58b1058c25e6153a4f8c8291b4436
+DIST optix-7.4.0-optix_7_types.h 77100 BLAKE2B c2368cbb72c01dbd20851db484c684314227d179d11f72cb676358bbbebec90fb64225d3b874db5cc36ebdb420f5c6b402bb458877fb34084f66ab723f6e4a75 SHA512 b75ae04f0db3e5e14d8f66e8c03aab788f6fb6f936521a4044a6992c99cd1c3b08f347018c8eb20e509df0a6fc92242874c7bef7beb374d60e00c4d7d64a083a
+DIST optix-7.4.0-optix_denoiser_tiling.h 13614 BLAKE2B e2858b45a770404196a1f37b1afa10cc11a7d5b88f73779cda57cdb3e2e7ff1634bb64a864619afd65e98090663704b782ec1417f297080e71724c506b7f66f1 SHA512 053e3841361b6554d2b87558053f8b89540033a2857faf098823180814855cc6452922b37b61099ce0cc0da4e0c3c16962bed26a94110994e96cba3b5d0737e1
+DIST optix-7.4.0-optix_device.h 2129 BLAKE2B 54d4cda1601da4d7292bb30a8b19eeda9d845f43fc70503abc679d75347d799694d4a85096365b6e751fe97cfed3a1725240c993d42ea2cc694f11df60d00035 SHA512 ef9234e32d7626e8ea7a263fa3b9f7f8d5ca4251b8c1c58d597872076f35ba4fd34d11de204096e90877820a9fc25b923a0cc4ea3d1aa8ac38fbb7c8a9f4e63d
+DIST optix-7.4.0-optix_function_table.h 18408 BLAKE2B 5a88b49a0162a65f11b212e1ccee1546207ae30ae63176bab0a5d30e99963e125040fa9695a2ad66725f1cfe2662646f1c7c487ed3243e4c6105d556278c516c SHA512 9664992a5bae195e899f63ffb6372680e3227a99a7b53112a5690d6e7ceab02674c05254221be33440422f04c3e3f0ce7f0e5f71e0b53e3b0eb999ea91037b49
+DIST optix-7.4.0-optix_function_table_definition.h 1827 BLAKE2B 84cef49e6b13c2a5ab991e10c64be5e3cf428195231b3360e5b8f9177539b5e7bb96188bd89436cd89e654a79172c2dad5d562db605d41ef10bd0a540ebba012 SHA512 bfbd9910723d48980eee23963088a810f40828975e51351774d11d0fd65965ca3a9727aef92dfc7e6d52959f33d53c5db218feff4e1a963228038881a7f60eac
+DIST optix-7.4.0-optix_host.h 1661 BLAKE2B 85e0bd7b256e40a6672e668ba2781d2ffe2beca0518f98466da8cdce365b67adc1438b0443b6e122c02ee9c8d5c361f686f44a6fab7a449d3bf42244dd11974d SHA512 771d704733992a5372e3e124a81743d9ae5d7d46f8611907a400bc29e607a7c48b889dd00b6807da55fc9091578871277435b8068785bec54d42f1d8d29f8c4c
+DIST optix-7.4.0-optix_stack_size.h 17447 BLAKE2B 3e95fce2eb9e1a03725e4259ad3327361baf52cdf3ddda1204cfae83b44261e97ec56dd3713f926e6fe880c69db674395c4bd6f466cba826f70fbafaa835c386 SHA512 ae5c6a9efedbc87e33bef5475a10ff8df0e3f53ee52bbea3aba78126b5e099961a6c34abfba6b37d076d6eb2dad458040c7f558cd2d3d090586d701fbef164e7
+DIST optix-7.4.0-optix_stubs.h 30722 BLAKE2B 0474c780164b6a6f6c645b724e03f77725e2fd7c18b7e2760dfa5d2cf5883d375c484dbbdcb568e0e2cc36524510c5e513a43164827010395f8db29004ad2522 SHA512 57959e4a1d9c57e5f691f3ab55749476a48111b0364ee09c4123a75b9690cbbb0f67481d7e5a532b2abf3f80b380d628cecccb7cf5a85c0c42adfa53fa5fc2b2
+DIST optix-7.4.0-optix_types.h 1777 BLAKE2B 87ceb8dca1c8014fa87c67983cc5d1f674e72ff5649007d8d1ee1d832f8e94c5131002299a1a7f8e1261ca84578d01765bef2bacb185ac3cd43c453346caf237 SHA512 11c637572e4a493f5fc5e125c9a15919412126b2d5876ff8e3f53ccd88280e8a7d4ec0894f44a3514e3d5dea81abea3ba207dc901e3d3bf54c7cb3407bb63767
+DIST optix-7.5.0-internal-optix_7_device_impl.h 60865 BLAKE2B b41e7c3f998e4a7a7d59c64e182dab4b35180f3269f4fb500ce0ae8daefa202fadc91eed5ceaa3096947aa6028fe903801b3b57ac387c5b7b170c96026b6770f SHA512 a9ae5376697e265138c8862739f4020f1760ed2b5bcfd54f407756de90a71b2ab16e4b44d408e9f2d661c3ddd678b95712214423b2612ac543f87a78d61676b9
+DIST optix-7.5.0-internal-optix_7_device_impl_exception.h 15599 BLAKE2B cbb756eb913f335e3e8cc42a88f1b5b8ab611f4d840fb2c55d0adcddba15adc6803e09aece305446c81fb3b0fa5f9e20cf39458d37027b2f06cb223243089558 SHA512 68b8699fb2e78225940f3160c0484ba08865940f8743f53351ea81059e0973d3e1849d327856b531111cba640c163cc1a1661b2ceeb0797cfe0cc81fc3ce6a43
+DIST optix-7.5.0-internal-optix_7_device_impl_transformations.h 17987 BLAKE2B 666f642cd5596f44e587187d1810df7815ce06fae0bc8ac609a24928789904b56a33693573ccd0719442386e090e3056792d34b9a3980367dc9c26822afb1598 SHA512 8280c529565b8af2ef2765c3da7d0821e2f2f2361aacb2bef1a3237effe272f21990d273e2ea423056c1af91946b5d2b07af4532c6168be2370add858ad9775f
+DIST optix-7.5.0-optix.h 1716 BLAKE2B 03a3a89005aa6d14bbaa8485f3989dcb4cf9223402e24c2f195e4d2e2d852276a244ff96c1de8d503a97c51e328c4397e23949526189dc8dfea61145c90af5a2 SHA512 f683a23560aac6bf86556972f86cd2b886c4598d0f86b6547cbfd2d3b2d342d55e97090c6852b8ef343b719d0a01a771048a850d06013ac1e71a3ab7eca372ac
+DIST optix-7.5.0-optix_7_device.h 57485 BLAKE2B e0149839afbc93906bab371c027dbcc36d3f75007ea0cf767430d9729ea50bdc3353460037bf549fe129ac0c0eb43681e291687ce44b68ab158cbf0017b52c70 SHA512 ebb7c6d9e73f8f10026edbec0ad036ac1c1a4ce232bbc75a5c9a91bf63db7791f7d44058380aa1db03a9ae6fa28dfb0ba5167113f4d1b251904c0ebca879f4fb
+DIST optix-7.5.0-optix_7_host.h 49672 BLAKE2B 49bd064f0247827e3df722b86fb90c0b35e1085ff5c7f4d579d58cbddccc7c8ca1b39635879f4989a51de9f26556395b23196d6c38078da14fa47c011e0a20cb SHA512 9752f654c2b7928060653542e81bf204a80c9a4922fc1e5fcbb23f01eda8a0e300b959546f61c4aaf0c0ddd502bb6ab30a07352dfab4d736d4e311276be66418
+DIST optix-7.5.0-optix_7_types.h 83058 BLAKE2B ed12242123193cef01174f22350895ef7e4a8c722b6dd197643e5cda13ac8ddcbcfd4b20587279ab64e67a1251151c6d6f33230b28e0147332025b4ff492eb54 SHA512 0ad2a40e5aca6e8272403a203734936b684f1adfcca719ed585844d759405fb9d39543925b3786c10ce1bb45dfd8720a2b12f9f2667ed1cb6a5a49d643fde393
+DIST optix-7.5.0-optix_denoiser_tiling.h 15199 BLAKE2B fa284535cb6d34271118abf482bdcd371858a5f6d5ad068b5d540e36985c01f3c2866a4d6696c7ceb53b293e566abe88115decc8ce5c7f4c2930c6bd7a851645 SHA512 cca0e99cf379a4fee5a8e826559ce6cfd444223cd0fb35623a56d07ddc676eb590f40ec71b92e3f3480e767b601fd12e6b5262d6fd604dc00a7d56d0d526bbd2
+DIST optix-7.5.0-optix_device.h 2129 BLAKE2B 54d4cda1601da4d7292bb30a8b19eeda9d845f43fc70503abc679d75347d799694d4a85096365b6e751fe97cfed3a1725240c993d42ea2cc694f11df60d00035 SHA512 ef9234e32d7626e8ea7a263fa3b9f7f8d5ca4251b8c1c58d597872076f35ba4fd34d11de204096e90877820a9fc25b923a0cc4ea3d1aa8ac38fbb7c8a9f4e63d
+DIST optix-7.5.0-optix_function_table.h 18408 BLAKE2B 3e3309d05fcaeb348bb06f542534fa0e34bacf66a892e4876a19c2c53259ff8fdd7968a4b21fc8d18c8fbb2d35d96f31517dd4d9ecff82cb1760f1c300e95828 SHA512 fd5ace4a6dd85e30d43a1957765c50e2fc518daf77eee5e4d0b7d5343498d17d0387a7cbee8268885a28b6c80caffead55ecfba9e76bcfd16afd416f551fe3e2
+DIST optix-7.5.0-optix_function_table_definition.h 1827 BLAKE2B 84cef49e6b13c2a5ab991e10c64be5e3cf428195231b3360e5b8f9177539b5e7bb96188bd89436cd89e654a79172c2dad5d562db605d41ef10bd0a540ebba012 SHA512 bfbd9910723d48980eee23963088a810f40828975e51351774d11d0fd65965ca3a9727aef92dfc7e6d52959f33d53c5db218feff4e1a963228038881a7f60eac
+DIST optix-7.5.0-optix_host.h 1661 BLAKE2B 85e0bd7b256e40a6672e668ba2781d2ffe2beca0518f98466da8cdce365b67adc1438b0443b6e122c02ee9c8d5c361f686f44a6fab7a449d3bf42244dd11974d SHA512 771d704733992a5372e3e124a81743d9ae5d7d46f8611907a400bc29e607a7c48b889dd00b6807da55fc9091578871277435b8068785bec54d42f1d8d29f8c4c
+DIST optix-7.5.0-optix_stack_size.h 17447 BLAKE2B 3e95fce2eb9e1a03725e4259ad3327361baf52cdf3ddda1204cfae83b44261e97ec56dd3713f926e6fe880c69db674395c4bd6f466cba826f70fbafaa835c386 SHA512 ae5c6a9efedbc87e33bef5475a10ff8df0e3f53ee52bbea3aba78126b5e099961a6c34abfba6b37d076d6eb2dad458040c7f558cd2d3d090586d701fbef164e7
+DIST optix-7.5.0-optix_stubs.h 30722 BLAKE2B 0474c780164b6a6f6c645b724e03f77725e2fd7c18b7e2760dfa5d2cf5883d375c484dbbdcb568e0e2cc36524510c5e513a43164827010395f8db29004ad2522 SHA512 57959e4a1d9c57e5f691f3ab55749476a48111b0364ee09c4123a75b9690cbbb0f67481d7e5a532b2abf3f80b380d628cecccb7cf5a85c0c42adfa53fa5fc2b2
+DIST optix-7.5.0-optix_types.h 1777 BLAKE2B 87ceb8dca1c8014fa87c67983cc5d1f674e72ff5649007d8d1ee1d832f8e94c5131002299a1a7f8e1261ca84578d01765bef2bacb185ac3cd43c453346caf237 SHA512 11c637572e4a493f5fc5e125c9a15919412126b2d5876ff8e3f53ccd88280e8a7d4ec0894f44a3514e3d5dea81abea3ba207dc901e3d3bf54c7cb3407bb63767
+EBUILD optix-7.4.0.ebuild 1839 BLAKE2B e6b6d104569f6d0ca3e16c17fbb02e2752bcd470b4956252cc2e127e63b78653ca5003a86bbd745df172d9a5bb5360f10d2c5a7d4c3c37f2b801c46f38e2ac56 SHA512 802838000b0a309f6efc11769436bd3944543acb4fe65f8805b6f8b64befcc01c870d56bd82d1f545ea597014817e5ed34ca4afa0cb16939c6bac1b4bb63faa9
+EBUILD optix-7.5.0.ebuild 1839 BLAKE2B e6b6d104569f6d0ca3e16c17fbb02e2752bcd470b4956252cc2e127e63b78653ca5003a86bbd745df172d9a5bb5360f10d2c5a7d4c3c37f2b801c46f38e2ac56 SHA512 802838000b0a309f6efc11769436bd3944543acb4fe65f8805b6f8b64befcc01c870d56bd82d1f545ea597014817e5ed34ca4afa0cb16939c6bac1b4bb63faa9
+MISC metadata.xml 867 BLAKE2B 8fcac2c6a3727b4d74569ec21a5b51d389a8295b2f72af8aa47c903dac22c5ff422aae3de4f35bcb235d0806dea259a54e91975bc9df656a59c38d804b1394d8 SHA512 bfc4fa5af424c272ab435b0416d09810a90e28674a99cb7de7b852cc023375fe9a0b47d2ddeb70bc379a40a7d1ee7919f2b27279719dd4895379d8abe550c09d
diff --git a/dev-libs/optix/metadata.xml b/dev-libs/optix/metadata.xml
new file mode 100644
index 000000000000..8bd511c9ee2a
--- /dev/null
+++ b/dev-libs/optix/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>waebbl-gentoo@posteo.net</email>
+ <name>Bernd Waibel</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>mathy@vanvoorden.be</email>
+ <name>Mathy Vanvoorden</name>
+ </maintainer>
+ <maintainer type="person" proxied="proxy">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <longdescription>
+ Application framework from NVIDIA for achieving optimal ray tracing
+ performance on the GPU. Provides a simple, recursive and flexible
+ pipeline for accelerating ray tracing algorithms.
+ </longdescription>
+ <use>
+ <flag name="headers-only">Download and install only the header files</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-libs/optix/optix-7.4.0.ebuild b/dev-libs/optix/optix-7.4.0.ebuild
new file mode 100644
index 000000000000..35e765e6ee3b
--- /dev/null
+++ b/dev-libs/optix/optix-7.4.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_cut 1-2)
+
+DESCRIPTION="NVIDIA Ray Tracing Engine"
+HOMEPAGE="https://developer.nvidia.com/optix"
+SRC_URI="!headers-only? ( NVIDIA-OptiX-SDK-${PV}-linux64-x86_64.sh )"
+S="${WORKDIR}"
+
+HEADER_INTERNAL_FILES="
+optix_7_device_impl.h
+optix_7_device_impl_exception.h
+optix_7_device_impl_transformations.h
+"
+
+HEADER_FILES="
+optix.h
+optix_7_device.h
+optix_7_host.h
+optix_7_types.h
+optix_denoiser_tiling.h
+optix_device.h
+optix_function_table.h
+optix_function_table_definition.h
+optix_host.h
+optix_stack_size.h
+optix_stubs.h
+optix_types.h
+"
+
+for i in ${HEADER_INTERNAL_FILES}; do
+ SRC_URI+=" headers-only? ( https://developer.download.nvidia.com/redist/optix/v${MY_PV}/internal/${i} -> ${P}-internal-${i} )"
+done
+for i in ${HEADER_FILES}; do
+ SRC_URI+=" headers-only? ( https://developer.download.nvidia.com/redist/optix/v${MY_PV}/${i} -> ${P}-${i} )"
+done
+unset i
+
+LICENSE="NVIDIA-SDK"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist mirror !headers-only? ( fetch )"
+IUSE="+headers-only"
+
+RDEPEND=">=x11-drivers/nvidia-drivers-510"
+
+pkg_nofetch() {
+ einfo "Please download ${A} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ local i
+ if use headers-only; then
+ mkdir -p "${S}/include/internal" || die
+ for i in ${HEADER_INTERNAL_FILES}; do
+ cp "${DISTDIR}/${P}-internal-${i}" "${S}/include/internal/${i}" || die
+ done
+ for i in ${HEADER_FILES}; do
+ cp "${DISTDIR}/${P}-${i}" "${S}/include/${i}" || die
+ done
+ else
+ tail -n +223 "${DISTDIR}"/${A} | tar -zx
+ assert "unpacking ${A} failed"
+ fi
+}
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r include
+
+ if use !headers-only; then
+ DOCS=( doc/OptiX_{API_Reference,Programming_Guide}_${PV}.pdf )
+ einstalldocs
+ fi
+}
diff --git a/dev-libs/optix/optix-7.5.0.ebuild b/dev-libs/optix/optix-7.5.0.ebuild
new file mode 100644
index 000000000000..35e765e6ee3b
--- /dev/null
+++ b/dev-libs/optix/optix-7.5.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=$(ver_cut 1-2)
+
+DESCRIPTION="NVIDIA Ray Tracing Engine"
+HOMEPAGE="https://developer.nvidia.com/optix"
+SRC_URI="!headers-only? ( NVIDIA-OptiX-SDK-${PV}-linux64-x86_64.sh )"
+S="${WORKDIR}"
+
+HEADER_INTERNAL_FILES="
+optix_7_device_impl.h
+optix_7_device_impl_exception.h
+optix_7_device_impl_transformations.h
+"
+
+HEADER_FILES="
+optix.h
+optix_7_device.h
+optix_7_host.h
+optix_7_types.h
+optix_denoiser_tiling.h
+optix_device.h
+optix_function_table.h
+optix_function_table_definition.h
+optix_host.h
+optix_stack_size.h
+optix_stubs.h
+optix_types.h
+"
+
+for i in ${HEADER_INTERNAL_FILES}; do
+ SRC_URI+=" headers-only? ( https://developer.download.nvidia.com/redist/optix/v${MY_PV}/internal/${i} -> ${P}-internal-${i} )"
+done
+for i in ${HEADER_FILES}; do
+ SRC_URI+=" headers-only? ( https://developer.download.nvidia.com/redist/optix/v${MY_PV}/${i} -> ${P}-${i} )"
+done
+unset i
+
+LICENSE="NVIDIA-SDK"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist mirror !headers-only? ( fetch )"
+IUSE="+headers-only"
+
+RDEPEND=">=x11-drivers/nvidia-drivers-510"
+
+pkg_nofetch() {
+ einfo "Please download ${A} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ local i
+ if use headers-only; then
+ mkdir -p "${S}/include/internal" || die
+ for i in ${HEADER_INTERNAL_FILES}; do
+ cp "${DISTDIR}/${P}-internal-${i}" "${S}/include/internal/${i}" || die
+ done
+ for i in ${HEADER_FILES}; do
+ cp "${DISTDIR}/${P}-${i}" "${S}/include/${i}" || die
+ done
+ else
+ tail -n +223 "${DISTDIR}"/${A} | tar -zx
+ assert "unpacking ${A} failed"
+ fi
+}
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r include
+
+ if use !headers-only; then
+ DOCS=( doc/OptiX_{API_Reference,Programming_Guide}_${PV}.pdf )
+ einstalldocs
+ fi
+}