Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/volk/
Date: Mon, 01 Jun 2020 20:46:01
Message-Id: 1591044185.07401ce132591663d8c32b7ecaa8a2d7d0a6ce7b.zerochaos@gentoo
1 commit: 07401ce132591663d8c32b7ecaa8a2d7d0a6ce7b
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 29 16:02:34 2020 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 1 20:43:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07401ce1
7
8 sci-libs/volk: initial ebuild
9
10 single test failure reported upstream
11 https://github.com/gnuradio/volk/issues/382
12
13 Package-Manager: Portage-2.3.100, Repoman-2.3.22
14 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
15
16 sci-libs/volk/Manifest | 1 +
17 sci-libs/volk/metadata.xml | 8 ++++++++
18 sci-libs/volk/volk-2.3.0.ebuild | 31 +++++++++++++++++++++++++++++++
19 3 files changed, 40 insertions(+)
20
21 diff --git a/sci-libs/volk/Manifest b/sci-libs/volk/Manifest
22 new file mode 100644
23 index 00000000000..76da000db8d
24 --- /dev/null
25 +++ b/sci-libs/volk/Manifest
26 @@ -0,0 +1 @@
27 +DIST volk-2.3.0.tar.gz 344763 BLAKE2B 0f0e0cb7e6cd28086802c1618685ec30dedf5cdf67bef7ed09f3a7482f84d6e7972f4b22c096676bdef34c66c60d936ca8ab300cd4da07f6714cface1c2846ed SHA512 9e3b405b7be46b4f5ff61a4d42fa9013fc55169bc18c9cf9253e446fe23fd12dc0356adb9aa176e33dfa4cc478e4b9226bee906a2d89ef83bac3b28f52816382
28
29 diff --git a/sci-libs/volk/metadata.xml b/sci-libs/volk/metadata.xml
30 new file mode 100644
31 index 00000000000..2b9b4266ca5
32 --- /dev/null
33 +++ b/sci-libs/volk/metadata.xml
34 @@ -0,0 +1,8 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 + <maintainer type="person">
39 + <email>zerochaos@g.o</email>
40 + <name>Rick Farina</name>
41 + </maintainer>
42 +</pkgmetadata>
43
44 diff --git a/sci-libs/volk/volk-2.3.0.ebuild b/sci-libs/volk/volk-2.3.0.ebuild
45 new file mode 100644
46 index 00000000000..6314b75fc52
47 --- /dev/null
48 +++ b/sci-libs/volk/volk-2.3.0.ebuild
49 @@ -0,0 +1,31 @@
50 +# Copyright 1999-2020 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=7
54 +
55 +inherit cmake-utils
56 +
57 +DESCRIPTION="vector optimized library of kernels"
58 +HOMEPAGE="http://libvolk.org"
59 +SRC_URI="https://github.com/gnuradio/volk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
60 +
61 +LICENSE="GPL-3"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~x86"
64 +IUSE="+orc"
65 +
66 +RDEPEND="dev-libs/boost"
67 +DEPEND="${RDEPEND}
68 + !net-wireless/gnuradio[-system-volk]
69 + dev-python/mako
70 + dev-python/six
71 + dev-lang/orc"
72 +
73 +CMAKE_BUILD_TYPE=Release
74 +
75 +src_configure() {
76 + local mycmakeargs=(
77 + -DENABLE_ORC=$(usex orc)
78 + )
79 + cmake-utils_src_configure
80 +}