Update package version to 0.9.0
This commit is contained in:
+4
-1
@@ -6,4 +6,7 @@ REPO="jbeder/yaml-cpp"
|
|||||||
# Get tag name using Github Rest API
|
# Get tag name using Github Rest API
|
||||||
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
echo "$TAG_NAME"
|
# Trim prefix
|
||||||
|
VERSION=${TAG_NAME//yaml-cpp-/}
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
name: yaml-cpp
|
name: yaml-cpp
|
||||||
description: A YAML parser and emitter in C++
|
description: A YAML parser and emitter in C++
|
||||||
version: 0.8.0
|
version: 0.9.0
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://github.com/jbeder/yaml-cpp
|
url: https://github.com/jbeder/yaml-cpp
|
||||||
license: MIT
|
license: MIT
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
@@ -12,7 +14,7 @@ depends:
|
|||||||
make_depends:
|
make_depends:
|
||||||
- cmake
|
- cmake
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://github.com/jbeder/yaml-cpp/archive/${BPM_PKG_VERSION}/yaml-cpp-${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-${BPM_PKG_VERSION}/yaml-cpp-${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16
|
checksum: 25cb043240f828a8c51beb830569634bc7ac603978e0f69d6b63558dadefd49a
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
diff --git a/src/emitterutils.cpp b/src/emitterutils.cpp
|
|
||||||
index 6cdf6de..dbd2590 100644
|
|
||||||
--- a/src/emitterutils.cpp
|
|
||||||
+++ b/src/emitterutils.cpp
|
|
||||||
@@ -1,4 +1,5 @@
|
|
||||||
#include <algorithm>
|
|
||||||
+#include <cstdint>
|
|
||||||
#include <iomanip>
|
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
@@ -2,13 +2,6 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for putting downloaded files to the correct location or applying patches
|
|
||||||
prepare() {
|
|
||||||
cd "$BPM_SOURCE"
|
|
||||||
patch -Np1 -i "$BPM_WORKDIR"/fix-gcc-15.1.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
|
|||||||
Reference in New Issue
Block a user