diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /sci-libs/volk | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'sci-libs/volk')
-rw-r--r-- | sci-libs/volk/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/volk/volk-2.5.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sci-libs/volk/Manifest b/sci-libs/volk/Manifest index c3baec6a12c0..3adca653a52f 100644 --- a/sci-libs/volk/Manifest +++ b/sci-libs/volk/Manifest @@ -1,3 +1,5 @@ DIST volk-2.4.1.tar.xz 315072 BLAKE2B 1ce1d220f9e1e9251332fb6caf7d72eaf3db85009a49434edbf6490b02ab016c4b1eb8677f0e5f446f5783615f2256710621b1806684dffeb1ff441756e4a635 SHA512 7c16a5d750cdea2927c3b08dcad29e19f10932a3b7b35cb25ecc66554d7e441c95906a4746fcf62f895709aee1191f1bb91189c3509b444b6b4ba37a306f9909 +DIST volk-2.5.0.tar.xz 322280 BLAKE2B edbf0f7ffecf08e8f0d8ebbb85a9bc943286c5d022442d0d7e480be4ecbd696a8b2e87e4d16d7133467b429e4894a1d166c534b5a05630cb313906aed8476cfe SHA512 94e5af925d6b6e157445ca80c2ba47a92f5ee681716d2a70a5519caa30a603b3f31a9f1ccbd14ef65349645b56a3f406b4aa1f354c322be60bd76d646a4850c6 EBUILD volk-2.4.1.ebuild 1000 BLAKE2B 035d863124b1f4d1d471bcb5161edd7b42dd46c798a235110c1c0a43106b2d584d7b58d0889ec49d6e4dda778b94ba4d65a8c97f2915ed05907a0eab08bd2948 SHA512 bededc12c3f7729c94fcbd9eb3f7ecbd455add08bce65d1c826cf50f89f7142e569b6c0fe18567101b95badb6b87a47d022922c90cf4b06deb9db2cc4e565991 +EBUILD volk-2.5.0.ebuild 1000 BLAKE2B 035d863124b1f4d1d471bcb5161edd7b42dd46c798a235110c1c0a43106b2d584d7b58d0889ec49d6e4dda778b94ba4d65a8c97f2915ed05907a0eab08bd2948 SHA512 bededc12c3f7729c94fcbd9eb3f7ecbd455add08bce65d1c826cf50f89f7142e569b6c0fe18567101b95badb6b87a47d022922c90cf4b06deb9db2cc4e565991 MISC metadata.xml 247 BLAKE2B 0aa7491a8e9a68ed7ad1c53c8442fd44a9dbdfbd7ef0662e838195b44ce72a77f5dc3b846cf9951bb61de78e05aac37649b78dd4c27e304780e1223d607a4252 SHA512 3344e220b20caad7bc32141ad5d51630ff0738ab14608334576638297fdd2a48d5169ef54fb33e36d27bd448d92f8ef9e41880df388521efd4a2c58d102c7c69 diff --git a/sci-libs/volk/volk-2.5.0.ebuild b/sci-libs/volk/volk-2.5.0.ebuild new file mode 100644 index 000000000000..aff22b50715c --- /dev/null +++ b/sci-libs/volk/volk-2.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +#https://github.com/gnuradio/volk/issues/383 +CMAKE_BUILD_TYPE="None" +inherit cmake python-single-r1 + +DESCRIPTION="vector optimized library of kernels" +HOMEPAGE="http://libvolk.org" +SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="orc test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RDEPEND="${PYTHON_DEPS} + !<net-wireless/gnuradio-3.8 + dev-libs/boost:= + orc? ( dev-lang/orc )" +DEPEND="${RDEPEND} + $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]')" + +RESTRICT="test" + +src_configure() { + local mycmakeargs=( + -DENABLE_ORC=$(usex orc) + -DPYTHON_EXECUTABLE="${PYTHON}" + -DENABLE_TESTING="$(usex test)" + -DENABLE_PROFILING=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + python_optimize +} |