* update yaml-cpp to 0.8.0-2

This commit is contained in:
Alexander Baldeck 2024-07-24 13:36:41 +02:00
parent eb0555c212
commit 638f66241d
3 changed files with 21 additions and 2 deletions

16
yaml-cpp/.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
pkgbase = yaml-cpp
pkgdesc = YAML parser and emitter in C++, written around the YAML 1.2 spec
pkgver = 0.8.0
pkgrel = 2
url = https://github.com/jbeder/yaml-cpp
arch = x86_64
license = MIT
makedepends = cmake
makedepends = ninja
depends = gcc-libs
depends = glibc
provides = libyaml-cpp.so
source = https://github.com/jbeder/yaml-cpp/archive/0.8.0/yaml-cpp-0.8.0.tar.gz
sha512sums = aae9d618f906117d620d63173e95572c738db518f4ff1901a06de2117d8deeb8045f554102ca0ba4735ac0c4d060153a938ef78da3e0da3406d27b8298e5f38e
pkgname = yaml-cpp

3
yaml-cpp/.nvchecker.toml Normal file
View File

@ -0,0 +1,3 @@
[yaml-cpp]
source = "git"
git = "https://github.com/jbeder/yaml-cpp.git"

View File

@ -5,7 +5,7 @@
pkgname=yaml-cpp
pkgver=0.8.0
pkgrel=1
pkgrel=2
pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
url="https://github.com/jbeder/yaml-cpp"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -13,13 +13,13 @@ license=('MIT')
depends=('gcc-libs' 'glibc')
provides=('libyaml-cpp.so')
makedepends=('cmake' 'ninja')
options=(!distcc)
source=("https://github.com/jbeder/yaml-cpp/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('aae9d618f906117d620d63173e95572c738db518f4ff1901a06de2117d8deeb8045f554102ca0ba4735ac0c4d060153a938ef78da3e0da3406d27b8298e5f38e')
build() {
cd ${pkgname}-${pkgver}
export CXXFLAGS+=' -Wno-narrowing'
cmake -GNinja \
-Bbuild \
-DYAML_CPP_BUILD_TESTS=ON \