mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
distributable:
|
|
url: https://download.gnome.org/sources/librsvg/{{ version.major }}.{{ version.minor }}/librsvg-{{ version }}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: GNOME/librsvg/tags
|
|
ignore: [2.55.90] # https://gitlab.gnome.org/GNOME/librsvg/-/issues/923 - sigh
|
|
|
|
dependencies:
|
|
cairographics.org: ^1.18
|
|
gnome.org/pango: 1
|
|
gnome.org/gdk-pixbuf: 2
|
|
gnome.org/glib: 2
|
|
gnu.org/gettext: ^0.21
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org/cargo: 0
|
|
rust-lang.org: ^1.63
|
|
freedesktop.org/pkg-config: ^0.29
|
|
gnome.org/gobject-introspection: 1
|
|
python.org: '>=3<3.12'
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{hw.concurrency}} install
|
|
|
|
- run: |
|
|
mv librsvg-{{version.major}}.0/* .
|
|
rmdir librsvg-{{version.major}}.0
|
|
ln -s . librsvg-{{version.major}}.0
|
|
working-directory: ${{prefix}}/include
|
|
env:
|
|
ARGS:
|
|
- --prefix={{ prefix }}
|
|
- --enable-pixbuf-loader=yes
|
|
- --enable-introspection=yes
|
|
- --disable-Bsymbolic
|
|
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: ^0.29
|
|
script: |
|
|
cc test.c -lrsvg-{{version.major}}
|
|
./a.out
|
|
|
|
provides:
|
|
- bin/rsvg-convert
|