Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / bear
Commits:
38255665 by Carl Smedstad at 2024-09-08T12:29:15+02:00
upgpkg: 3.1.4-4: fmt 11.0.2 rebuild
Also change to SPDX license identifier.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
pkgbase = bear
pkgdesc = A tool to generate compilation database for clang tooling
pkgver = 3.1.4
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/rizsotto/Bear
arch = x86_64
- license = GPL3
+ license = GPL-3.0-or-later
makedepends = git
makedepends = cmake
makedepends = gtest
@@ -24,7 +24,9 @@ pkgbase = bear
depends = re2
source = bear::git+https://github.com/rizsotto/Bear.git#tag=3.1.4
source = disable-lit-tests.patch
+ source =
fmt-v11.patch::https://github.com/rizsotto/Bear/commit/8afeafe61299c87449023d63336389f159b55808.patch
b2sums =
7f20de8ff834455fc1086eb34adf3123fc7a1ec467ea6fa4f162d2bb8de7af7339c205a246a743fec3100937c91bc53c2a677ae1bad57a22199c8b071e511f59
b2sums =
9bc603ac82c4b2c8bf1263e7d24205f7445b265da16c21935f58c651c5ed78fdb81d00565a3f2b81415831564b81384cd71c799f58c85bce0445ecdf67b7c3b8
+ b2sums =
578da1c06ec36cef9706b9953a677eb26c96dbb4f67871d8a7617152f25310b413515510289e51b410a04c261c504f50711d1547618a377bdf8bc9d881afd26b
pkgname = bear
=====================================
PKGBUILD
=====================================
@@ -4,11 +4,11 @@
pkgname=bear
pkgver=3.1.4
-pkgrel=3
+pkgrel=4
pkgdesc='A tool to generate compilation database for clang tooling'
arch=('x86_64')
url='https://github.com/rizsotto/Bear'
-license=('GPL3')
+license=('GPL-3.0-or-later')
depends=(
'glibc'
'gcc-libs'
@@ -30,10 +30,14 @@ makedepends=(
'python'
'llvm'
)
-source=("$pkgname::git+$url.git#tag=$pkgver"
- "disable-lit-tests.patch")
+source=(
+ "$pkgname::git+$url.git#tag=$pkgver"
+ "disable-lit-tests.patch"
+
"fmt-v11.patch::https://github.com/rizsotto/Bear/commit/8afeafe61299c87449023d63336389f159b55808.patch"
+)
b2sums=('7f20de8ff834455fc1086eb34adf3123fc7a1ec467ea6fa4f162d2bb8de7af7339c205a246a743fec3100937c91bc53c2a677ae1bad57a22199c8b071e511f59'
-
'9bc603ac82c4b2c8bf1263e7d24205f7445b265da16c21935f58c651c5ed78fdb81d00565a3f2b81415831564b81384cd71c799f58c85bce0445ecdf67b7c3b8')
+
'9bc603ac82c4b2c8bf1263e7d24205f7445b265da16c21935f58c651c5ed78fdb81d00565a3f2b81415831564b81384cd71c799f58c85bce0445ecdf67b7c3b8'
+
'578da1c06ec36cef9706b9953a677eb26c96dbb4f67871d8a7617152f25310b413515510289e51b410a04c261c504f50711d1547618a377bdf8bc9d881afd26b')
# XXX if this is moved to build, tests fail.
# there must be some environment variables that
@@ -44,6 +48,9 @@ prepare() {
# probably related to chroot environment but unrelated to bear::func tests
which are not even executed
patch -d "$pkgname" -p1 -i ../disable-lit-tests.patch
+ # Fix fmt v11 compatibility
+ patch -d "$pkgname" -p1 -i ../fmt-v11.patch
+
cmake \
-B build \
-S "$pkgname" \
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/bear/-/commit/3825566558b127fe17995c5a67b9e1115c89f82a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/bear/-/commit/3825566558b127fe17995c5a67b9e1115c89f82a
You're receiving this email because of your account on gitlab.archlinux.org.