Update package version to 2.61.2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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')"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user