From 4a8ae4a3e75c89a895c6d9318f70c0255f18c16f Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 8 Feb 2026 20:14:46 +0200 Subject: [PATCH] Update package version to 0.9.0 --- check-version.sh | 5 ++++- pkg.info | 8 +++++--- source-files/fix-gcc-15.1.patch | 10 ---------- source.sh | 7 ------- 4 files changed, 9 insertions(+), 21 deletions(-) delete mode 100644 source-files/fix-gcc-15.1.patch diff --git a/check-version.sh b/check-version.sh index cf1ac8d..f9f54e9 100644 --- a/check-version.sh +++ b/check-version.sh @@ -6,4 +6,7 @@ REPO="jbeder/yaml-cpp" # 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') -echo "$TAG_NAME" +# Trim prefix +VERSION=${TAG_NAME//yaml-cpp-/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index cd3e1ad..64688c7 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,11 @@ name: yaml-cpp description: A YAML parser and emitter in C++ -version: 0.8.0 +version: 0.9.0 revision: 1 url: https://github.com/jbeder/yaml-cpp license: MIT +maintainers: + - enumdev@enumerated.dev architecture: any type: source depends: @@ -12,7 +14,7 @@ depends: make_depends: - cmake 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_strip_components: 1 - checksum: fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16 + checksum: 25cb043240f828a8c51beb830569634bc7ac603978e0f69d6b63558dadefd49a diff --git a/source-files/fix-gcc-15.1.patch b/source-files/fix-gcc-15.1.patch deleted file mode 100644 index f5768ab..0000000 --- a/source-files/fix-gcc-15.1.patch +++ /dev/null @@ -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 -+#include - #include - #include - diff --git a/source.sh b/source.sh index 1c99262..4af8c5d 100644 --- a/source.sh +++ b/source.sh @@ -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 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 # This function is used to compile the source code build() {