mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added community/libvolk
This commit is contained in:
parent
05386f2b53
commit
1e517a2e82
3 changed files with 133 additions and 0 deletions
63
community/libvolk/PKGBUILD
Normal file
63
community/libvolk/PKGBUILD
Normal file
|
@ -0,0 +1,63 @@
|
|||
# Maintainer: Kyle Keen <keenerd@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - build v7 without neon to fix FTBFS
|
||||
|
||||
pkgname=libvolk
|
||||
epoch=2
|
||||
pkgver=2.5.2
|
||||
_cpuver=0.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="The Vector-Optimized Library of Kernels from Gnuradio"
|
||||
arch=('x86_64')
|
||||
url="http://libvolk.org/"
|
||||
license=('GPL3')
|
||||
depends=('gcc-libs' 'boost-libs' 'orc' 'python' 'python-six')
|
||||
makedepends=('boost' 'cmake' 'python-mako')
|
||||
#source=("http://libvolk.org/releases/volk-$pkgver.tar.gz"{,.asc})
|
||||
#source=("http://libvolk.org/releases/volk-$pkgver.tar.gz")
|
||||
#source=("https://github.com/gnuradio/volk/releases/download/v$pkgver/volk-v$pkgver.tar.gz"{,.asc})
|
||||
source=("volk-$pkgver.tgz::https://github.com/gnuradio/volk/archive/v$pkgver.tar.gz"
|
||||
"cpufeatures-$_cpuver.tgz::https://github.com/google/cpu_features/archive/v$_cpuver.tar.gz")
|
||||
# new upstream maintainer, no sig for 2.1.0 or real release?
|
||||
md5sums=('c2ad8ba1d7eaf24f372a259acf04b3a2'
|
||||
'72a153f809bfab2253978959da0915ef')
|
||||
validpgpkeys=('09E749D885FA881A7E84E823385323EE6402091D'
|
||||
'D74F9F146E7F755783583158B343B2BA293E5174')
|
||||
|
||||
# doxygen for docs
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/volk-$pkgver"
|
||||
rmdir cpu_features
|
||||
ln -sf "$srcdir/cpu_features-$_cpuver" cpu_features
|
||||
}
|
||||
|
||||
build() {
|
||||
export PYTHON=python3
|
||||
cd "$srcdir/volk-$pkgver"
|
||||
|
||||
[[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/neon/vfpv3/'` && CXXFLAGS="$CFLAGS"
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DPYTHON_EXECUTABLE=$(which python3) \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ../
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/volk-$pkgver/build"
|
||||
export PYTHON=python3
|
||||
return
|
||||
if [[ "$CARCH" == "x86_64" ]]; then
|
||||
make test
|
||||
fi
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/volk-$pkgver/build"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFcTzE0BEACWkwa+pAwjBPwUvL8E9adB6sFlH/bw/3Dj2Vr/bXDkNrZDEQzc
|
||||
C3wmoX3AZo0GSWpjlmlOGOPy6u4wZxEPfilKs+eDNnuIZN3gmLoRTThgbbrnH9bw
|
||||
kIaUMiUn8VJ0pk5ULaygG6APxl4EOVrMfzgRnxmIbUfggiBLaW/xq2a/BaVrUAuA
|
||||
oHv1GTGJkwcK0RfYigJMfZl9iHVJVopffexBt1hOeGYxiyLXSDWjOhLLVzhlfgTE
|
||||
T9YdLGyjoXFmImsCvkAA2MA52e5YGUQIBrqmiXdHFit7sve0e5Dw0aLyuTnMR0MO
|
||||
a2eIHWU6TYYv5GTJPzjBbWM1pRCgtupNilg2+RfN0tOTp27RQnUtgcCo26uBU+jV
|
||||
pyvnidpDGnuUBL3WNLZlUiqmiZs8Hc9BGNw3rKB37sUOMXz6XessnhRspXC1Mot4
|
||||
V3I1NoKwb0wjgql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ZP
|
||||
s5tmI3M/VPVMNrztvIxxl57dGCkAD13ac95CojnUb0XADJ91gpiNEgZfqbyYJL7l
|
||||
I/ULLDMKqhFkar7Qqghx9pZ475u07NmHTCVdoTW8eJgmV+WXlyNc6Y8Gie2cagmQ
|
||||
HMn0BBxE5Ww68PDxawjwnetTgQCEM6+F8wNP9Qc3c7QugofGy1vSlPa2c8D75FEi
|
||||
Y3MhgA720vPqw6fJn4HRNp955RW46SmFOjYzeiOe992Z6XDG/JWF1Yi7/LqGpGpu
|
||||
b+aEo0iz5B5AZFVg/LS6GHekhrsLyqpvfC149qmlCy821NIeYwLPwuOi+ceHahau
|
||||
Dy85ro6RHt36Gr/O3FV27jr98DWI2lECg88CWnwhtoBJpfIkkHYloxY3+mp+up7r
|
||||
b93iFL0py1p2SdXm2lr7dCakwFrWgbqFb+i1sB1nvlmW2R6fJwrlaw1XvKc8hZfP
|
||||
5D7ornMVk3TdadKs+R6/h327MGuNYif62ce7MfPqxZQbOkkyS8urkmg/5wkSdfY6
|
||||
Voq27gd9zXND/jG/Kl/AvkTUdv1ImQuHU7+L4mNQV17REe/znaEM+3f02qz6r76m
|
||||
T6lwXcXr4d8qZEDxgyfYAaMHY/+ZUx0DqRQ4CseJU/TFzf5b0us=
|
||||
=8tvr
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
Loading…
Reference in a new issue