2022-08-22 15:37:13 +03:00
|
|
|
distributable:
|
|
|
|
url: https://download.gnome.org/sources/librsvg/{{ version.major }}.{{ version.minor }}/librsvg-{{ version }}.tar.xz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: GNOME/librsvg/tags
|
2024-04-17 23:41:37 +03:00
|
|
|
ignore: [x.y.90] # betas
|
2022-08-22 15:37:13 +03:00
|
|
|
|
|
|
|
dependencies:
|
2023-09-23 17:36:32 +03:00
|
|
|
cairographics.org: ^1.18
|
2022-08-22 15:37:13 +03:00
|
|
|
gnome.org/pango: 1
|
|
|
|
gnome.org/gdk-pixbuf: 2
|
|
|
|
gnome.org/glib: 2
|
|
|
|
gnu.org/gettext: ^0.21
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2022-12-21 03:45:34 +03:00
|
|
|
rust-lang.org/cargo: 0
|
|
|
|
rust-lang.org: ^1.63
|
2022-08-22 15:37:13 +03:00
|
|
|
freedesktop.org/pkg-config: ^0.29
|
|
|
|
gnome.org/gobject-introspection: 1
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: '>=3<3.12'
|
2023-09-23 17:36:32 +03:00
|
|
|
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
|
2022-08-22 15:37:13 +03:00
|
|
|
|
2022-09-02 17:51:31 +03:00
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
freedesktop.org/pkg-config: ^0.29
|
|
|
|
script: |
|
2023-09-23 17:36:32 +03:00
|
|
|
cc test.c -lrsvg-{{version.major}}
|
2022-09-02 17:51:31 +03:00
|
|
|
./a.out
|
2022-12-05 22:10:34 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/rsvg-convert
|