Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / xsimd
Commits:
9d684904 by Antonio Rojas at 2024-07-04T00:00:44+02:00
upgpkg: 13.0.0-2: Backport Krita fixes
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,13 +1,14 @@
pkgbase = xsimd
pkgdesc = QuantStack tools library - Multi-dimensional arrays with
broadcasting and lazy computing
pkgver = 13.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/QuantStack/xsimd
arch = any
- license = BSD
+ license = BSD-3-Clause
makedepends = cmake
+ makedepends = git
makedepends = gtest
- source =
https://github.com/QuantStack/xsimd/archive/13.0.0/xsimd-13.0.0.tar.gz
- sha512sums =
cdc42ddad3353297cf25ea2b6b3f09967f5f388efc26241f2997979fdbbac072819ff771145bc5bfa86cb326cca84b4119e8e6e3f658407961cf203a40603a7f
+ source = git+https://github.com/QuantStack/xsimd#tag=13.0.0
+ sha512sums =
5c9f4cb16d0a2e835ebea58e15f290f8aab4f1d5bf7ae79500ad521fabfeb33892062431e7faa9b106c294de9e4f2041af228383c38d9a8f070dd7ec3c6f9c0b
pkgname = xsimd
=====================================
PKGBUILD
=====================================
@@ -4,24 +4,32 @@
pkgname=xsimd
pkgver=13.0.0
-pkgrel=1
+pkgrel=2
pkgdesc='QuantStack tools library - Multi-dimensional arrays with broadcasting
and lazy computing'
arch=(any)
url='https://github.com/QuantStack/xsimd'
-license=(BSD)
+license=(BSD-3-Clause)
depends=()
makedepends=(cmake
+ git
gtest)
-source=(https://github.com/QuantStack/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('cdc42ddad3353297cf25ea2b6b3f09967f5f388efc26241f2997979fdbbac072819ff771145bc5bfa86cb326cca84b4119e8e6e3f658407961cf203a40603a7f')
+source=(git+https://github.com/QuantStack/$pkgname#tag=$pkgver)
+sha512sums=('5c9f4cb16d0a2e835ebea58e15f290f8aab4f1d5bf7ae79500ad521fabfeb33892062431e7faa9b106c294de9e4f2041af228383c38d9a8f070dd7ec3c6f9c0b')
+
+prepare() {
+ cd $pkgname
+# Backport fixes for Krita
+ git cherry-pick -n 80a59235e3ffa51659aaa06f002bfd088b77023c
+ git cherry-pick -n 96edf0340492fa9c080f5182b38358ca85baef5e
+}
build() {
- cmake -B build -S $pkgname-$pkgver \
+ cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
- install -Dm644 $pkgname-$pkgver/LICENSE -t
"$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/xsimd/-/commit/9d684904238051ee7f0b2609258ac495d0cd88da
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/xsimd/-/commit/9d684904238051ee7f0b2609258ac495d0cd88da
You're receiving this email because of your account on gitlab.archlinux.org.