pantry/projects/cairographics.org/package.yml

68 lines
1.5 KiB
YAML
Raw Normal View History

distributable:
url: https://cairographics.org/releases/cairo-{{ version }}.tar.xz
strip-components: 1
versions:
replace hardcoded versions (mostly) (#1733) * update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
2023-05-01 20:14:59 +03:00
url: https://cairographics.org/releases/
match: /cairo-\d+\.\d+(\.\d+)?\.tar\.xz/
strip:
- /cairo-/
- /.tar.xz/
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
libpng.org: 1
pixman.org: ^0.40.0
freetype.org: 2
gnome.org/glib: 2
freedesktop.org/fontconfig: 2
sourceware.org/bzip2: 1
build:
dependencies:
freedesktop.org/pkg-config: ^0.29
2022-12-08 04:10:37 +03:00
#FIXME or fontconfig detection fails
#FIXME build looks for 2.4.9 even when it has 2.5.0
2022-12-21 02:05:23 +03:00
libexpat.github.io: =2.4.9
gnome.org/gobject-introspection: 1
2022-12-21 02:05:23 +03:00
gnu.org/libtool: ^2
mesonbuild.com: ^1
ninja-build.org: ^1
2023-09-23 17:05:41 +03:00
script:
- run: |
./configure --prefix={{ prefix }} --disable-dependency-tracking
make --jobs {{ hw.concurrency }}
make install
if: <1.18.0
2023-09-23 17:05:41 +03:00
- run: |
meson setup build --prefix={{ prefix }} --buildtype=release
ninja -C build
ninja -C build install
if: '>=1.18.0'
- rm -rf {{prefix}}/share # docs are online
- run: |
mv cairo/* .
rmdir cairo
ln -s . cairo
working-directory: ${{ prefix }}/include
- run: |
mv cairo/* .
rmdir cairo
ln -s . cairo
working-directory: ${{ prefix }}/lib
2022-09-02 17:57:48 +03:00
test:
dependencies:
tea.xyz/gx/cc: c99
2023-09-23 17:05:41 +03:00
script:
- cc test.c -lcairo
- ./a.out
2022-12-05 22:10:34 +03:00
provides:
- bin/cairo-trace