diff options
author | Sam James <sam@gentoo.org> | 2022-07-09 06:37:56 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-09 06:57:45 +0100 |
commit | ff2c1a9fcb61e26539a07cfa2cc7c498d04fb205 (patch) | |
tree | 5dda51659e738fec8ae68f4f81ced9e1c52d0906 /media-libs/oidn/oidn-1.4.3.ebuild | |
parent | dev-perl/Crypt-OpenSSL-RSA: add 0.330.0 (diff) | |
download | gentoo-ff2c1a9fcb61e26539a07cfa2cc7c498d04fb205.tar.gz gentoo-ff2c1a9fcb61e26539a07cfa2cc7c498d04fb205.tar.bz2 gentoo-ff2c1a9fcb61e26539a07cfa2cc7c498d04fb205.zip |
media-libs/oidn: add 1.4.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/oidn/oidn-1.4.3.ebuild')
-rw-r--r-- | media-libs/oidn/oidn-1.4.3.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/oidn/oidn-1.4.3.ebuild b/media-libs/oidn/oidn-1.4.3.ebuild new file mode 100644 index 000000000000..ac7878513748 --- /dev/null +++ b/media-libs/oidn/oidn-1.4.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake python-single-r1 + +DESCRIPTION="Intel(R) Open Image Denoise library" +HOMEPAGE="https://www.openimagedenoise.org/" + +if [[ ${PV} = *9999 ]]; then + EGIT_REPO_URI="https://github.com/OpenImageDenoise/oidn.git" + EGIT_BRANCH="master" + inherit git-r3 +else + SRC_URI="https://github.com/OpenImageDenoise/${PN}/releases/download/v${PV}/${P}.src.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-cpp/tbb:= + dev-lang/ispc" +DEPEND="${RDEPEND}" |