From 4b8c2f0a711793db5ec969f7a0fd90095aa7f1ba Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 23 Oct 2025 20:00:24 +0300 Subject: [PATCH] Update package version to 2.61.2 --- pkg.info | 29 +++++++++++++++++++++++++---- source.sh | 8 +------- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 1184739..83fce29 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,31 @@ name: librsvg description: SVG rendering library -version: 2.61.1 -revision: 2 +version: 2.61.2 +revision: 1 url: https://wiki.gnome.org/Projects/LibRsvg license: LGPL2.1-or-later architecture: any -depends: ["cairo", "dav1d", "freetype2", "gcc-libs", "gdk-pixbuf", "glib", "glibc", "harfbuzz", "libxml2", "pango"] -make_depends: ["cargo-c","gobject-introspection", "llvm", "meson", "rustc", "vala"] type: source +depends: + - cairo + - dav1d + - freetype2 + - gcc-libs + - gdk-pixbuf + - glib + - glibc + - harfbuzz + - libxml2 + - pango +make_depends: + - cargo-c + - gobject-introspection + - llvm + - meson + - rustc + - vala +downloads: + - url: https://download.gnome.org/sources/librsvg/${BPM_PKG_VERSION%.*}/librsvg-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 4644d83623dd61cc4479c2b3c372e1da2b281552ebc90035c8d1ac502eb1dc00 diff --git a/source.sh b/source.sh index d9c9926..9a8e63b 100644 --- a/source.sh +++ b/source.sh @@ -2,15 +2,9 @@ # 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 -DOWNLOAD="https://download.gnome.org/sources/librsvg/${BPM_PKG_VERSION%.*}/librsvg-${BPM_PKG_VERSION}.tar.xz" -FILENAME="${DOWNLOAD##*/}" - # The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cd "$BPM_SOURCE" cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" }