extra/boost to 1.78.0-1

This commit is contained in:
Kevin Mihelich 2021-12-19 05:27:00 +00:00
parent fe6a22a40e
commit 2f143e3a31
1 changed files with 9 additions and 15 deletions

View File

@ -12,11 +12,10 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - build armv6h with -march=armv6k
# - specify arm architecture to b2 for aarch64
# - upstream PR to fix v5 FTFBS in regex module
pkgname=('boost' 'boost-libs')
pkgver=1.76.0
pkgrel=6
pkgver=1.78.0
pkgrel=1
_srcname=boost_${pkgver//./_}
pkgdesc="Free peer-reviewed portable C++ source libraries"
arch=('x86_64')
@ -24,25 +23,20 @@ url="https://www.boost.org/"
license=('custom')
makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib' 'openmpi' 'zstd')
source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.gz
$pkgname-boost_install-python310.patch::https://github.com/boostorg/boost_install/commit/e193f080c7d2.patch
$pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch
https://patch-diff.githubusercontent.com/raw/boostorg/regex/pull/132.patch)
sha256sums=('7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca'
'550ad9a4d0afa108bb9f2e2b7f53b548618542db8000e2334261f6fe03850d87'
'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee'
'05590413cbefd1d64c65d29c5d7d06a54629dc2db26f09e008a18cda8a61d771')
$pkgname-b2-fix-lib-install.patch::https://github.com/bfgroup/b2/commit/78fd284a42ca.patch
$pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch)
sha256sums=('94ced8b72956591c4775ae2207a9763d3600b30d9d7446562c552f0a14a63be7'
'd233b16920ad7da8bb6e02bf5fb4e429592057b4f4db28d4babf3850e837a8db'
'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee')
prepare() {
cd $_srcname
# https://github.com/boostorg/boost_install/pull/53
patch -Np1 -d tools/boost_install <../$pkgname-boost_install-python310.patch
# https://github.com/bfgroup/b2/issues/104
patch -Np1 -d tools/build <../$pkgname-b2-fix-lib-install.patch
# https://github.com/boostorg/ublas/pull/97
patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch
# https://github.com/boostorg/regex/pull/132
patch -Np2 -i ../132.patch
}
build() {